FILE FORMAT/DEFAULTS
OrthographicCamera {
position 0 0 1 # SFVec3f
orientation 0 0 1 0 # SFRotation
focalDistance 5 # SFFloat
height 2 # SFFloat
}
The default position of the camera is (0,0,1) and looks back along the negative z-axis when using the OrthographicCamera node. You can use the position and orientation fields, however, change these values. The total height of the viewing volume can be changed by altering the value of the height field.
The viewing volume for an OrthographicCamera node, when visualized, looks very much like a long, rectangular box. The width of this box is determined by multiplying the height field by the aspect ratio of the screen image.
You can use this node to define the initial location from where a viewer will enter the VRML world. A VRML browser, however, usually modifies the camera allowing you to move through the virtual world.
Remember that both camera nodes will be affected by the current transformation. This means that you can position a camera by placing a transformation node in front of it in the scene graph.
Example Use
The following code fragment is from Allnodes.wrl.
OrthographicCamera {
position 0 0 1
orientation 0 0 1 0
focalDistance 5
height 2
}