Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

SirKnight

Planes and Polys

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

Im writing a .map file parser and renderer and i have a question. When i take one of the planes (from each brush) in the map file and create a poly from that plane i will then chop up this poly from the other planes (in that brush). Well when i do this i need to save the back part of the split poly and discard the front. What i want to know is, how do i determine which part of the poly is the back? -SirKnight

Share this post


Link to post
Share on other sites
Advertisement
Yes i know, thats what i said i had to do in my post. Im saying how do i tell which side of the split poly is the back?

-SirKnight

Share this post


Link to post
Share on other sites
The plane normal points towards the front side. I can''t remember if the planes are defined by a cw or ccw winding, but you should be able to work it out no problem.

Andy.

Share this post


Link to post
Share on other sites
Oh my god. What the hell was i thinking. I think these are the times when my brain just goes dead. I knew the normal points to the front side. Why that didnt come to me a few days ago is beyond me. Heh, when i read your post i was like, OMFG OF COURSE, and hit my self in the head. Thanks for your replys.

-SirKnight

Share this post


Link to post
Share on other sites

  • 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!