User Tools

Site Tools


keckcaves:config_file_template

Template for a personal configuration file:

section Vrui
    section "caveman.geology.ucdavis.edu"
        backgroundColor (0.0, 0.0, 0.0, 1.0)  # (R,G,B,opacity)
        #backgroundColor (0.3, 0.3, 0.3, 1.0)
      
        # Choose a viewing mode by commenting out the ones you don't want
        viewerNames (Viewer, ConsoleViewer)  # default settings
                # Viewer = person wearing the tracking device
                # ConsoleViewer = computer monitor
        #viewerNames (MonoViewer, ConsoleViewer)
                # For non-stereo rendering use MonoCAVEViewer
      
        section Viewer
            name Viewer
            headTracked true  # true or false, use false for fixed view rendering
            headDevice Head
          
            # The following line sets the fixed view stereo location if headTracked false
            headDeviceTransformation translate (0.0, -124.0, 48.0)    
                # translation in cave coords in inches, no rotation specified here
                # origin is in center of cave on floor, x to right, y to back, z up
                # front of floor, center: x=0 y=-36 z=0
          
            #use for video camera; offset of tracker to center of lens
            monoEyePosition (0.0, -2.0, -1.5)
          
            # your eye positions relative to the base of the tracker
            # when wearing the glasses
            leftEyePosition (-1.25, -2.0, -1.5)
            rightEyePosition (1.25, -2.0, -1.5)
            # for mono rendering, make right and left eye positions identical
        endsection
      
        section MonoViewer
            name Viewer
            headTracked false  # true or false, use false for fixed view rendering
            headDevice Head2  #Head2 is the cabled head tracker
          
            # The following line sets the fixed view stero location if headTracked false
            headDeviceTransformation translate (0.0, -96.0, 48.0)

            # for video need offset of tracker to center of lens
            monoEyePosition (0.0, 2.0, -1.5)
          
            # Left and right eye positions set to the same for mono projections
            leftEyePosition (0.0, 2.0, -1.5)
            rightEyePosition (0.0, 2.0, -1.5)
        endsection
      
    endsection
endsection
keckcaves/config_file_template.txt · Last modified: 2011/09/30 11:55 by sumner