Skip to main content
gamedev.net
🔒 Locked

Smooth Mesh

Started by Jadhoo 3 replies 1.5k views
Original Post
Jadhoo
Jadhoo
Hi , WRT meshes. A mesh created in 3dsmax that is a cylinder - looks quite smooth and u dont see the curved edges looking jagged . When I convert the mesh to an .X file and display in a direct3d program - the curved edges look jagged - almost like a NON-antaliased line ... Any reason for this ?? Even if the mesh has alot of vertices , u can still notice it. Any help would be greatly appreciated
Jadhoo
Jadhoo
I think that I've solved the problem
I've upped the sample rate to 6x on my Radeon and its seems to help.
FPS has dropped by 20 though !!!

Is this the correct solution ?
Override
Override
I think its to do with how the normals are calculated.
Averaging them for each vertex creates smoother lighting?
danromeo
danromeo
I'm not certain that I understand the problem, AND I'm using an ancient version of 3ds Max (r3), but when you create geometry in 3d max r3 there's a Smooth option in the parameters window which is checked by default. I'm not sure what it does but I assume it's adding vertices to create a smoother image. I see geometry in 3d max the way it will appear after an .x file conversion if I UNCHECK THE SMOOTH BOX.
darookie
darookie
Have D3D recalculate the normals. That's the best way to get a smooth look if your modelling tool doesn't export proper normals.
Conclusion: Use D3DXComputeNormals.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.