At 04:36 PM 7/2/2002 -0400, you wrote: >We have 100's of thousands of trees without a memory issue. We use shared >groups and links for all trees, boulders and other objects throughout the >world. We have not seen an explosion of memory, but at the same time we use >a spatial grid for managing all the objects and are constantly reusing what >we call PositionedNodes (TG -> BG -> Link -> SG) over and over again.
Could you please post a code snippet show how your spatial grid manage all the objects? > We use an imposter >system to show trees at a distance, but each tree imposter is just part of >one huge geometry array that we update on every frame, not its own seperate >instance. I am curious how you did this. How did you set the part of the geometry array to a tree? Thank you in advance! Lan >Dave > > >-----Original Message----- >From: Joerg 'Herkules' Plewe [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, July 02, 2002 4:06 PM >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] Trouble with Link/SharedGroup - is it a Java3D >bug?? > > >Hm, nobody seems to be interested in this topic. Does someone here actually >USE SharedGroups? > >If not, how do you distribute e.g. thousends of trees on a terrain? Cloning? >I think cloning might be good as long as the object in question consists of >a single group. But in case it's more complex.... > >Additionally, the behavior I observer looks slightly like a bug. I could >provide an example program if somebody wants me to. > >Is there any additionaly information in Links/SharedGroups? > > >----- Original Message ----- >From: "Joerg 'Herkules' Plewe" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Saturday, June 29, 2002 5:40 PM >Subject: [JAVA3D] Trouble with Link/SharedGroup > > > > Hi All! > > > > I have some difficulty understanding the behavior of a Link/SharedGroup > > construct in the scenegraph. > > I need to deploy lots of identical objects to a scene (e.g. tanks, >soldiers) > > and thought that placing the object into a SharedGroup and using it with > > combinations of TransformGroup and Link nodes. > > This should save a lot of memory. Now, trying it, memory consumption > > EXPLODED!!! > > > >=========================================================================== >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". > >=========================================================================== >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". Lan Wu-Cavener Dept. of Landscape Architecture =========================================================================== 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".