Does anybody know a library that can extract that?
Material ID per polygon
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.
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.
You don't need material Id per polygon, you need material ID per subset.
you can have a look at my post: http://www.gamedev.net/topic/652889-assimp-subsets-problem/
Do you even need materials? Texturing might be enough.
Why not assign per pixel materials in a texture?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement