Using the realtime OpenGL viewer


RadiosGLView reads in an RGL scene file (as output by RadiosGL) and displays it in realtime using OpenGL. All parameters are read from the text file RadiosGLView.ini. An example of RadiosGLView.ini contents follows. Note that the order of the parameters is important.

FULLSCREEN 1
DITHER 1
SCREENWIDE 640
SCREENHIGH 480
MODELFILE test.rgl
INVERTMOUSE 0


FULLSCREENsets fullscreen mode on/off (1/0); note that certain 3D cards only support fullscreen mode (e.g., Voodoo2), and other cards only support windowed mode
DITHERsets stochastic dithering on/off (1/0); dithering is useful for cards that do not support 32-bit color (e.g., Voodoo), as RadiosGL scenes contain subtle color gradations that are destroyed by 16-bit color
SCREENWIDEthe width of the screen or window where the rendering will take place; this controls monitor resolution if in fullscreen mode
SCREENHIGHthe height of the screen or window where the rendering will take place; this controls monitor resolution if in fullscreen mode
MODELFILEthe name of the RGL file containing the scene to be displayed
INVERTMOUSEsets mouse inversion mode on/off (1/0); if off, pushing the mouse forward aims the view down, and pulling back aims the view up; if inversion is on, the up/down action of the mouse works in the opposite fashion


After RadiosGLView launches and loads the scene, the following keyboard and mouse commands control movement throughout the scene:

Emove forward
Dmove backward
Mengage/disengage the mouse; if in windowed mode, you can disengage the mouse to show the mouse cursor and allow you to switch to other applications
mouse movementturns left and right and changes view up and down
mouse buttonif in fullscreen mode, can cause a background window to become active and you to lose control of RadiosGLView; in general, DON'T CLICK THE MOUSE BUTTON (and OpenGL bug?)
Aincrease movement speed
Sdecrease movement speed
Zincrease mouse sensitivity
Xdecrease mouse sensitivity
Qquit RadiosGLView