Commit Graph

17 Commits

Author SHA1 Message Date
Andrzej Kapolka b7ca8f50f4 Changed animations to allow support for morph style (linear blend
between deformed meshes) and flipbook style (simple switch between 
deformed meshes) in addition to skin style (meshes deformed in real 
time).  Currently, the resolution is the same as the animation frame 
rate.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4176 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 23:00:43 +00:00
Andrzej Kapolka e3f54a52bb Added ability to quantize animations to a set of preskinned meshes.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4172 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-06-06 01:37:34 +00:00
Andrzej Kapolka 69c20acd43 Brought things up to date with the latest JME code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4162 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-31 02:21:04 +00:00
Andrzej Kapolka 8e42599c6d Added method to fast-forward animations, beginnings of support for model
variants.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4102 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-08 23:30:07 +00:00
Andrzej Kapolka 28659209cd Instead of computing model bounds after loading, compute them at compile
time and store them with the model.  For skinned meshes, run through 
every frame of every animation as they're compiled in order to find the 
bounding volume that encloses every deformation.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4080 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 00:17:20 +00:00
Andrzej Kapolka 2df0c56f2a Various performance tweaks: cull nodes with no mesh children, allow
locking the transforms and bounds of models whose positions will not 
change, skip/postpone updates for models that aren't in view.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4078 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-29 03:24:15 +00:00
Andrzej Kapolka ecee4e292e Various tweaks, plus prune nodes with no geometry descendants that
aren't used as bones in models.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4074 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 04:21:30 +00:00
Andrzej Kapolka 33ab4146c8 Misc. fixes, added random texture selection to models.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4073 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-28 01:47:49 +00:00
Andrzej Kapolka e20ec412f1 Fixes for cases where there's no texture, DisplaySystem.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4066 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 22:38:46 +00:00
Andrzej Kapolka e6ac65fd11 Fixed texture wrapping, meshes as bones, wrap/cycle mixup.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4063 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 21:06:03 +00:00
Andrzej Kapolka 762e85dd44 Strip path information from textures in model files, recenter meshes
about their bounding volume centers.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4061 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 19:31:13 +00:00
Andrzej Kapolka 2f1a10c911 Export back face culling flag, textures, and transparency flag.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4052 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-24 22:07:47 +00:00
Andrzej Kapolka f703f1aab3 Various fixes, added support for model instancing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4035 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 23:22:45 +00:00
Andrzej Kapolka a0ff0d1457 Skinned animation now works, although there are still some optimizations
to be made.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4027 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-18 01:36:19 +00:00
Andrzej Kapolka 3c6ac7ac67 Further progress: texturing, compiling animations.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4020 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-14 03:26:50 +00:00
Andrzej Kapolka 39ca0f4ed9 Further progress on model revamp. Now loading and viewing static
models.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4017 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-13 20:47:06 +00:00
Andrzej Kapolka bb32d03c66 Checkpoint checkin for new model exporting/loading/animating code.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4013 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-12 03:34:10 +00:00