Advertisement

[help] 3dmax 9.0 sdk,how i can get texture 'Amount'?

Started by August 19, 2008 10:47 AM
2 comments, last by sct 16 years, 5 months ago
hi,guys,pls help.
Texture 'amount'? Do you mean the number of textures in the scene?

Using the 3DXI/IGame interface, loop through the materials and count how many have a texture map (IGameMaterial::GetIGameTextureMap).

"The right, man, in the wrong, place, can make all the dif-fer-rence in the world..." - GMan, Half-Life 2

A blog of my SEGA Megadrive development adventures: http://www.bigevilcorporation.co.uk

Advertisement
Sorry for not making it clear.
i want to get the VALUE,which is at

[Material editor] window

------[Maps]-----
------------[diffuse color]...[<ref>VALUE</ref>] [none]--

I hope the chart make it clear,the up value is that i want to catch,using 3dmax sdk,:>,
thanks.
I get it,thanks for your reply.


sct.

This topic is closed to new replies.

Advertisement