File: twoProjectionRects.cfg

package info (click to toggle)
openscenegraph 1.2.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 26,924 kB
  • ctags: 25,229
  • sloc: cpp: 239,326; ansic: 2,178; sh: 1,990; yacc: 548; perl: 237; makefile: 227; lex: 151
file content (36 lines) | stat: -rw-r--r-- 533 bytes parent folder | download
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
RenderSurface "RenderSurface 0"
{
    Visual  { SetSimple }
    Screen 0;
    Border off;
    WindowRect 0 0 1280 480;
}

Camera "Camera 1"
{
	RenderSurface "RenderSurface 0";
	ProjectionRect 0.0 0.5 0.0 1.0;

    Lens {
		Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1 1000.0;
    }
	Offset {
		Shear 1.0 0.0;
	}
}

Camera "Camera 2"
{
	RenderSurface "RenderSurface 0";
	ProjectionRect 0.5 1.0 0.0 1.0;

    Lens {
		Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1 1000.0;
    }
	Offset {
		Shear -1.0 0.0;
	}
}