3D cast members memory load 2004-03-03 - By ak.padovani@(protected)
Back Hi! I've got a memory issue for shocwave3D cms (cast members).
My app loads 3D castlibs (castlibs of 3D cms) dynamically form local disk. She does not know which 3D cms she is going to load. Loaded the 3D castlib, any of the 3D cms can be cloned (user interaction driven ) into my 3DcanvasMain shockwave3D cast member, which is the only 3D asset actually displayed on screen.
With the Window Task Manager opened, what I notice is that the SIZE property (let's call it "pSize") for any 3D cm returns far smaller values than the actual memory (let's call it "pAllocated") that Windows allocates to Director when the 3D cm is actually cloned on my 3Dcanvas.
What I would like to be able to do is to predict "pAllocated" starting from "pSize" before triggering the effective cloning of any piece, so to be able to manage different operations depending on the memory requirements of each 3D piece to be cloned. I can't imagine how to do that, even because I think it depends on the actual contents of each 3D cast member (how many models it contains), which is really unpredictable in my app context.
Any ideas?
Thank and goodbye,
Andrea
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|