I guess nobody bit on this. I have read that others have had problems running out of memory while runing animations as the memory used climbs after every iteration. Even models that don't take up almost the whole allotted memory during the the render will eventually run into the memory barrier.
I was able to run all 406 iterations last night on my animation of my model. The first frame took 1,310MB of RAM (seems like two renders are used one during the object movements and the second for file frame creation. I believe the second one will not accumulate the memory leak and that is why I don't have problems when doing camera movement only renders. After about 300 frames TurboCAD used only about 1,396,MB of RAM. It never crashed until all renders were done and the Application restarted. It did take longer to run the animation however, but beats doing it manually which is what I used to do.
I hope this makes sense to people that have experience with Animation Lab. For those with more experience than me, and there are a lot of you, if there is an easier way of doing this without simplifing the model too much please tell me. I have seen amazing renders on this site.
Here is the code I put in the script:
// Copy this code into the script section of Animation Lab 4.4
// to force rendering into wireframe to recollect lost memory
// from Lightworks Engine memory leaks.
// Animation Lab seems to Render the drawing twice,
// once on each step after a movement of an object
// and during file frame creation.
// Untested: One step scenario's enter a scrpt which will need
// to be modified by adding below code to the StepCustomAction Sub
// It is best to Set Options to not check syntax before as that can cause
// many unnecessary iterations of the code
// TODO your code
// TODO your code
//RefreshEveryXFrames should = StepNum to refresh on every iteration otherwise any integer greater than one 2,3,4,5,10...
If StepNum<>0 then
If StepNum mod RefreshEveryXFrames=0 then
//RenderMode=0 is wireframe render
//RenderMode=4 is Full Render
« Last Edit: May 18, 2010, 06:59:55 PM by Johnny_Law »
TurboCAD v19 Platinum - 64bit
Windows 7 Ultimate - 64bit
Intel i7 - x980 (3.33 GHz 6 duo-core)
12GB RAM, ATI 5570 w/1GB VRAM, 2TB 7200rpm HDD
Fast but not the fastest...