Home Coding, Scripting, Shaders

How many materials can multimaterial hold and operate without shuting down whole 3ds max?

hajnis
polycounter lvl 3
Offline / Send Message
hajnis polycounter lvl 3
Hi,

3dsMax 2018 sp.3
I have 600-slot multimaterial(5% of slots is occupied) and this simple function which adds new materials into it:

-- tempMatDataItem -- structure which holds material and other info

matLibrary.materialList[tempMatDataItem.newMatID] = tempMatDataItem.mat<br>
The problem is that many times when this method is called 3ds max just shut downs without any warning.

I realized( correct me if I am wrong) that this amount of 600 sub-materials in one multiMaterial is just too much for max to handle->
So I wanna ask, what is the reasonable count of multimaterial slots that 3ds max can handle?

Thanks for response.

Replies

Sign In or Register to comment.