3 ms·
Fun fact: in most physically based ray tracers, the photons are shot by the camera, bounce on various objects, and finally hit a light (or a sky box), whose ene
by tunnuz 12y ago
Fun fact: in most physically based ray tracers, the photons are shot by the camera, bounce on various objects, and finally hit a light (or a sky box), whose energy is then back propagated along the chain of bounces. In physics everything is reversed, the photons are generated by a light, and bounce on various objects (which change their energy by absorbing it) before ending up in a camera sensor. In fact, some advanced ray tracers follow this second model, but they are much much harder to build, and, in general, require higher computational power.
If you are looking for a good (you can build your own ray tracer) but not too hostile intro to physics based rendering I recommend "Advanced Global Illumination" by Dutre and others (http://www.amazon.com/Advanced-Global-Illumination-Second-Edition/dp/1568813074 http://www.amazon.com/Advanced-Global-Illumination-Second-Ed...). It is actually quite a fascinating computer science application, and you can produce beautiful images with it.
- berkut 12y agoErm... Photon mapping uses "forward" path tracing to trace photons from the lights, not the camera. In conventional (uni-directional) path tracing, rays are shot from the camera only, and bounce around the scene (other than for light visibility testing). Bi-directional path tracing uses rays originating at both the camera and light sources going in opposite directions. VCM is a combination of Bi-directional path tracing and photon mapping.
- CyberDildonics 12y agoI think he was talking about rays when he said 'photons', not photon mapping in regards to the specific technique.