Classes | |
| struct | graphics_data_t |
| The exchange data structure. More... | |
| class | GraphicsInterface |
| Definition of the GraphicsInterface class. More... | |
| class | GraphicsInterface |
| Definition of the GraphicsInterface class. More... | |
Functions | |
| virtual bool | GraphicsInterface::search_intersection (ray &r, graphics_data_t &gdata)=0 |
| Searchs for the nearest intersection. | |
| virtual void | GraphicsInterface::illuminate (ray &r, intersection &inter, vec3 &light_value)=0 |
| Computes direct illumination. | |
Variables | |
| float | graphics_data_t::radiance |
| the radiance of the intersected object | |
| vec3 | graphics_data_t::color |
| the color of the intersected object (crbnColor + crbnShader) | |
| uint32 | graphics_data_t::matter_id |
| the matter ID of the intersected object | |
| virtual void GraphicsInterface::illuminate | ( | ray & | r, | |
| intersection & | inter, | |||
| vec3 & | light_value | |||
| ) | [pure virtual, inherited] |
Computes direct illumination.
| r | the original ray, | |
| inter | the intersection in wihich we want the local illumination, | |
| light_value | the resulting illumination value. |
| virtual bool GraphicsInterface::search_intersection | ( | ray & | r, | |
| graphics_data_t & | gdata | |||
| ) | [pure virtual, inherited] |
Searchs for the nearest intersection.
| r | the ray to test, | |
| gdata | the exchange structure. |
1.5.0