Jump to content
  • Advertisement
Sign in to follow this  
msamurai

3D stuidio max sdk (IGame) and normal map

This topic is 4279 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know how to export normal maps with 3ds max sdk? IGameTextureMap::IsEntitySupported() returns false when a normal map is used. I think it has something to do with the way max uses normal maps (there is a wrapper bump texture that holds the normal map bitmap). Any ideas? thanks // msamurai

Share this post


Link to post
Share on other sites
Advertisement
ok, I found it
IGame does not support this kind of map so one has to:

Texmap *max_map = igame_map->GetMaxTexmap();
int submap_count = max_map->NumSubTexmaps();
for (int i=0; i<submap_count; i++) {
Texmap *sub_map = max_map->GetSubTexmap(i);
// process max map ....
}

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!