|
|
|
|
|
by outworlder
2684 days ago
|
|
> With ray tracers, the rays are sent out from the light source, IIRC. Are there any implementations which send rays from the light source(aka. forward ray tracing)? This is astoundingly inefficient, as most rays will not intersect the camera. I've never seen one, other than in brief academic discussions. What you can use forward ray tracing for is to compute shadows. |
|
The classic FOSS ray tracer, POV-Ray, can actually do this. You can define a light and define an object, and it will shoot rays from the light to the object and trace each ray through refraction and reflection. With this, you can simulate the way ripples in a pool concentrate light on the floor of the pool [2] or bending and refracting [3], without manually calculating it and adding extra light sources.
[0] https://en.wikipedia.org/wiki/Voronoi_diagram
[1] https://en.wikipedia.org/wiki/Delaunay_triangulation
[2] http://www.antoniosiber.org/bruno_pauns_caustic_en.html
[3] http://www.povray.org/documentation/view/3.6.2/424/