generate frustum from rays to use in packet test

Practical and theoretical implementation discussion.
Post Reply
mrluzeiro
Posts: 28
Joined: Tue May 26, 2015 2:27 pm

generate frustum from rays to use in packet test

Post by mrluzeiro » Sun Sep 06, 2015 4:09 pm

Hello all,

I would like to generate the frustum planes (for frustum aabb test) from the (primary) rays of the 4 corners of a packet bucket
does anyone have source code that will generate it?
Thanks!

Edit:
I found this implementation that I am trying to use:
https://github.com/nslo/raytracer/blob/ ... r.cpp#L281

Post Reply