OK, kids.
I wanted to understand how POV-Ray's in_polygon algorithm worked in the source
code.
This took a bit of puzzling over, reading about some similar methods, and
watching a few videos to get a better feel for the geometric implications of the
vector math operations.
This video (at ~34:00) is what put me on the path to seeing what was going on.
https://www.youtube.com/watch?v=vrk2kAuSyLg
I hope I got it right (it seems to be), and that I covered all of the essential
points.
Post a reply to this message
Attachments:
Download 'halfplanemath.png' (288 KB)
Preview of image 'halfplanemath.png'
|