Difference between revisions of "Vrconfig.txt"

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

Latest revision as of 19:35, 17 July 2009

 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
 }