home *** CD-ROM | disk | FTP | other *** search
/ Virtual Reality Homebrewer's Handbook / vr.iso / vr386 / vr386.cfg < prev    next >
Text File  |  1996-03-19  |  4KB  |  89 lines

  1. # the default VR-386 configuration file
  2. # 12/1/94 by Dave Stampe
  3. # leaving out this file defaults OK
  4.  
  5. # {} gives a list of options: end list to use defaults from then on
  6. # these are the possible commands:
  7.  
  8. # videodev  { v16.rvd v256.rvd <or other driver> }   # sets video driver
  9. # mousedev  { mouse <or other driver> }   # sets 2D or 2.5D mouse driver
  10. # headdev   { <a 3D or 6D head tracker driver> }     # sets head tracking driver
  11. # videodev  { v16.rvd v256.rvd <or other driver> }   # sets video driver
  12. # switchdev { sega <or other driver> }    # loads a stereo shutter driver
  13.  
  14.  
  15. # For these, sx..srz are floats for translation/rotation scaling
  16. # defaults should be 1 1 2 1 1 1
  17. # they are turned on with the /g option, and the pointer takes precedence
  18. #
  19. # glovedev { pglove <or other driver> } sx sy sz srx sry srz # sets glove driver
  20. # ptrdev   { <a 3D or 6D driver> }      sx sy sz srx sry srz # sets pointer driver
  21.  
  22. # glovecursor { <a .fig glove file, handsm.fig is default } # sets glove cursor
  23. # ptrcursor   { <a .plg pointer file } # sets 3D/6D pointer cursor
  24.  
  25. # Sets Sega driver output: able to share port with glove thru masking
  26. # all values hex: default is {com1:3fc com2:2fc} 30 30 20 00 00
  27. #
  28. # segaport <adr> <write mask> <left> <right> <off> <initial port value>
  29.  
  30. # Sets Powerglove driver output: able to share port with Sega thru masking
  31. # all values hex: default is 379 378 3 0 2 1 3 10 00
  32. #
  33. # pgloveport <inadr> <outadr> <write mask> <C0L0> <C0L1> <C1L0> <C1L1> <input mask> <initial port value>
  34.  
  35. # Sets Powerglove timing delays: default is 12 140
  36. #
  37. # pglovetime <bit delay> <byte delay>
  38.  
  39. # Sets all stereoscopic parameters (stop any time in list)
  40. # default is 600 250 320 50 600 1.0  -- all physical parameters in mm
  41. #
  42. # stereoset <scrn dist> <scrn width> <pixels> <eye sp> <convergence> <world scale>
  43.  
  44. # Sets up type of stereo display. SWITCH is "flicker", SPLIT is 2 windows on screen,
  45. # SEPERATE is different VGA cards (needs special hardware and video driver).
  46. #
  47. # stereotype { OFF SWITCH SEPERATE SPLIT }
  48.  
  49. # These set special parameters for stereo windows, for HMD's etc.  You can split
  50. # the screen into windows, use "rotated" display devices, mirrors, lenses, etc.
  51. #
  52. # stereoleft  <x pixel shift> <x flip flag> <rotate angle> <left edge> <top edge> <right edge> <bottom edge>
  53. # stereoright <x pixel shift> <x flip flag> <rotate angle> <left edge> <top edge> <right edge> <bottom edge>
  54.  
  55. # Now the actual devices:
  56. # some commented out: optional
  57.  
  58. #mousedev mousedrv.rpd             # test external mouse driver
  59. switchdev sega                     # internal Sega driver
  60. glovedev pglove 1 1 3 1 1 1        # internal powerglove driver, extra long reach
  61. glovecursor .\hand.fig             # default glove cursor (in home directory)
  62.  
  63. #segaport 3fc 3 3 1 0 0             # com1: Sega interface
  64. #segaport 2fc 3 3 1 0 0             # com2: Sega interface
  65. #segaport 2fc 3 1 3 0 0             # com2: reversed Sega
  66. segaport 378 c 4 8 0 0             # 3DTV PCVR or printer port Sega
  67.  
  68. pgloveport 379 378 3 0 2 1 3 10 00  # printer port PowerGlove cable
  69. pglovetime 12 140                   # normal PG delays
  70.  
  71. # headdev logitech1 0 0 0 0 0 0   # com1: logitech Red Baron 6D head tracker
  72. headdev logitech2 0 0 0 0 0 0   # com2: logitech Red Baron 6D head tracker
  73.  
  74. # pots: <pan degrees per count> <pan center count>
  75. #      <tilt degrees per count> <tilt center count>
  76. #             <noise reduction> <delta noise reduction>
  77. # headdev pots  0.5 300 0.5 300 8 0.01   # joystick 2 head tracker
  78.  
  79.  
  80.  
  81. # Video and Stereo mode set by Config:
  82. # Video Driver =  Std. 320x200 256 color
  83. # Stereo Mode =  Glasses: Normal
  84.  
  85. include devices.cfg   # devices control
  86.  
  87. videodev vd256.rvd                    # 256-color 320x200 VGA Y-mode
  88. stereoset  600 250 320 65 1500 1.0    # normal stereo
  89.