-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdesktop.xml
More file actions
119 lines (84 loc) · 3.5 KB
/
desktop.xml
File metadata and controls
119 lines (84 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!-- This config works well for a desktop window that is designed to debug VR
Apps. It includes fake trackers, one for the head and one for each hand,
that are controlled through keyboard and mouse events. In this way, you can
test apps that expect input from 6-DOF trackers in a desktop mode.
It is rare that programmers will need to change anything in this config
file, but the settings that are most likely to change on an app-by-app
basis are listed first. -->
<MinVR>
<!-- GLOBAL SETTINGS (LIKE GLOBAL VARIABLES) -->
<!-- MinVR Plugins to Load - Most Common is to Use OpenGL for the
MinVRs GraphicsTookit and GLFW for MinVRs WindowToolkit -->
<PluginPath>../../build/plugins</PluginPath>
<GLFWPlugin pluginType="MinVR_GLFW"/>
<GLFWToolkit windowtoolkitType="VRGLFWWindowToolkit"/>
<OpenGLPlugin pluginType="MinVR_OpenGL"/>
<OpenGLToolkit graphicstoolkitType="VROpenGLGraphicsToolkit"/>
<!-- Version Number to Request for the OpenGL Graphcis Rendering Context -->
<ContextVersionMajor>3</ContextVersionMajor>
<ContextVersionMinor>3</ContextVersionMinor>
<!-- Setup a Desktop-Style Camera -->
<NearClip>0.001</NearClip>
<FarClip>500.0</FarClip>
<!-- same x,y field of view b/c requesting a square window below -->
<FieldOfViewX>60.0</FieldOfViewX>
<FieldOfViewY>60.0</FieldOfViewY>
<!-- Stereo Settings -->
<QuadBuffered>0</QuadBuffered>
<StereoFormat>Mono</StereoFormat>
<EyeSeparation>0.203</EyeSeparation>
<!-- Head Tracking with a Default/Initial LookAt -->
<HeadTrackingEvent>HeadTracker_Move</HeadTrackingEvent>
<LookAtUp type="floatarray">0,1,0</LookAtUp>
<LookAtEye type="floatarray">0,0,4</LookAtEye>
<LookAtCenter type="floatarray">0,0,0</LookAtCenter>
<!-- Other Graphics Window Settings -->
<Caption>MinVR Desktop</Caption>
<Border>1</Border>
<XPos>100</XPos>
<YPos>100</YPos>
<Width>1024</Width>
<Height>1024</Height>
<RGBBits>8</RGBBits>
<AlphaBits>8</AlphaBits>
<DepthBits>24</DepthBits>
<StencilBits>8</StencilBits>
<FullScreen>0</FullScreen>
<Resizable>1</Resizable>
<AllowMaximize>1</AllowMaximize>
<Visible>1</Visible>
<SharedContextGroupID>-1</SharedContextGroupID>
<UseGPUAffinity>1</UseGPUAffinity>
<GPUAffinity>0</GPUAffinity>
<UseDebugContext>0</UseDebugContext>
<MSAASamples>1</MSAASamples>
<Desktop hostType="VRStandAlone">
<!-- Input Devices: Three Fake Trackers -->
<FakeHead inputdeviceType="VRFakeHeadTrackerDevice">
<TrackerName>HeadTracker</TrackerName>
<ToggleOnOffEvent>Kbd1_Down</ToggleOnOffEvent>
</FakeHead>
<FakeHand1 inputdeviceType="VRFakeHandTrackerDevice">
<TrackerName>RHandTracker</TrackerName>
<ToggleOnOffEvent>Kbd2_Down</ToggleOnOffEvent>
<XYTranslationScale>2.0</XYTranslationScale>
<ZTranslationScale>2.0</ZTranslationScale>
</FakeHand1>
<FakeHand2 inputdeviceType="VRFakeHandTrackerDevice">
<TrackerName>LHandTracker</TrackerName>
<ToggleOnOffEvent>Kbd3_Down</ToggleOnOffEvent>
<XYTranslationScale>2.0</XYTranslationScale>
<ZTranslationScale>2.0</ZTranslationScale>
</FakeHand2>
<!-- Display Devices: Just A Single Graphics Window -->
<WindowNode displaynodeType="VRGraphicsWindowNode">
<TrackingNode displaynodeType="VRHeadTrackingNode">
<StereoNode displaynodeType="VRStereoNode">
<ProjectionNode displaynodeType="VRProjectionNode">
<DUMMY/>
</ProjectionNode>
</StereoNode>
</TrackingNode>
</WindowNode>
</Desktop>
</MinVR>