In need of help writing out this glsl pseudo code into actual compilable code.
Trouble with glsl pseudo code
Yeah only if you understand it. Especially writing this
[tstart,tend] <= computeRayBoxIntersection
I totally don't know.
Well, what could that mean?
In case a 3D ray collides with a 3D AABB (box) 'normally', it enters the box at 3D point "t_start" and exits at 3D point "t_end".
Implementation of computeRayBoxIntersection is an exercise for the reader -- I guess year 1 or 2 of secondary grammar schools (pupil ages 15-16) and for us older ones, 30 minutes with paper and pencil?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement