Thread: viz.remove ?
View Single Post
  #1  
Old 02-09-2005, 12:26 PM
shai shai is offline
Member
 
Join Date: Oct 2004
Posts: 29
viz.remove ?

hi, i'd like the variable 'scene' to change every once in awhile:

scene=viz.add(world1.wrl)

then with a certain keypress i'll have:

scene=viz.add(world2.wrl)

the question is, every time i do a ".add" it loads a .wrl, if i do this thousands of times won't my memory go berserk. i mean, isn't there a .remove i can do to release memory. for example, if i load world2.wrl , i don't want world1.wrl to be in memory anymore.

thanks,
shai
Reply With Quote