Commit Graph

13 Commits

Author SHA1 Message Date
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 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 01caf5cca6 Revised exporter coordinate systems, updated emitter positioning.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4060 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-26 02:59:55 +00:00
Andrzej Kapolka e5496065dc Updates for emission handling.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4050 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-24 18:08:44 +00:00
Andrzej Kapolka f6608ea528 Merging the procedural animation controllers and emitters into Model
functionality, so that they will be visible in the model viewer.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4046 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-21 23:10:23 +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