Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Clipping by arbitrary convex shape

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 FlyFire   Members   

122
Like
Likes
Like

Posted 29 August 1999 - 11:11 AM

Is there any good algorithms (with/without sources) to clip convex polygon by arbitrary convex shape?

#2 ghowland   Members   

134
Like
Likes
Like

Posted 29 August 1999 - 11:11 AM

The easiest way to do this is to break the polygons down into triangles, as they are always convex. Then you can form the triangles into any larger convex shapes you want...

-Geoff





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.