Jump to content
  • Advertisement
Sign in to follow this  
Ogre722

OpenGL OpenGL artifacts

This topic is 3034 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 can't seem to find the cause of this problem I have been having with my Space Invaders clone. With the models of the invaders I am getting weird artifacts that seem to be glitches in the rasterization process. I tested my graphics card (9800gt), commercial games don't get this issue and even other models work fine. The models are simple and were made in Blender. I'd say more but I can't think of anything else that could be causing the problem. I appreciate any comments or suggestions.

Here is a screen shot.
http://i713.photobucket.com/albums/ww140/ogre722/screenshot.jpg?t=1282569595

Share this post


Link to post
Share on other sites
Advertisement
You're getting what looks like z fighting. In your case, turning on back face culling should fix it. If not, look at the model and make sure you don't have double sided polygons. If you do delete the polygons you can't see, or never will see.

Share this post


Link to post
Share on other sites
Try extruding the model more or disable back face culling as suggested. I think your model is probably just too thin and fighting with the front faces.

Share this post


Link to post
Share on other sites
Quote:
Original post by WhatEver
You're getting what looks like z fighting. In your case, turning on back face culling should fix it. If not, look at the model and make sure you don't have double sided polygons. If you do delete the polygons you can't see, or never will see.


Thank you, I would have never thought of that. after reading your message I took a look at the model, and this is what i found under the front faces:

http://i713.photobucket.com/albums/ww140/ogre722/Untitled.png?t=1282622701


I was garbage left over from creating the model by just duplicating a cube.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!