Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Autodesk MotionBuilder through 7.x / How to safely delete textures!
  RSS 2.0 ATOM  

How to safely delete textures!
Rate this thread
 
49081
 
Permlink of this thread  
avatar
  • will.mi
  • Posted: 03 November 2010 08:48 PM
  • Total Posts: 4
  • Joined: 05 September 2010 04:32 AM

For some reason, I need free all textures’ GPU memory in MB and rebuild them in the end.
So I search FBSystem.Textures and FBDelete all their texture.Video

At the end, I try to new FBVideo for each texture to recreate them, it display right at the beginning but will cause crash.

How can I safely delete textures and rebuild them in SDK (I use c++ in MB 7.5 ext2 but python is OK).
or set texture’s media to be none, and free GPU memory.

Thanks if anyone can give me a sign!



Replies: 0