PDA

View Full Version : any reason to erase() unneeded cast members?


dsdsdsdsd
01-17-2005, 08:27 PM
hello;

I have a dozen movie script cast members that are only used for the initial setup of my movie;

does it make good sense to erase() them when I am finished with them or does it not negatively affect the performance of the movie?

any thoughts;

thanks
Shannon Burnett
Asheville NC USA

MentalFish
01-17-2005, 11:50 PM
I guess that depends a bit on the size of the cast members. What type of cast members are they and how large in bytes?

Original1
01-18-2005, 05:42 AM
The scripts themselves take up next to no space, The object they create may use some memory but if they are used throughout the movie you need them.

Use the memory inspector panel to monitor memory usage.

In general Director memory management is used on larger assets like Bitmaps etc. and in most cases DIrector can be left to its own devices.

The creation of objects etc is however a different matter make sure they clean up afterthemselves.

waterpearl
01-18-2005, 10:03 AM
original1, thanks for responding;

I am unfamiliar with a memory inspector, I will look inti it;

you mentioned objects; does that imply "construction" .w3d's that are used ONLY at setup, ie:the "construction" .w3d's objects are cloned into the "primary" 3dworld during setup, then the "construction" .w3d's are never used again?

Petterems; thanks for responding; each of the 12 movie script cast members are about 6000 characters (200 lines) of text; they are scripts of functions that are called by the preparemovie script; once setup is complete I do not use them again;

thanks;
Shannon burnett
Asheville NC USA

MentalFish
01-19-2005, 02:18 PM
Just let them be, there isnt much speed gain for removing them. If we were doing assembly programming back in 1985 it would make a difference, but not today :)