Jump to content
  • Advertisement
Sign in to follow this  
ghiboz

problem with the plane

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

hi all! i created a plane in 3ds and exported in x format with panda exporter all seems that works fine, but when i render in my project I look that the textures are only in the back side of the plane ( in fact the plane is not visible, but if i go down with my camera and look up I see the correct texture...) what's the problem?? is in my program or in the exporter?? thanks p.s. is my first post!! hi all!

Share this post


Link to post
Share on other sites
Advertisement
My guess is that the winding is reversed and that, consequently, the wrong face is being culled. DirectX assumes counterclockwise vertices by default, and the exportor (presumably) does it the other way around. Two possible solutions:
1) reverse the winding manually (or look for a switch in the exporter);
2) look at IDevice::SetRenderState( D3DRS_CULLMODE, D3DCULL_CW ); (or other options similar to this one)

Share this post


Link to post
Share on other sites
Quote:
Original post by Todo
1) reverse the winding manually (or look for a switch in the exporter);


thanks in advance!
did you know how-to do this in panda??

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!