Andrzej Kapolka
3a7fe70124
Clear out original-to-copy mapping after creating copy so that we don't
...
prevent the last copy from being garbage collected.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4156 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-30 16:09:14 +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
c8fa910ffe
Notify listeners that the old animation was cancelled when we start a
...
new one.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4093 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-05 22:17:36 +00:00
Andrzej Kapolka
f3bb8d93db
Copy the animation list when cloning.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4083 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-03 00:04:41 +00:00
Andrzej Kapolka
b4eacdbf0e
Further low-level tweaking.
...
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4082 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-02 23:06:38 +00:00
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
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
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
8d87138d2a
JME's multAcross was multiplying by the transpose. Added a method to
...
multiply normals by the rotation submatrix instead.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4057 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-25 18:48:11 +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
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
d544f127a4
Added object offsets to exporters, converted tabs to spaces, added
...
method to get model nodes anywhere in the hierarchy by name, update
model bounds in SkinMesh after deforming mesh.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4038 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-04-20 02:04:56 +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