Jump to content
  • Advertisement
Sign in to follow this  

Concave-polygon based shapes. What do i need to draw them?

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

Good day, i am developing a program where i need to create a concave polygon from some given points, then "extrude" it to create a 3D mesh object which has this polygon as its "bases". My polygons will not have holes inside them, so probably they will be rather simple ones (despite being concave). In this article http://www.gamedev.net/community/forums/topic.asp?topic_id=335399 a method called ear-clipping is discussed. My questions: a) Is this ear-clipping the method to achieve what i need? b) Is there any sample code demonstrating this technique? c) In the link above there is an implementation but its kinda old and also uses some header files i couldn't find on the net (#include "SVec3DF.h") or come from older DirectX SDK's (#include "MTypes.h"). Any ideas where i can locate these? Thanx in advance for any guidance on the above matters, stakon.

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!