rohapa Posted April 12, 2017 Share Posted April 12, 2017 Hello! I having a problem with the exporter from 3ds max, where there is animation on the camera. I export the scene to babylon.js but the rotation keyframes are not showing up. Is there a reason for this? I have the 3ds max and the exported babylon file. I would appreciate any help for this issue. Thanks camera.babylon trex-cameras.max Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted April 13, 2017 Share Posted April 13, 2017 hello this is "expected" as only position and target animations are supported so far Quote Link to comment Share on other sites More sharing options...
Wingnut Posted April 14, 2017 Share Posted April 14, 2017 Hi guys, welcome @rohapa. May I add... ...cameras can be parented to (invisible) mesh. Here is a fancy playground that uses this method. http://www.babylonjs-playground.com/#2FD2SC#0 MOVE mouse left-right (atop canvas), and see the camera z-rotate (banking), an unusual movement for any BJS camera. A blank AbstractMesh named node is being used as the camera 'gizmo' (see line 45). DRAG left - right... to change the direction of node and thus, also change the direction of the camera. In the renderLoop (lines 66-76), lots of manipulation happens to node, which automatically affects node's child... the camera. Point is, you can animate a box (or plane or blank mesh) in ANY way, and that mesh CAN be a parent of a camera. This method opens ALL avenues for camera animation. Ok byeeeeeee. GameMonetize and rohapa 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.