Dev:2.4/Source/Render/Yafray/3D Object

提供: wiki
< Dev:2.4‎ | Source‎ | Render‎ | Yafray
2018年6月29日 (金) 02:45時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

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