Andrzej Kapolka
2728af5059
Skinning optimizations: order vertices by weight groups, compute mesh
...
space bone transforms only once per mesh per bone (rather than each time
the bone appears in a weight group), low level fiddling. Also changed
the exporters to export everything, regardless of what's selected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4081 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 04:27:49 +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
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
60591a85ee
Attach meshes under nodes so that they can be used as parents.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4055 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-25 02:26:07 +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
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