blender-to-threejs-export-guide icon indicating copy to clipboard operation
blender-to-threejs-export-guide copied to clipboard

Is it possible to export camera animation?

Open geohuz opened this issue 6 years ago • 2 comments

I made camera animation which is moving along a path using track to (object) and follow the path constraint in blender, now i'm wondering if I can export the animation to gltf? I've tried several tips from stack overflow but failed

geohuz avatar Apr 12 '19 14:04 geohuz

Does the camera export at all? I've had trouble getting cameras to export in the past and instead just exported an empty and added my camera to that once loaded inside the three.js scene.

Have you tested it with the gltf viewer? https://gltf-viewer.donmccurdy.com/

funwithtriangles avatar Apr 12 '19 15:04 funwithtriangles

I finally figure out by selecting the camera and bake action with visual keying and clear parents selected, then export to gltf, selecting cameras under the objects tab, selecting always sample animations under the animations tab. Finally choose the camera in the gltf viewer.

geohuz avatar Apr 13 '19 02:04 geohuz