repo.or.cz
/
opensg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
changed: gcc8 base update
[opensg.git]
/
Examples
/
CSM
/
Shader
/
Earth
/
globals.osg
blob
4b17396c3a199c45a52900f0a17784352f9da6af
1
#OSG V1.0
2
3
ContainerCollection
4
{
5
containers
6
[
7
DEF CUp KeySensor
8
{
9
key "s"
10
stateFlipFlop TRUE
11
}
12
13
DEF CDown KeySensor
14
{
15
key "S"
16
stateFlipFlop TRUE
17
}
18
19
DEF LR32Counter LimitedReal32Counter
20
{
21
value 0.0
22
step 0.01
23
24
upperLimit 0.435
25
lowerLimit -0.435
26
}
27
28
# very crude
29
DEF RotCos VRMLScalarInterpolator
30
{
31
key
32
[
33
0,
34
0.25,
35
0.5,
36
0.75,
37
1.0
38
]
39
40
keyValue
41
[
42
1.0,
43
0.0,
44
-1.0,
45
0.0,
46
1.0
47
]
48
}
49
50
# very crude
51
DEF RotSin VRMLScalarInterpolator
52
{
53
key
54
[
55
0,
56
0.25,
57
0.5,
58
0.75,
59
1.0
60
]
61
keyValue
62
[
63
0.0,
64
1.0,
65
0.0,
66
-1.0,
67
0.0
68
]
69
}
70
71
DEF SceneTimer TimeSensor
72
{
73
loop TRUE
74
cycleInterval 10
75
}
76
]
77
}
78
79