An open source, cross-platform, OpenGL tutor.

home screenshots documentation download

contact

home > documentation > options menu


Options Menu

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

1. World View

This is a sub-menu that contains the options for the world space view.

Please see World View for more details.


2. Screen View

This is a sub-menu that contains the options for the screen space view.

Please see Screen View for more details.


3. Restore OpenGL Contexts

This is used to restore the OpenGL contexts that are used by the world and screen space viewers, in the case where they are messed-up / confused, due to a bad sequence commands.


4. Auto glClear

Toggle an automatic glClear() call for the world and screen space viewers. This will be called just before the display block commands, which is after the initialization commands.

The exact call made is:

glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT
         | GL_ACCUM_BUFFER_BIT | GL_STENCIL_BUFFER_BIT )

Default: enabled


5. Auto glFlush

Toggle an automatic glFlush() call for the world and screen space viewers. This will be called last in the chain of OpenGL commands.

Default: enabled


6. Auto glEnd

Toggle an automatic glEnd() call for the world and screen space viewers. This will be called just after the last display block command is executed.

This is needed to keep OpenGL working in the case where glBegin is called but has not been followed through with a glEnd call.

This happens for example, when in stepper mode and you have stepped past a glBegin but not all the way to its matching glEnd call yet.

Hence, this fixes the display and also the ability to get the correct matrix values in this situation.

Default: enabled


7. Filter Command Lists

Toggle the option to either filter (restrict by section) or to allow the selection and insertion of any of the commands into either of the initialization or display sections (e.g. draw commands into the initialization block).

Default: enabled


8. Full Screen

Toggle whether or not Glitch should use full screen mode for its main window.

In full screen mode, the title bar will be removed, the window will be maximized and any task bar / dock / kicker / etc. should be hidden.

Note: The way that the system reacts to this request for a full screen mode is system dependent.

Default: disabled


9. Remember Options

Toggle whether or not the above options settings (including the ones in sub-menus) should be remembered from this session for the next one (excluding this option, as it is always saved).

This is also known as save options on exit.

Default: disabled


10. Restore Defaults

This is used to restore / revert all of the option settings (including the ones in sub-menus) back to their defaults.

This includes a call to Restore OpenGL Contexts.


Last Updated: March 4, 2004