Dev:2.4/Source/Render/Yafray/3D Object
3D OBJECT
Before starting the design of the generic 3d object. We will collect things that should be accessible by this interface. Here is a brief list:
- Ray intersection test: returns a SurfacePoint.
- A sampler? A collection of points over the surface?
- The concrete type of the object (mesh, particles, etc ...).
- Method to apply a transformation matrix.
- Bounding box.
The shader will not be linked to the object anymore. SurfacePoint will hold it, and the intersection test is responsible of setting it.
-- AlejandroContyEstevez - 15 Nov 2004