can somebody explain what the “corral value” represents for points in the ambient cache file?
for a simple rpict, the points in the ambient file with a corral value greater than zero looked like these in the attached image, while the points with a zero corral value where spread all over the model surfaces.
i thought it was related to the points shown on edges of objects in Figure 5b of your paper “A raytracing solution for diffuse interreflection”. I wanted to visualize which points were calculated (rays sampled from them) and which points had their values found through interpolation. Any way i can do that?
Well, any points that had their values interpolated did not result in a new calculation, so you could say that every pixel in an image where there is no ambient value was interpolated. Does that help?
Yes it helps! So, is it correct to say that all points stored in the ambient file (*.amb) were calculated, and all other points (pixels) were inter or extrapolated?
Yes, with the addition that there are “levels” in the ambient values that correspond to which bounce they correspond to in the calculation. Only the “0” level ambient values are finally applied to pixels.
By the way, you can use the “genambpos” utility to visualize many aspects of the ambient values in the scene.
This is very useful for teaching and learning.
genampos is not cross-platform (using windows here…), that is why i was using lookamb
i see now that sarith has re-written genampos in py, i will check that. Thank you!