<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Do you want to replace the entire scene, or just that one object within
the scene? I would think the latter,<br>
in which case you wouldn't removeRootNode, but just the node in
question. You might also do this with <br>
a Switch or LOD, might be easier on you.<br>
<br>
I have found it greatly depends on which player you are using whether
this stuff works at all. Which are<br>
you using?<br>
<br>
Dave A.<br>
<br>
Barry Nauta wrote:
<blockquote
 cite="mid:31c699ec0911111107w534ec414g4d981ae48e71c307@mail.gmail.com"
 type="cite">Hi all,<br>
  <br>
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.<br>
  <br>
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.<br>
  <br>
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...<br>
  <br>
Anyone any suggestions?<br>
  <br>
Thanks,<br>
Barry<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
X3D-Public mailing list
<a class="moz-txt-link-abbreviated" href="mailto:X3D-Public@web3d.org">X3D-Public@web3d.org</a>
<a class="moz-txt-link-freetext" href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
  </pre>
</blockquote>
</body>
</html>