Sign in to follow this  

Problem with smooth renderring

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

Hi All, I had problem with smooth renderring, if i use DrawSubset function seem it render smooth, but if render use DrawIndexedPrimitiveUP function then it not smooth when i zoom model to forward. Anybody know what problem, pls help me, thanks very much. David, Following is capture image from my render: Image Hosted by ImageShack.us Image Hosted by ImageShack.us Image Hosted by ImageShack.us [Edited by - thuong on October 1, 2007 9:00:34 PM]

Share this post


Link to post
Share on other sites
In the last screen shot, it looks like your vertices are just wonky. Are you generating them from code? DrawSubset just calls DrawIndexedPrimitive, so its not the method of drawing that is the problem, its the data.

Share this post


Link to post
Share on other sites
Thanks for your reply.

First screen shot i load model from X file and use DrawSubset to render

Second, third screen shot i load model from OBJ file, as you see screen shot 2 it seem good, but when i use mouse to move it forward then it is screen shot 3, or when i rotate model then see edge is smooth, it can able relate to normal, lighting, i just guess???

David,

Image Hosted by ImageShack.us

Image Hosted by ImageShack.us

Image Hosted by ImageShack.us

[Edited by - thuong on October 1, 2007 9:58:05 PM]

Share this post


Link to post
Share on other sites

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