[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [x3d-public] unload x3d file to load another with SAI



Nuno Martins wrote:

Hi

I'm loading a x3d file in xj3d using SAI but, now I need to unload one
file to load another.

Must I unload the initial x3d file to load the other, or simply replace?

To load the first x3d I use the following code, to load the next file
I simply use the same code but with different URL, is this done
correctly? One world is loaded in top of the other…

I'm getting one bug that I think will not happen if the first world is
unloaded and next load the second world, but I don't know how to do
that.



replaceWorld should remove the contents of the previous one. Is it not removing the old world? If so, can you send a full test case.

I just tried a local test and it works for primitives at least.
-------------------------------------------------------------------------
for list subscription/unsubscription,
go to http://www.web3d.org/cgi-bin/public_list_signup/lwgate/listsavail.html