At 8:34 AM -0400 5/17/05, Joseph Nastasi wrote:
If an Object3D is just a masked picture, does using clone really
save anything?
Absolutely!
The docs speak only of geometry. Or is a picture still considered geometry?
Yes, it is, and it's the most important sort of geometry -- a
texture. The main point of Object3D.Clone is to get the textures
sent to the video card only once even though you may be using them
dozens of times on dozens of objects. There may be some savings in
sharing the actual triangle list too, but even if so, that's paltry
compared to the texture data.
So, yes, you certainly want to clone a masked picture if you need to
use it in multiple places.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
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>
|