Hi,
I'm wondering what should I do if (this==ray.skipTag) inside intersect function? Should I return furthest intersection from ray origin and if this intersection isn't between ray.cmint and ray.cmaxt return false? I'm asking this because in vraysphere sample intersection that is farther from the ray origin is left in such case and in vrayplane its just false returned.
I'm wondering what should I do if (this==ray.skipTag) inside intersect function? Should I return furthest intersection from ray origin and if this intersection isn't between ray.cmint and ray.cmaxt return false? I'm asking this because in vraysphere sample intersection that is farther from the ray origin is left in such case and in vrayplane its just false returned.
Comment