PerspectiveViewpoint (Standard name: Viewpoint)
Viewpoint provides a specific location and direction where the user may view the scene. The principalPoint extention allows to set asymmetric frustums.
Inheritance
Code
XML encoding
<PerspectiveViewpoint principalPoint='0 0' fieldOfView='0.785398' fovMode='SMALLER' aspect='1.0' centerOfRotation='0 0 0' orientation='0 0 1 0' position='0 0 10' upVector='0 1 0' zNear='-1' zFar='-1' jump='TRUE' retainUserOffsets='FALSE' isDefault='FALSE' description='' triggerName='Synchronize' logFeature='' />
Classic encoding
PerspectiveViewpoint { principalPoint 0 0 fieldOfView 0.785398 fovMode "SMALLER" aspect 1.0 centerOfRotation 0 0 0 orientation 0 0 1 0 position 0 0 10 upVector 0 1 0 zNear -1 zFar -1 jump TRUE retainUserOffsets FALSE isDefault FALSE description "" triggerName "Synchronize" logFeature [""] }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
![]() |
fovMode | SFString | initializeOnly | SMALLER | [VERTICAL, HORIZONTAL, SMALLER] | Defines whether the field of view is measured vertically, horizontally or in the smaller direction. |
![]() |
aspect | SFFloat | inputOutput | 1.0 | The aspect ratio (i.e. width / height) of a pixel. | |
![]() |
upVector | SFVec3f | inputOutput | 0 1 0 | The up vector in world space (usually the y axis). | |
![]() |
navigator | MFNode | inputOutput | Navigator3D | holds the 3d navigator which will be called for bound nodes | |
![]() |
zNear | SFFloat | inputOutput | -1 | z-near position; used for clipping | |
![]() |
zFar | SFFloat | inputOutput | -1 | z-far position; used for clipping | |
![]() |
transformation_request | SFMatrix4f | outputOnly | sends a new request to evaluate a local transformation. Its mainly used together with a NavigationEvaluator node to verify the transformation given by the navigator | ||
![]() |
transformation_result | SFMatrix4f | inputOnly | this slot is used to transform the view to the given local transformation. It is mainly used to return the camera transformation after processed by a NavigationEvaluator | ||
![]() |
effects | MFNode | inputOutput | VisualEffects | Specifies the desired global effects like depth of field and motion blur for the post-processing step that are specific to a certain camera or lens type. | |
![]() |
splitGroup | SFNode | inputOutput | SplitGroup | holds SplitGroup node for this bindable | |
![]() |
children | MFNode | inputOutput | the children fields allow to place object relative to the current camera transformation. | ||
![]() |
bind | XFAny | inputOnly | sending any event to this slot will bind/activate the Bindable | ||
![]() |
isDefault | SFBool | initializeOnly | FALSE | indicates if the object is the default bindable or not (generated if the scene did not contain any Bindable of a missing Type (e.g. Viewpoint)) | |
![]() |
triggerName | SFString | initializeOnly | Synchronize | name of the dynamic context-slot which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutut to the triggerSlot-eventInput Slot. | |
![]() |
triggerSlot | SFTime | inputOnly | slot which is used internally to connect a dynamic context-slot which name is set by the triggerName value. Its used automatically to install run-time environment trigger. | ||
![]() |
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything |