File: threePipe.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 (109 lines) | stat: -rw-r--r-- 1,905 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
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
#define SINGLE_SCREEN
#define ASSYMETRICAL_FRUSTUM

Camera "Camera 1"
{
    RenderSurface "Window 1"
    {
        Visual  {
            DOUBLEBUFFER,
            RGBA,
            DEPTH_SIZE 1,
            RED_SIZE 8,
            GREEN_SIZE 8,
            BLUE_SIZE 8,
            ALPHA_SIZE 8
        }
#ifdef SINGLE_SCREEN
	     Screen 0;
		 WindowRectangle 0 0 426 512;
#else
		 Screen 2;
#endif
         InputRectangle -2.5 -0.5 -1.0 1.0;
	     Border off;
    }
    Lens {
		Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1 1000.0;
    }
	Offset {
#ifdef ASSYMETRICAL_FRUSTUM
		Shear 1.5 0.0; 
#else
		Rotate -90.0 1 0 0;
		Rotate -45.0 0 0 1;
		Rotate  90.0 1 0 0;
#endif
	}
}

Camera "Camera 2"
{
    RenderSurface "Window 2"
    {
        Visual  {
            DOUBLEBUFFER,
            RGBA,
            DEPTH_SIZE 1,
            RED_SIZE 8,
            GREEN_SIZE 8,
            BLUE_SIZE 8,
            ALPHA_SIZE 8
        }
		Screen 0;
#ifdef SINGLE_SCREEN
		WindowRectangle 426 0 426 512;
#endif
        InputRectangle -1.0 1.0 -1.0 1.0;
		Border off;
    }
    Lens {
		Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1 1000.0;
    }
}

Camera "Camera 3"
{
    RenderSurface "Window 3"
    {
        Visual  {
            DOUBLEBUFFER,
            RGBA,
            DEPTH_SIZE 1,
            RED_SIZE 8,
            GREEN_SIZE 8,
            BLUE_SIZE 8,
            ALPHA_SIZE 8
        }
#ifdef SINGLE_SCREEN
		Screen 0;
		WindowRectangle 852 0 426 512;
#else
		Screen 1;
#endif
        InputRectangle 0.5 2.5 -1.0 1.0;
		Border off;
    }
    Lens {
		Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1 1000.0;
    }
	Offset {
#ifdef ASSYMETRICAL_FRUSTUM
		Shear -1.5 0.0; 
#else
		Rotate -90.0 1 0 0;
		Rotate 45.0 0 0 1;
		Rotate  90.0 1 0 0;
#endif
	}
}


InputArea
{
    RenderSurface "Window 1" ;
    RenderSurface "Window 2" ;
    RenderSurface "Window 3" ;
}