Sign in to follow this  
noatom

Material ID per polygon

Recommended Posts

Burnt_Fyr    1665

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
noatom    927

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
Tispe    1468

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
noatom    927

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this