Vrconfig.txt

From CRIPTWiki
Jump to: navigation, search
 create HxTracking AmiraVR2
 AmiraVR2 config setOptValue 4
 AmiraVR2 fire
 proc onKeyF12 {} {
  echo "Switching viewer 0 to mono"
  AmiraVR2 config setOptValue 4
  AmiraVR2 fire
 }
 proc onKeyF11 {} {
  echo "Switching viewer 0 to stereo"
  AmiraVR2 config setOptValue 0
  AmiraVR2 fire
 }
 #Shift-F12 slot
 proc onKeyShiftF12 {} {
  echo "Shift-F12 pressed"
  exit
 }