Notifications
Clear all
[Closed] Materialpaths and memory management
Apr 10, 2013 5:43 pm
Hey folks,
I have a question concerning Maxscript and Texturemaps in materials.
Let’s say I have two version of a texture (high and low).
When I want to switch from version 1 to version 2 I would write something like:
mat.filename = @"C:\version1high.jpg"
Now here is the question: Is there any chance to free the memory after I altered the textures (already tried gc() )?
Cheers kogen
2 Replies
Apr 10, 2013 5:43 pm
That’s interesting, but I don’t understand it.
Well, I knew there is this command buuuut: I thought doing garbage collection would free texture memory as well. But after digging a bit in the web it seems to me that I have to use them together to get an optimal result.
-> gc(); freeSceneBitmaps()
Thanks Denis.