Jump to: Drawing Style, Render Mode/Stereo Rendering, Display Options, Lighting Options, Gamma Correction, Transparency, Texturing, Anchor Settings, Color Selection
In the first part of the Display menu you can select the display mode:
A similar pullright menu is available for the interactive display
mode, which is applied during navigation.
(use the
accelerator keys above, holding both the shift and ctrl key)
An extra item "the same" uses the same display mode during navigation
and for still images.
(accelerator key ctrl-u)
The default display mode is Smooth Shading, meaning you have to change to Texturing yourself to display or load textures. The Mesa version by default uses Flat Shading and Wireframe during navigation.
You can choose between (classical) Depth Buffer Rendering (accelerator key shift-D or shift-Z) and (new) BSP Tree (accelerator key shift-B). BSP (Binary Space Partitioning) does a presorting of all polygons to eliminate Z-buffer usage and therefore gains speed.
The first two BSP alternatives differ in rendering of two-sided or single-sided polygons. The third one, Shadow Volume BSP, incorporates visibility calculations to render only that part of the scene which is in the current field of view and not hidden by other polygons (see also navigation settings).
There are still some bugs in the BSP implementation and not all VRweb features are supported in BSP mode (e.g. no texture mapping, no AsciiText).
Stereo rendering via red-green (actually red-cyan) images can be activated with the accelerator key shift-S or in the render mode pullright. To view it you need a pair of red-green or red-blue glasses (use the red glass for the left eye, or specify Xattributes otherwise).
Eye convergence and distance can be configured in the navigation settings dialog.
Normally, the red and cyan parts of all colors are filtered out, so that you get a (reduced) color impression of the original drawing (including shading and textures). Only wireframes in the Mesa version are drawn as plain red/cyan lines for speed (which you can also achieve selecting the "no materials" option of the lighting options). Background color is automatically switched to black.
toggles line (wireframe) antialiasing, a feature currently not supported by Mesa.
Polygon antialiasing (only available in the OpenGL version) can be activated in one of two ways. The simpler one (ctrl-P) works on any OpenGL display, but has visible seams at adjacent polygons (you can reduce them by switching to BSP rendering).
The second method (ctrl-Q) looks really nice, but has some limitations: you need a GLX visual with Alpha-bitplanes (vrweb -alphaplanes), which is not available on all OpenGL X-displays (xglinfo or glxinfo). It also only works for BSP mode (slower for OpenGL, not all VRweb features) and black background.
VRweb lets you control texture antialiasing (filtering and
mipmapping), supported by OpenGL (default on) and Mesa 2.0 (default
off for speed). To turn it on (best quality) use the shortcut
^M (shift-ctrl-M). To turn it off (faster, aliasing effects
during motion) ^N (shift-ctrl-N).
There are also 4 intermediate
levels available; you might try the first one, which does linear
filtering, but no mipmapping.
displays the time it took to draw the last image and the frame-per-second rate. The time is measured from the completion of one drawing to the next and therefore also includes the time for putting the image on screen and event processing.
switches back to the title or URL in the status line if hidden by navigation hints.
in VRML polygons are visible from both sides by default and there is a ShapeHint for showing polygons from the front only. Single-sided polygon rendering (known as backface culling) is faster (because only half of the polygons are visible), but requires properly oriented facets. With setting "on" or "off" you can force two-sided or single-sided polygons. The default "auto" tracks the ShapeHint.
normally, under VRML, lighting calculations are always performed. However they can be computationally expensive and therefore there is a LightModel extension node to VRML, which is recognized by VRweb on setting "auto". With "on" or "off" you can force lighting calculations to be made always or never. Lighting calculations are usually turned off for prelit scenes. This yields faster rendering, but causes unrealistic effects in other scenes.
When the "no materials" option is active, all material information of the scene is ignored, so you get a white/grey scene. You may choose this for white wireframes or to do texturing calculations using the texture color only (still shaded, but not colored by the base material).
The color of a texture map can be combined with the material color (if this option is active), or mapped directly to the object ignoring the material color (if this option is inactive). In the latter case lighting calculations are turned off for textures. Future versions may support a third option for performing light calculations using the color of the texture (selecting "no materials" also applies to non-textured faces). See also Transparency - on texturing.
toggles the use of an additional headlight, a light source shining in the current view direction. When viewing scenes that contain no light, the headlight is turned on automatically and this switch has no influence. Of course, when lighting calculations are turned off, light sources (incl. the headlight) have no influence. You can change the intensity or color of the headlight (see below).
Additionally, you can change the ambient light intensity/color. This is a global, undirected light added to the scene. Instead of brightening up colors (like the headlight) however, it usually increases the intensity by a grey level (based on the ambient material coefficients).
If you use the Mesa version, you can set up gamma correction to
brighten up the drawings. You have to set the environment variable
SGI supports gamma correction via the Xserver (see man gamma), so
there is no need to do it in Software. OpenGL itself provides
no way to change gamma.
You may choose between the two transparency methods "stipple" and
"blending" or ignore any transparency information (off). You
may also toggle transparency calculations for texture images.
This is a computationally inexpensive method, which uses polygon
stipples for transparent polygons. Works well in (normal) depth buffer
rendering mode.
This method blends the color of transparent objects with anything that
can be seen through it (looks nicer). To work properly you should
switch to BSP rendering for polygon sorting
or results are undefined.
Texture maps in GIF or PNG format (and also inline textures) may
contain transparency information, which is used unless you turn off
this option. You must also have turned on texture lighting to have
transparent textures (otherwise you see the untextured face through
parts where the texture is transparent).
Supported texture image formats are JPEG, GIF, TIFF, PNG, and VRML
inline-textures. Transparent textures (GIF, PNG, inline) are supported
also.
Common platform specific formats like SGI/RGB and BMP may be supported
in a future version - their use is discouraged for cross platform
portability and because of their poor compression (also TIFF falls
into this category).
Texture transfer is initiated when switching the drawing mode to
texturing (ctrl-t). The right field of the status line contains the
hint "textured" if there are any texture references in the scene. For
more details on transfer issues see description for inline scenes. For antialiasing, lighting,
and transparency settings for textures see
above.
These options concern anchor
display and appearance.
Display (accelerator key F9) toggles anchor
highlighting.
The effect of the different hightlighting methods are also described on
the anchor page.
Via Choose... you can open a dialog for interactive color
selection. In the listbox in the top-right select the color you wish
to change:
You can use the RGB or HLS color space for selections. Values can be
changed with the sliders or by typing in the new values and entering
Return. The field on the left side contains a predefined color map to
choose from. With the Apply button you can test the changes;
when finished, confirm them with OK or press Cancel to
reject all changes.
The other menu items contain a few predefined colors, e.g. for quick
change of the background color to black, grey, lightgrey or white.
Gamma Correction
MESA_GAMMA
before starting VRweb. Some examples for
uniform and non-uniform (RGB separately) gamma correction and
deactivating it (depends on shell used):
[csh/tcsh etc.:] setenv MESA_GAMMA 2.0
setenv MESA_GAMMA "1.6 1.7 1.9"
unsetenv MESA_GAMMA
[sh/ksh/bash etc.:] MESA_GAMMA=2.0 ; export MESA_GAMMA
MESA_GAMMA="1.6 1.7 1.9" ; export MESA_GAMMA
unset MESA_GAMMA
Transparency
Texturing
Anchor Settings
Also available as button in the toolbar.
Color Selection