Set the reference frame for node transformations
<node3d>.setReferenceFrame( | |
mode | |
) |
Reference Frame | Description |
viz.RF_PARENT | Transformations are relative to the parent node |
viz.RF_VIEW | Transformations are relative to the view, before any stereo/view offsets are applied |
viz.RF_EYE | Transformations are relative to the eye, after all stereo/view offsets are applied |
viz.RF_GLOBAL | Transformations are relative to the global coordinate system |
viz.RF_VIEW_POS | Transformations are relative to the view position, before any stereo/view offsets are applied. Useful for centering far away geometry (e.g. skydomes) around the view, but still being affected by view rotations. |
viz.RF_EYE_POS | Transformations are relative to the eye position, after all stereo/view offsets are applied. Useful for centering far away geometry (e.g. skydomes) around the eye, but still being affected by eye rotations. |