|
From: Keith W. <kw...@cs...> - 2004-06-15 14:25:06
|
James W. Walker wrote: > On Jun 14, 2004, at 10:35 PM, Keith Wiley wrote: > > >> And likewise, I could take individual trees after opening them into >> the program and combine them into a single object. Right? > > > Yes, that's possible. > >> I'll study the trimesh code. I guess what would be nice is to only >> have the trimesh stored once and then specify that it is simply >> placed in the world multiple times. Is that on the right track? > > > That's different. If you have multiple references to the same > TriMesh, with different transforms, then it will save memory, but not > help with speed. Oh, okay, then I'm still not sure *how* precisely to combine objects as per the first half of the above posts. So I open a 3DMF file of a tree into an object. Then I clone or copy that tree and move the individual clones to different locations in the forest (or I could open the file multiple times, once per tree, I don't think it matters, Queeg has an Object cloning routine is all I'm saying). Then I want to combine all these different trees (from the same 3DMF model) into a single "object". How is that done exactly? ________________________________________________________________________ Keith Wiley kw...@cs... http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley "Yet mark his perfect self-contentment, and hence learn his lesson, that to be self-contented is to be vile and ignorant, and that to aspire is better than to be blindly and impotently happy." -- Edwin A. Abbott, Flatland ________________________________________________________________________ |