Jump to content
  • Advertisement
Sign in to follow this  
thuong

Problem with smooth renderring

This topic is 4037 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!