• Advertisement
Sign in to follow this  

Material ID per polygon

This topic is 1444 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

Advertisement

you need to be much more forthcoming with information if you really want help. You don't mention what you are extracting from. That being said, assimp can likely do what you need.

Share this post


Link to post
Share on other sites

i basically want to go through every polygon and get the material id assigned to that polygon.

 

I tried experimenting with assimp,but I could only find how to extract a material id per mesh.

Share this post


Link to post
Share on other sites

Do you even need materials? Texturing might be enough.

 

Why not assign per pixel materials in a texture?

Share this post


Link to post
Share on other sites

Sorry,my artist meant "per subset id", ... I was a bit shocked when I heard it the first time,but I just said I'll research into it.

Share this post


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

  • Advertisement