• Advertisement
Sign in to follow this  

Whats wrong with this picture?

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

Whats wrong with this picture? The picture looks ok bottom and left, but upper right there are some lines, why? Free Image Hosting at www.ImageShack.us<br /><br />QuickPost

Share this post


Link to post
Share on other sites
Advertisement
I found the problem, but I dont understand it quite.
The problem is because culling mode is set to D3DCULL_NONE. When I set it to D3DCULL_CCW the bottom left side dissapears and the upper right is visible.
Then when I rotate texture around 180 degrees everything is ok like the bottom left side.
So all the time I was looking at the wrong side.

Share this post


Link to post
Share on other sites
It looks like there is more than 2 polygons in that screenshot.
Z-fighting artifacts also points to that.

What I mean is, you have overlapping polygons there (or so it seems).

Share this post


Link to post
Share on other sites
Make sure you draw all your polygon CW (if you cull CCW) and in the good direction from the camera view. This square should only be 2 triangles, make sure you don't have more or multiples triangles one on top of the other (in the Z axis). You could also check it in wireframe mode without textures to see better the vertices.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement