Page 1 of 1

removing object movie

Posted: Thu Apr 15, 2010 3:11 am
by filepark
to remove a panorama I have to use the following code: vr.cleanup(); removeChild(loader);
How can I remove object movie created in Object2VR? What is the code?

Re: removing object movie

Posted: Thu Apr 15, 2010 8:17 am
by erik leeman
Does vr.cleanup(); removeChild(loader); work for you? Did you actually check?
For me (and I think a lot of others) it doesn't, so that would be interesting.
I had to add code to erase the bitmap data from memory of all six cube faces individually to have some effect.

Perhaps something similar can be done to the images that make an object movie.
It would at least release most of the memory occupied by it.

Erik

Re: removing object movie

Posted: Tue May 04, 2010 2:26 am
by filepark
Thank you Erik, I’ve read your previous messages - very useful.