ProjectionViewModifier
The ProjectionViewModifier defines the projection area as a square planein the scene space. The scene is projected form the eyeTransform positionto the projection plane. With this decorator a cave system can be configured.The head position must be routed into the set_eyeTransform field.
Inheritance
Code
XML encoding
<ProjectionViewModifier surface='1 1 0, 1 -1 0, -1 -1 0, -1 1 0' leftEye='FALSE' rightEye='FALSE' eyeSeparation='0.08' mono='FALSE' enabled='TRUE' logFeature='' />
Classic encoding
ProjectionViewModifier {
surface [1 1 0, 1 -1 0, -1 -1 0, -1 1 0]
leftEye FALSE
rightEye FALSE
eyeSeparation 0.08
mono FALSE
enabled TRUE
logFeature [""]
}
Interface
Filter: X3D only | Avalon only | All
| id | Name | DataType | PartType | Default | ValueType | Description |
|---|---|---|---|---|---|---|
| surface | MFVec3f | inputOutput | 1 1 0, 1 -1 0, -1 -1 0, -1 1 0 | Four points defining the projection plane | ||
| set_eyeTransform | SFMatrix4f | inputOnly | Position of the eye. This field should be connected to a trackingdevice | |||
| leftEye | SFBool | inputOutput | FALSE | If TRUE modify viewing matrix for left eye | ||
| rightEye | SFBool | inputOutput | FALSE | If TRUE modify viewing matrix for right eye. This field is currentlynot used. Right eye is used, if leftEye is false. | ||
| eyeSeparation | SFFloat | inputOutput | 0.08 | Eye distance | ||
| mono | SFBool | inputOutput | FALSE | Force mono projektion if true | ||
| enabled | SFBool | inputOutput | TRUE | If TRUE, the ViewModifier is enabled | ||
| 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 | ||
| metadata | SFNode | inputOutput | MetadataObject | container for payload metadata inside MetadataSet element |
