Sign in to follow this  

Flat Shaded Meshes

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

Hey, i got a problem with shading. Even though i set the render state of my 3D device to the gouraud shade mode all my loaded x-file meshes have a kind of flat shading but i want them smooth. Check out the link below for a picture of what i mean: http://www.posergallery.com/wip/20050209-hexgear-212.241.231.70.jpg The custom ground object (created from scratch not loaded) shades fine but the loaded x-file sphere doesn't, any ideas on how to solve this problem? By the way i'm using the DirectX 8.1 SDK.

Share this post


Link to post
Share on other sites
Look into the model's normals. I think you'll find that they are all perpendicular to the triangles' faces. What you need are normals that are averaged by the faces around them....
Err.. I hope that made sense.
Steele.

Here is a link to an example of what I mean :

Here

Share this post


Link to post
Share on other sites

This topic is 4693 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.

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