-
Notifications
You must be signed in to change notification settings - Fork 0
/
__test4.scr
75 lines (60 loc) · 3.87 KB
/
__test4.scr
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
//----------------------------------------------------------------------------
// Test 4: Biology
//----------------------------------------------------------------------------
//-- Video setup --
VIDEO
FullScreen 1 //If set true, then the display is in full screen
Res 1024 768
BitsPerPixel 32
Refresh 60 //Refresh rate in Hz
//-- Renderer setup --
RENDER
//ProfEquLimX 10000 ProfEqu NULL //Profile curve: None, default perspective
//ProfEquLimX 1.666 ProfEqu "-x + 1;" //Line
//ProfEquLimX 1.666 ProfEqu "-sqrt(4.0 * (1 + 1.5*x^2)) + 3;" //Hyperbola
ProfEquLimX 1.666 ProfEqu "-(x*x*x) + x*x + x + 1;"
//-- View, camera and display settings --
CamApeture 1.3333333333 1 1 //X, Y Camera apeture size, and Z = field of view
//-- Flags --
ClearFlag 1 //If set true, the frame buffer is cleared with BackgndColor after refresh
ShadowFlag 0 //If set true, shadows are generated (ray tracer only)
RefractFlag 1 //If set true, refractions are rendered (ray tracer only)
ReflectFlag 1 //If set true, reflections are rendered (ray tracer only)
HotspotFlag 0 //Render in hotspot mode (ray tracer only)
AntiAliasFlag 0 //Do anti-aliasing
PCompFlag 0 //If set true, then projetor viewpoint compesation is enabled
//-- Other attributes --
BackgndColor 0.0 0.2 0.4 //Background color
POffset -0.4 //Projector z-offset in world coords (must be always negative < 0)
AA_Treshold 0.03 //The luminance threshold for anti-aliasing (ray tracer only)
AA_Samples 32 //Number of samples for anti-aliasing (ray tracer only)
AA_Jitter 0.0075 //Jitter amplitude for anti-aliasing (ray tracer only)
MaxRayDepth 4 //Maximum ray-tracing recursions
AdaptDepthTresh 0.05 //The threshold for adatptive depth control (ray tracer only)
SubdivTresh 0.2 //Subdivision threshold (OpenGL only)
Max_LOD 0 //Maximum polygon sub-div recursions - USE IT WISELY! (OpenGL only)
CurrentDevice 4 //Specifies the current redering mode:
// NULL = 0, DDRAW = 1, D3D = 2, GLIDE = 3, OPENGL = 4, RAY = 5
//-- Setup world attributes --
WORLD
VOrigin 0 1.5 6 //Initial view origin in the world
VVelocity 0 0 0 //Initial view velocity
VRotation 0 0 0 //Initial view rotation
VOrientation 0 180 0.00000000000001 //Initial View orientation
//---- Building --------------------------------------------------------------
//-- Floor Far Left --
ENTITY
Class "objects/biology.scn"
Coord 0 0 0
Orientation 90 0 180
ScaleConst 1.0 1.0 1.0
Velocity 0 0 0
Rotation 0 0 0
//-- Light setup --
LIGHT AmbColor 0.1 0.2 0.4 //Setup ambient light color. Coord and Color keywords are ignored.
LIGHT Coord -8 5 8 //Red-ish
Color 0.7 0.5 0.3
LIGHT Coord 8 5 8 //Blue-ish
Color 0.4 0.5 0.7
LIGHT Coord 0 5 -8 //Green-ish
Color 0.5 0.8 0.5