An open source, cross-platform, OpenGL tutor.

home screenshots documentation download

contact

home > documentation > options menu > world view sub-menu


World View Sub-Menu

Below is a screenshot of the world view sub-menu. Click on one of the circled numbers or menu items to find out more about a given part of the menu.

Please see World Space Viewer for more details.


1. Reset Camera

Reset the world space viewer's camera back to its original position. This will also stop the camera from spinning if it is currently doing so.


2. Draw Axes

Toggle the rendering of the axes (X, Y and Z) in the world space view.

Default: enabled


3. Draw Frustum

Toggle the rendering of the projection frustum in the world space view.

Default: enabled


4. Draw Grid

Toggle the rendering of an X-Y grid on the Z=0 plane in the world space view.

Default: enabled


5. Double Buffer

Toggle whether or not the world space OpenGL viewer should be double buffered.

Note: Due to the nature of this windowing-system level setting, toggling it will reset the viewer.

Default: enabled


6. Display Z(Depth) Buffer

Toggle whether or not the world space OpenGL viewer should show its Z / depth buffer instead of the normal output.

Default: disabled


7. Projection Type

Set the projection type, as used by the world space OpenGL viewer.
The available options are popped-up in a secondary menu. You can choose from:

  • a - Orthographic: Use an orthographic projection.
  • b - Perspective: Use a perspective projection.

Note: Only one projection type can be selected at any one time.


8. Set Foreground Colour

Set the world space viewer's foreground colour. This colour is used when drawing things like the grid and the X, Y and Z axis labels.

The colour selection dialog is system dependent.

Default: light-gray


9. Set Background Colour

Set the world space viewer's background colour. This colour will be used when the world viewer makes an internal glClearColor call.

The colour selection dialog is system dependent.

Note: You can override this setting in your Glitch project, for example:

glClearColor( 0.5, 0.5, 0.5, 1.0 );
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );

Default: black


Last Updated: March 4, 2004