Classes | |
| class | GraphicsCacheInterface |
| Definition of the GraphicsCacheInterface class. More... | |
| class | GraphicsCacheInterface |
| Definition of the GraphicsCacheInterface class. More... | |
Functions | |
| virtual bool | GraphicsCacheInterface::intersect (uint32 graphics_id, ray &r, float &distance, packed &data)=0 |
| virtual void | GraphicsCacheInterface::compute_intersection (uint32 graphics_id, ray &r, intersection &inter, packed &data)=0 |
| virtual void | GraphicsCacheInterface::sample_surface (uint32 graphics_id, uint32 number, vec3 *vtab, vec3 *ntab)=0 |
| Samples object surface. | |
| virtual void GraphicsCacheInterface::compute_intersection | ( | uint32 | graphics_id, | |
| ray & | r, | |||
| intersection & | inter, | |||
| packed & | data | |||
| ) | [pure virtual, inherited] |
Computes the full intersection knowing r, inter.plocal and data
| r | the used ray, | |
| inter | the resulting intersection, | |
| data | some information which are coming from intersect. |
| virtual bool GraphicsCacheInterface::intersect | ( | uint32 | graphics_id, | |
| ray & | r, | |||
| float & | distance, | |||
| packed & | data | |||
| ) | [pure virtual, inherited] |
Evaluates an intersection test and compute distance from the ray's origin to this point.
| r | the ray to evaluate, | |
| distance | the distance from the ray's origin to the intersection point, | |
| data | some place to pack temporaries informations to pass to compute_intersection. |
| virtual void GraphicsCacheInterface::sample_surface | ( | uint32 | graphics_id, | |
| uint32 | number, | |||
| vec3 * | vtab, | |||
| vec3 * | ntab | |||
| ) | [pure virtual, inherited] |
Samples object surface.
| graphics_id | the id of the geometry entry, | |
| number | the sample number to compute, | |
| vtab | the resulting vertex array, | |
| vtab | the resulting normal array. |
1.5.0