The SceneGraph3D Description Language
| Home | About EaZD | Deferred renderer API | SceneGraph3D API | SceneGraph3D scene description language |
Index| Scene file structure | camera | character | directory | eventmessage | group | input | light | linearmotion | material | node | object | proximitytrigger | skylight | spinner | surface | transformation | user | world | |
camera
| Derived from: | Node3D | ||||||||||||||||||||||||
| Class name: | Camera3D | ||||||||||||||||||||||||
| Placement: | Anywhere | ||||||||||||||||||||||||
| Description: | It implements a view to the virtual world. It can be configured to follow a specific user or any other node, to be left standing alone or to be transformed as a normal geometric node in a kinematic chain. Multiple cameras can be defined but only one acts as the primary (rendered) output. | ||||||||||||||||||||||||
| Special notes: | - | ||||||||||||||||||||||||
| Inherited attributes: | name, active, visible | ||||||||||||||||||||||||
| New attributes: |
|
||||||||||||||||||||||||
| Events: |
|
||||||||||||||||||||||||
| Inherited events: | - | ||||||||||||||||||||||||
| New messages: |
|
||||||||||||||||||||||||
| Inherited messages: | - | ||||||||||||||||||||||||
| Redefined messages: | - | ||||||||||||||||||||||||
| Obsolete messages: | active, visible, hide, show, deactivate, enable, activate, disable |
Example
<world ambient_occlusion="ssao" bloom="yes" shadows="disk" ao_radius="6" ambient="0.3 0.3 0.3" defocus="yes"> <camera name="first_person" apperture="50.0" focal_distance ="30.0" focal_range="30.0" near="2.0" far="1000" follow="Myself" primary="true"> </camera> <transformation name="environment" scale="1.0,1.0,1.0" translation="0,0,-10"> <object name="geom2" file="arena.obj"></object> </transformation> <user name="Myself" control="navigate" speed="2.0" turn="0.5" position="0,10,100" lookat="0,10,0" input="Console"> </user> <input name="Console" type="mousekeyboard"> </input> </world> |
Last update: 6 Feb. 2009