[X3D-Public] Remove dynamically added scenes
bjcjackson at gmail.com
Thu Nov 26 06:09:52 PST 2009
Hello, I had a similar issue as i needed to dynamically control the
scene-graph in Octaga in a way that LODs and Switches didn't. It took quite
a lot of solving for me, my solution was to make a grouping node that
parented all of the content in my scene, then i wrote scripts that could
control the children of that node. This involved a bit of recursion, as in
order to remove the all the children (including routes etc..) I had to get
references to them as it didn't work to simply reference the MFNode that
contained the kids.
Hope that helps
On Thu, Nov 12, 2009 at 4:27 AM, Tom Sparks <tom_a_sparks at yahoo.com.au>wrote:
> > > I have
> > > been playing with
> > > LOD, but that is not a viable solution.
> > >
> > >
> > >
> > > The initial buildings are boxes, because the hires
> > versions
> > > are heavy,
> > > varying
> > > from a 100k to 300k per building. LOD preloads the
> > > different scenes,
> > > which
> > > would be unworkable.
> have you tried GeoLOD?
> I am in the same boat, why cant this be made a standard
> feature to LODing node?
> tom sparks
> Get more done like never before with Yahoo!7 Mail.
> Learn more: http://au.overview.mail.yahoo.com/
> X3D-Public mailing list
> X3D-Public at web3d.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the X3D-Public