intersection between line and implicit function
How to find the intersection between a line and an implicit function like x ^3 + sqrt(y) + cos(2/z) = 85 ?
It''s for a raytracer experiment
Thanks.
This is essentially a root finding problem. If G(x) is your implicit surface, and R(t) is your ray, then you are trying to find the smallest solution to G(R(t)) = 0 for t > 0. There are ways of solving this, but Newton''s Method or Interval Newtons Method come to mind.
"Math is hard" -Barbie
"Math is hard" -Barbie
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement