Material ID per polygon

Started by
5 comments, last by noatom 10 years, 2 months ago

Does anybody know a library that can extract that?

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.

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/

No one in their sane minds would have materials assigned per polygon.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

My journals: dustArtemis ECS framework and Making a Terrain Generator

Do you even need materials? Texturing might be enough.

Why not assign per pixel materials in a texture?

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.

This topic is closed to new replies.

Advertisement