Skip to main content
GameDev.net gamedev.net
🔒 Locked

Help please

Started by altair734 Mar 26, 2000 at 2:33 PM 2 replies 600+ views
Original Post
altair734
altair734
I am working in Direct3D and for some reason my textures won''t display right. They will display, but on the wrong side, like you can see the ground from below it but not above it. I am using D3DVERTEXes and I have the normal set for (0.0,1.0,0.0). altair altair734@yahoo.com biggins.mit.edu/altair734
TheHoff
TheHoff
It sounds like D3D is culling your triangle because it''s vertices are orderered backwards...try either turning off back face culling, or tell it to cull the other way around (clockwise instead of counterclockwise or vice versa).
Kylotan
Kylotan
Or do your triangles the other way around. I think the usual standard is that the ''front'' is where the vertices would appear to be in clockwise order when you face the triangle. But as long as you know your standard and stick to it, the other way is fine too.

Topic Locked

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

Sign in to reply to this topic.