# PowerMIL's graphics configuration file.
#
# History.
# DICC Who When
What
# ----- --- -------- -----------------------------------------
----------------
# nnnnn CLH 12/09/97 Alter to be like PowerMILL 2370
#
24097 MH 20/06/98 Add extra mouse functions
# 26682 NRP 03/02/99 Added
trackball_virtual_radius.
# 27656 NRP 07/05/99 Comment out the
trackball_virtual_radius resource to
# stop the
trackball going strange when the locale's
# decimal
symbol is not '.' (temporary fix).
# 28127 NRP 16/06/99 Sort out the
mouse translations to follow the latest
# Power
Solution standard.
# 29305 NRP 08/10/99 Change the trackball to rotate
around a (application
# defined) world point.
#
30191 TB 14/12/99 Moved here from powermillnt
# 31543 NRP 30/03/00
Added several useful resources which can be used to help
#
users with graphics card related problems.
# 32570 NRP 20/06/00
Added extra resources to help users with graphics card
#
related problems.
# 36990 NRP 16/07/01 Added resources for
controlling the new twiddling.
# 44752 NRP 06/02/03 Added the
mouse_context translation.
# 52770 NRP 15/09/04 Button 1 now uses the
mouse_context translation.
# 52925 NRP 24/09/04 Added invert_zoom
(commented out).
# 64222 PSL 04/01/07 Added adjust_clip_planes and
spaceball_focus_follows_key.
#---------------------------------------
--------------------------------------
#
# Trackball.
trackball_icon_radius: 20.0
#trackball_virtual_radius: 0.3
#
#
Translations.
# These determine which dynamic view controls are mapped
to which
# keys/buttons.
translations: \
\
<shift alt> mouse_button 1 :
rotate_view(x_axis) \
mouse_button 1 : mouse_context \
\
<shift alt>
mouse_button 2 : rotate_view(y_axis) \
<shift control> mouse_button 2 :
zoom_box \
<control> mouse_button 2 : zoom(and_pan_centre) \
<shift>
mouse_button 2 : pan(and_pan_centre) \
mouse_button 2 : trackball
(world) \
\
<shift alt> mouse_button 3 : rotate_view(z_axis) \
<alt>
mouse_button 3 : zoom_box \
<shift control> mouse_button 3 : trackball
(world) \
<control> mouse_button 3 : zoom(and_pan_centre) \
<shift>
mouse_button 3 : pan(and_pan_centre)
mouse_button 3 : \
\
function_key 7
: move_front_back(front) \
function_key 8 : move_front_back(back) \
function_key 9 : reset_front_back \
\
qwerty_key 97 : trackball(world)
#
#
If you think the default direction in which the mouse/mouse wheel is
moved
# to zoom in/out is the wrong way round, then comment in this
resource to
# invert it.
#invert_zoom: true
#
# OpenGL display lists are
used (by default) to improve the twiddling
# performance of shaded
objects.
#opengl_display_lists: false
#
# Comment in this resource to
disable the new, faster twiddling.
# NOTE - This resource will soon be
deprecated.
#disable_refresher_fast: true
#
# Users of E&S Lightning 1200
graphics cards might need to uncomment
# this resource if the graphics
window fails to appear.
#zero_wgl_context: true
#
# Comment this
resource in to force an extra erase when the front and back
# buffers
are swapped.
#erase_on_swap_buffers: true
#
# Comment this resource in
to prevent the scissor box from being reset before
# it is set. The
default setting appears to sort out certain problems on
# Elsa Synergy
II cards. Having this resource set to TRUE by default does not
#
appear to have any effect on performance.
#reset_scissor_box: false
#
#
Software picking.
# Picking is done in hardware by default.
Uncommenting this
# resource *may* solve some picking-related
problems.
#software_picking: yes
#
# Depth testing.
# We can force depth-
testing (zbuffering) to always be on
# in OpenGL. This is known to fix
a problem with line undrawing
# on Elsa Synergy II cards. By default,
the behaviour is on for
# Elsa Synergy II cards and off for any
others.
# Uncomment one of the resources below to override the default
behaviour.
#always_enable_depth_test: true
#always_enable_depth_test:
false
#
# Double Buffering.
# We can either double buffer or single
buffer.
buffer_mode: double
#buffer_mode: single
#
# Driver type.
# This
resource is ignored under NT.
#driver_type: x
# We could adjust the clip
planes during twiddling if experiencing problems
# when using a
spaceball. This can be enabled by uncommenting this:
#adjust_clip_planes: true
# Uncomment this to causes the spaceball
focus to be lost when the
# keyboard focus is lost.
#spaceball_focus_follows_key: true |