Dev:2.4/Source/Render/Yafray/SceneObjectsReDesign

提供: wiki
< Dev:2.4‎ | Source‎ | Render‎ | Yafray
2010年5月27日 (木) 17:27時点におけるwiki>Mindrones botによる版 (Bot: Fixing redirects)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Scene Objects

Here we will try to define what objects will be in the scene and their interfaces. This includes lights, meshes, shaders and so on. We have to define what class hierarchy are we going to use. These objects are created from the user program and then added to the scene. Therefore we need to define a general scheme to create and configurate those objects. Althought there might be some exceptions for huge things like meshes, most of the elements can use the same settings scheme as happens in current yafray code.

So first is to define the YafrayConfigurationScheme

And then, open issues:

  • Having an 3D abstract object with just intersect method. Useful? Can particles be added this way?
  • Should the mesh object be public with open access to geometry?
  • Obviously we will have the light object.
  • Are samplers/emitters a good idea? i.e elements where you can shoot photons or sample from any point.

Provisional object class list:


-- AlejandroContyEstevez - 01 Nov 2004