<!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">
Google around. You should be able to find lots of examples of using
BM's API regardless.<br>
Used to be you could see a lot of it online and in the clear, but
details were hidden by<br>
subscription. They just updated their website, so I don't know if
that's still true.<br>
Dave A<br>
<br>
Barry Nauta wrote:
<blockquote
 cite="mid:31c699ec0911111133i45cb26ah7d6ad5ca860ba165@mail.gmail.com"
 type="cite">Thanks for all the fast replies!<br>
  <br>
Here is how I worked with the LODs<br>
  <br>
&nbsp; &lt;Scene&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;Viewpoint description='View' position='0 0 10'/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;LOD range='5'&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Inline DEF='ref1' url='lowres.x3d'/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Inline DEF='ref2' url='hires.x3d'/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/LOD&gt;<br>
&nbsp; &lt;/Scene&gt;<br>
  <br>
(The console clearly shows that both scenes are directly loaded upon
launch)<br>
  <br>
The problem with BitManagement is that you have to subscribe (==
payment) to get access to their api (unless I am mistaken). <br>
Their API is closed and that is an additional drawback, I am working on
my master thesis, open protocols are favored over closed ones.<br>
  <br>
I will search for PROTOs, thanks for the suggestion!<br>
  <br>
Kind regards,<br>
Barry<br>
  <br>
  <div class="gmail_quote">On Wed, Nov 11, 2009 at 8:29 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 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'
    <div class="im"><br>
    <br>
Dave A.<br>
    <br>
Barry Nauta wrote:
    <blockquote 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" target="_blank">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>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>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
</blockquote>
</body>
</html>