jsc3d
jsc3d copied to clipboard
Support for Step-to-Step Animation
More of a support functionality request.
I was wondering if there would be any support to take an .obj model and do
Step-to-Step animation.
Example:
Object: Box with lid, apple inside
Animation:
Button Action 1: Remove lid Animation
Button Action 2: Remove Apple from Box (x,y,z control)
I see in the example there is the ability to run an animation:
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/md2viewer.html
Any chance there is a way to run an animation once -
Original issue reported on code.google.com by [email protected] on 8 Mar 2014 at 7:13
The example you mentioned seems to be hierarchical animation, which is hard to
support in Jsc3d for the lack of an object hierarchy in its implementation. As
you can see in Jsc3d, all the meshes are placed plainly under a scene object.
It neither adopts a scenegraph structure nor has attached matrices for each
mesh, which is key to hierarchical animation.
In contrast, MD2 is based on keyframe animation. It can be easily applied in
Jsc3d by simply replacing content in vertex buffers frame by frame.
Original comment by [email protected] on 8 Mar 2014 at 12:42