#include <grinterface.hpp>
Public Member Functions | |
| virtual bool | search_intersection (ray &r, graphics_data_t &gdata)=0 |
| Searchs for the nearest intersection. | |
| virtual void | illuminate (ray &r, intersection &inter, vec3 &light_value)=0 |
| Computes direct illumination. | |
This interface is used to hide the intersection research process and color evaluation. It is used by the Renderer class.
1.5.0