Skip to main content
gamedev.net
🔒 Locked

multisampling antialiasing problem

Started by AlexDW 3 replies 700+ views
Original Post
AlexDW
AlexDW
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!!
zedz
zedz
yes post a screenshot as I cant picture what u mean
AlexDW
AlexDW
i am sorry, but how do i post a picture on the forum?
zedz
zedz
click on faq at the top right of this page
AlexDW
AlexDW
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

Topic Locked

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

Sign in to reply to this topic.