<!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 also want to unload the heavy object if they back away from it?
You will likely worry about<br>
leaking memory. Vivaty has a history of such leaks, I do hope they've
fixed them.<br>
<br>
That said, I have had VERY good luck with BitManagement doing exactly
all this.<br>
<br>
Also, there are some 'smart' loader PROTO's out there, which will only
load the asset when you<br>
tell it to, and will unload it as well. That's the way I'd try next if
I were you. Google 'smart inline proto'<br>
<br>
Dave A.<br>
<br>
Barry Nauta wrote:
<blockquote
 cite="mid:31c699ec0911111121u6ef04f17qfc39ca7f9a4ab19@mail.gmail.com"
 type="cite">I have been playing with LOD, but that is not a viable
solution.<br>
  <br>
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.<br>
  <br>
The only player that really works for me is Vivaty. Octaga simply
doesn't load and BitManagement doesn't support the SAI...<br>
  <br>
Barry<br>
  <br>
  <div class="gmail_quote">On Wed, Nov 11, 2009 at 8:15 PM, Dave <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:dave@realmofconcepts.com">dave@realmofconcepts.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div 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 type="cite">
      <div>
      <div class="h5">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>
      </div>
      </div>
      <pre><hr size="4" width="90%">
_______________________________________________
X3D-Public mailing list
<a moz-do-not-send="true" href="mailto:X3D-Public@web3d.org"
 target="_blank">X3D-Public@web3d.org</a>
<a moz-do-not-send="true"
 href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org"
 target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a>
  </pre>
    </blockquote>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>