Commit Graph

9 Commits

Author SHA1 Message Date
Andrzej Kapolka fd06ed1481 Added support for model variants: subconfigurations with different
textures, etc., that share the same mesh and animations.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@49 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-11 18:42:48 +00:00
Andrzej Kapolka c6f1691bb7 OK, in this case the problem existed mostly between my keyboard and my
chair.  I better get that fixed.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@46 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-09 21:43:49 +00:00
Andrzej Kapolka 37e93d30c7 Rather than trying to invert the model transform, just recompute the
bounds after temporarily setting the transform to identity.  I think 
there are still issues with JME's bounding volume transformations, but 
they seem to err on the side of larger bounding volumes.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@45 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-10-09 18:53:41 +00:00
Andrzej Kapolka a1a7e349bb Don't use Matrix4f.invert; something broke when I updated JME, and the
bounds weren't being recorded correctly (hence they were interpreted as 
out of view when they weren't, and the models failed to appear).


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@42 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-09-11 17:25:41 +00:00
Andrzej Kapolka 4a4f9755c8 Exclude animation transform targets when locking immobile models.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@28 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-22 22:20:47 +00:00
Andrzej Kapolka 7f92496425 Hide nodes not included as targets in an animation. I haven't tested
all the units with this; there's a chance some of the animations will 
have to be re-exported if they mistakenly omit nodes.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@24 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-03 18:21:28 +00:00
Andrzej Kapolka 4948b4c2fc Use a different flag than CULL_ALWAYS to indicate that nodes have no
mesh descendants so that marker geometries can start effects going.  
Added an option for controllers to avoid accumulating time when 
offscreen in order to avoid systems' overcompensating for lost time.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@22 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-08-02 23:52:42 +00:00
Mark Johnson 56a74d5f0e - Can start an animation at any frame
- Can stat animations running forwards or backwards
- Can reverse the flow of an animation
- Can pause and resume animations


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@7 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-24 01:21:57 +00:00
Michael Bayne c2117ee86d Behold, Nenya, Ring of Water and repository for our media and animation related
goodies, both Java 2D and LWJGL/JME 3D.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1 ed5b42cb-e716-0410-a449-f6a68f950b19
2006-06-23 18:07:28 +00:00