Archived

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

osh

Generating polygon on plane

Recommended Posts

Hello! I''m currently implenting automatic portal generation tool, but I can''t figure out how can I generate polygon, bigger than scene''s(node''s) bounding box, on particular plane. Can you help me, pls? Thx

Share this post


Link to post
Share on other sites
Pls!!! No ideas?? My only idea was to test intersection between all edges of scene bounding box with plane and then, I should have 4 vertices of newly generated portal polygon. I hope it''s correct but it''s slow...

Share this post


Link to post
Share on other sites
I''m not sure what you''re asking for. Do you want to project a bounding box onto a plane, or do you want to intersect a bounding box with a plane? Your second post indicates that you want to do intersection, but it''s not clear.

Share this post


Link to post
Share on other sites