View Single Post
  #1  
Old 06-10-2008, 01:39 AM
dan12345 dan12345 is offline
Member
 
Join Date: Jan 2008
Posts: 58
optimizing the loading of .wrl files

Hi
I'm trying to program an enviorment that supports adding multiple
instances of a .wrl image ( around 100-150 , and dynamically, during
the run of the program ).
The problem is that it takes a very long time and disrupts the flow of the program

adding for example 50 such objects using the "node3d.add(nameOfWlr)" takes about 5 seconds - it just seems a bit wasteful, since it is always the same .wrl file, and each time it loads it anew from the file into vizard. Is there any way to optimize this?
thanks
dan
Reply With Quote