Jump to content
  • Advertisement

Archived

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

jhs2pdg

Polygon issues!!

This topic is 5350 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 there, I''ve got to model a car for my openGL coursework - its gotta be coded so cant use a modelling program. The problem lies in making round wheel arches for the car body. I was wondering if it is possible to subtract a polygon from another. For example, have a rectangular wing and ''take-away'' a circle from it to leave a round ''hole'' in it?? Any help, or advice would be greatly appreciated! Cheers in advance, Paul

Share this post


Link to post
Share on other sites
Advertisement
google for CSG algorithms (Constructive Solid Geometry), you might find what you want there

lc_overlord> he didn't ask if it was easy or not, just if it was possible... and it definitely is.

[edited by - sBibi on March 25, 2004 9:10:10 AM]

Share this post


Link to post
Share on other sites
What about using openGLs built in quadrilatics (Ofcourse Collision is a mission)

you can with that deffine detail as well

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!