Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the behavior for a ray hitting an object where the origin of the ray is within the object? Does the ray continue to the outside of the object or does it reflect back inside?

0
Posted

What is the behavior for a ray hitting an object where the origin of the ray is within the object? Does the ray continue to the outside of the object or does it reflect back inside?

0

This situation can arise in two ways: the model placed the viewer inside an object, or rounding error caused a shadow or reflected ray’s origin to slip inside an object. In the former case, you can either cull the surface or flip the normal; we will not test for it. In the latter case, you need to make sure that the ray is not obstructed by its originating surface.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123