Archived

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

convex 2d-shape/shadows

This topic is 6689 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...I'm very tired already, I hope I can still explain what I want to say
ok, let's go.
I plan to implement a shadow-volume like shadow algorithm(not exactly, this algorithm uses a stencil buffer and scales linearly, but that doesn't matter now)
As you probably know, for a shadow volume you take a polygon, and create "view" frustum planes out of its edges.
But you could also take a whole object and create planes out of its edges. The problem is that the 2d shape must be convex, because the frustum must be convex of course, too.
So, I'd like to divide an object into parts, each having a convex shape, in a fast way of course
I didn't really thought much about that...
waiting for your reply, thanks in advance,

Sengir

Share this post


Link to post
Share on other sites