At 7:19 AM -0700 4/4/06, Lo Saeteurn wrote:
It is not using RB's trimesh class. There are a few problems with
switching because I need to be able to change shape for to switch
level of details. Any idea how I can do this (addshape from trimesh
would be nice)?
Just remove one Trimesh and add another.
Would using groups be an efficient solution? Since nearly every 3d
object in this game is an animation3D instance, wouldn't it be bad
to make them all group3Ds?
No, that'd be fine. Then you can easily remove one mesh from the
group and add another to change the LOD, and your code won't need to
know anything about where (or even whether) the group is being used.
Seems like a good design to me.
But don't forget you'll need to wait for the next release (which
should be coming real soon now, I would think) for
VectorList.MultiplyAllBy to work.
Best,
- Joe
--
Joseph J. Strout
joe at strout dot net
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|