3 ms·
Path tracing can replicate that effect, including things like an object near a window lighting the room with reflected light in its colors, and refraction effec
by JoshTriplett 7y ago
Path tracing can replicate that effect, including things like an object near a window lighting the room with reflected light in its colors, and refraction effects through some materials.
See https://raw.githubusercontent.com/Dalamar42/rayt/master/samples/cornell_box.png https://raw.githubusercontent.com/Dalamar42/rayt/master/samp... for one example; notice that the white light reflecting off the green wall makes the side of a nearby object look green, for instance.
- zokier 7y agoPath tracing with colors still presents some challenges. Most mainstream renderers use RGB model, but of course real world has the full EM spectrum. For example for the Cornell box scene, imagine that the wall was pure green material and the box pure yellow material. Then there shouldn't be that visible secondary bounce, but with naive RGB path tracing there would be, because it wouldn't be able to distinguish between pure yellow and mixed yellow. In practice I would expect the effect to be pretty subtle in most scenes, but e.g. scenes lit by sodium streetlights could have stark difference. For example something like https://commons.m.wikimedia.org/wiki/File:Red_and_black_cars_under_low_pressure_sodium_lamps.jpg#mw-jump-to-license https://commons.m.wikimedia.org/wiki/File:Red_and_black_cars...