Jump to content
  • Advertisement
Sign in to follow this  
AlexDW

OpenGL multisampling antialiasing problem

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

i have loaded some geometries from a collada file and rendered them in opengl. The lines look very ugly so i decided to use multisampling antialiasing (according to nege lesson 46). There is no problem with enabling multisampling_arb, but when it is enabled some polygons are not drawn correctly, when the model is drawn near (glLoadIdentity(0.0f, 0.0f, -10.0f)) there is no aparent problem, but when the model is drawn farther (glLoadIdentity(0.0f, 0.0f, -35.0f) the polygons that are drawn incorrectly are drawn whith stripes on it. i don't use color yet so the model is drawn in white and it has black and white stripes. The only thing i think is commont to these polygons is that they are slightly curved towards the viewer. I know this is very confusing, but i don't know how to make it clearer. I can supply some photos that should be self explanatory. I hope somebody understands my problem and will give me a clue to what the problem could be so i could start researching it. Thank you in advance for all of you!!

Share this post


Link to post
Share on other sites
Advertisement
thank you. next time when i will need to add photos i will know and won't look so stupid.
as for my problem; i have solved it
it was a case of z-fighting and i just increased z-near
anyway thank you for your answers and i hope i didn't occupy much of your time

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!