Importing animated camera (JSON)

Guys, sorry if this question was already asked before…
I created and animated a camera in 3dsmax, and then exported via JSON whole scene.
Can assign imported camera to display scene in browser?

Are there similar examples? Tnx.

If you export as FBX and then use the FBXLoader, the camera should be there.
See this example for set up.

loader.load( 'yourmodel.fbx', function ( object ) {

If you check object.children, one of the children should be the camera and you can use it as you normally would:

renderer.render( scene, yourLoadedCamera )

Make sure that you check the box to export cameras in the FBX export dialogue in 3ds Max.

By the way, the 3ds JSON exporter is no longer supported.

1 Like