12
« on: 2025-04-12, 01:12:17 »
As the article explains, the camera doesn't need to go into the bit that you think is the model - the problem is if it is not closed, then it "extends infinitely" as far as Corona is concerned, and if it passes into that zone then Corona believes the camera is inside the volume. So anything with any sort of volume effect needs to be closed geometry, otherwise when the camera "passes in front of a hole" no matter how far away it is from the model, the camera will be treated as being inside the volume.
EDIT, PS - think of it this way, in order to calculate how far through a surface a ray has gone to see just how much it is affected by absorption and scattering, it must both intersect the material for the first time, AND exit the material, so that there is an "actual distance traveled through the volume". Otherwise the distance it has traveled is infinite, it never left the volume. So geometrically, there must be a face on both sides, the geometry must be closed. This is true whenever rendering volumes, just that now that Corona can process cameras inside volumes, it can now affect cameras as well :)