Sorry if you get this again, I seem to have intermitant problems posting to this list.




I'm feeling with drawl symptoms from j3d.org already. :)

Can someone confirm for me how you go about 'reusing geometry' in order to reduce 
memory usage.

What I've tried is;

newNode = node.cloneTree();
newNode.setAppearance(app);
addchild(newNode);

I had 4 basic source nodes with 3 different appearances for each to build 300 objects 
in my scene.

When I tried the above instead of "newNode = new Sphere(...);" I didn't see any 
difference in the run time memory usage.

Is it because I'm using the basic Sun Sphere() ?

I couldn't find *any* examples in my collection that used "cloneTree" but that's the 
only function I've found that might help.

Cheers,
            Jason. 

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to