PDA

View Full Version : executable - removing models


Dave
05-12-2008, 04:01 AM
Hi - just a quick one. We are creating 2 tours around a virtual mediaeval abbey which will run consecutively. The models that have been created are large and so my plan was to load one half of the buildings, do the tour around them, then during the 'interval' load the other half of the buildings, remove the first buildings and do the second tour. I figured that having only half of the buildings loaded would reduce the amount of RAM taken and the CPU load and help to speed up the model. However, if I save the routine as an executable will this still work? Are all the models loaded into memory when the executable is run or is there somehow a part of the executable file that keeps the models on the disc until the viz.add command is run?
Thanks.

farshizzo
05-12-2008, 12:09 PM
What you are doing should work just fine as a published EXE. When you run an EXE it will extract all the files to a temp folder and run from there, so nothing is loaded into memory until your script explicitly loads it.

Dave
05-13-2008, 02:58 AM
Great - thanks farshizzo