[X3D-Public] Remove dynamically added scenes

Richard F. Puk puk at igraphics.com
Wed Nov 11 11:20:57 PST 2009


Hi, Barry -

 

Have you thought about using either an LOD node or a Switch node?

 

  -- Dick

 

/******************************************

| Richard F. Puk, Ph.D., President
| Intelligraphics Incorporated

| 7644 Cortina Court, Carlsbad, CA  92009-8206

| Tel:  +1-760-753-9027   Cell:  +1-760-809-9027

| E-mail:  puk at igraphics.com

| Web:  http://www.igraphics.com/

\******************************************

 

 

 

From: x3d-public-bounces at web3d.org [mailto:x3d-public-bounces at web3d.org] On
Behalf Of Barry Nauta
Sent: Wednesday, November 11, 2009 11:07 AM
To: x3d-public at web3d.org
Subject: [X3D-Public] Remove dynamically added scenes

 

Hi all,

Following the ajax3d guidelines, I dynamically add scenes, the goal is to
display buildings. All the buildings are initially boxes. Upon selection of
one of the buildings, I would like to change the viewpoint to this building
(this works) and replace the selected building by a new one, one with a much
higher resoltion.

To do this, I would like to remove the old version of the building and add
the new one, or perform some sort of replace. The problem is that I have no
clue how to do this.

I have a reference to the scene, but there is no "browser.removeScene" call.
I have tried it with a call to removeRootNode, but that doesn't work...

Anyone any suggestions?

Thanks,
Barry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20091111/a0e20bec/attachment-0001.html>


More information about the X3D-Public mailing list