1 | # |
---|
2 | # Online culling settings |
---|
3 | # |
---|
4 | |
---|
5 | OnlineCullingAlgorithm=CHC |
---|
6 | #OnlineCullingAlgorithm=SWC |
---|
7 | #OnlineCullingAlgorithm=VFC |
---|
8 | #OnlineCullingAlgorithm=DEFAULT |
---|
9 | |
---|
10 | # |
---|
11 | # Should depth first pass be used? depth pass renders depth first, then rerenders geometry with all parameters |
---|
12 | # |
---|
13 | |
---|
14 | DepthPass=no |
---|
15 | |
---|
16 | # |
---|
17 | # If vertex programs should be executed even in the depth pass. |
---|
18 | # This options but is necessary if vertex shader alters geometry. But it can slow down the depth pass. |
---|
19 | |
---|
20 | ExecuteVertexProgramForDepth=no |
---|
21 | |
---|
22 | # |
---|
23 | # render queue is flushed after some frames (can improve performance) |
---|
24 | # |
---|
25 | |
---|
26 | FlushQueue=yes |
---|
27 | |
---|
28 | ########################################################## |
---|
29 | |
---|
30 | # |
---|
31 | # Settings for visible objects queries (used by _findVisibleObjects method of the scene manager) |
---|
32 | # |
---|
33 | |
---|
34 | # if visibility based queries should be applied instead of standard Octree SceneManager findvisibleobjects based |
---|
35 | # on frustum culling only |
---|
36 | |
---|
37 | UseVisibilityQueries=yes |
---|
38 | |
---|
39 | |
---|
40 | # For visibility based queries: the modes go from exact (exact visibility but slow) |
---|
41 | # to node (exact visibility on node level, faster) to approximate (fastest but only approximate visibility) |
---|
42 | |
---|
43 | #QueryObjectsMode=EXACT |
---|
44 | QueryObjectsMode=NODE |
---|
45 | #QueryObjectsMode=APPROXIMATE; |
---|
46 | |
---|
47 | |
---|
48 | # If queries should use no material for rendering. |
---|
49 | # Don't use this option if vertex program / fragment program changes geometry |
---|
50 | |
---|
51 | ResetMaterialForQueries=no |
---|
52 | |
---|
53 | |
---|
54 | |
---|
55 | ###################################################################### |
---|
56 | |
---|
57 | # |
---|
58 | # Scene geometry loading |
---|
59 | # |
---|
60 | |
---|
61 | # |
---|
62 | # The scene geometry |
---|
63 | # |
---|
64 | |
---|
65 | |
---|
66 | #Scene=../../../../../resources/media/house_test1.iv |
---|
67 | #Scene=../../../../../resources/media/city1500_flat_1.iv;../../../../../resources/media/roofs_1500.iv;../../../../../resources/media/CityRoads60.iv;../../../../../resources/media/CityPlane60.iv |
---|
68 | #Scene=../../../../../resources/media/city1.iv;../../../../../resources/media/roofs_1500.iv;../../../../../resources/media/CityRoads60.iv;../../../../../resources/media/CityPlane60.iv |
---|
69 | |
---|
70 | #Scene=vienna_cropped.obj |
---|
71 | |
---|
72 | # |
---|
73 | # use this option to render only terrain |
---|
74 | # |
---|
75 | |
---|
76 | Scene=terrain |
---|
77 | |
---|
78 | |
---|
79 | ###################################################### |
---|
80 | |
---|
81 | # |
---|
82 | # Visibility solution (works not yet with terrain) |
---|
83 | # |
---|
84 | |
---|
85 | #ViewCells=../../../../../../../GTP/trunk/Lib/Vis/Preprocessing/scripts/vienna-visibility.xml.gz |
---|
86 | |
---|
87 | |
---|
88 | |
---|
89 | ################################################################## |
---|
90 | # |
---|
91 | # Terrain scene manager settings |
---|
92 | # |
---|
93 | |
---|
94 | |
---|
95 | |
---|
96 | # The main world texture (if you wish the terrain manager to create a material for you) |
---|
97 | WorldTexture=terrain_texture.jpg |
---|
98 | |
---|
99 | # The detail texture (if you wish the terrain manager to create a material for you) |
---|
100 | DetailTexture=terrain_detail.jpg |
---|
101 | |
---|
102 | #number of times the detail texture will tile in a terrain tile |
---|
103 | DetailTile=3 |
---|
104 | |
---|
105 | # Heightmap source |
---|
106 | PageSource=Heightmap |
---|
107 | |
---|
108 | # Heightmap-source specific settings |
---|
109 | Heightmap.image=terrain.png |
---|
110 | |
---|
111 | # If you use RAW, fill in the below too |
---|
112 | # RAW-specific setting - size (horizontal/vertical) |
---|
113 | #Heightmap.raw.size=513 |
---|
114 | # RAW-specific setting - bytes per pixel (1 = 8bit, 2=16bit) |
---|
115 | #Heightmap.raw.bpp=2 |
---|
116 | # Use this if you want to flip the terrain (eg Terragen exports raw upside down) |
---|
117 | #Heightmap.flip=true |
---|
118 | |
---|
119 | # How large is a page of tiles (in vertices)? Must be (2^n)+1 |
---|
120 | PageSize=513 |
---|
121 | |
---|
122 | # How large is each tile? Must be (2^n)+1 and be smaller than PageSize |
---|
123 | TileSize=65 |
---|
124 | |
---|
125 | # The maximum error allowed when determining which LOD to use |
---|
126 | MaxPixelError=3 |
---|
127 | |
---|
128 | # The size of a terrain page, in world units |
---|
129 | PageWorldX=5000 |
---|
130 | PageWorldZ=5000 |
---|
131 | |
---|
132 | # Maximum height of the terrain |
---|
133 | MaxHeight=400 |
---|
134 | |
---|
135 | # Upper LOD limit |
---|
136 | MaxMipMapLevel=1 |
---|
137 | |
---|
138 | #VertexNormals=yes |
---|
139 | #VertexColors=yes |
---|
140 | #UseTriStrips=yes |
---|
141 | |
---|
142 | # Use vertex program to morph LODs, if available |
---|
143 | VertexProgramMorph=no |
---|
144 | |
---|
145 | # The proportional distance range at which the LOD morph starts to take effect |
---|
146 | # This is as a proportion of the distance between the current LODs effective range, |
---|
147 | # and the effective range of the next lower LOD |
---|
148 | LODMorphStart=0.2 |
---|
149 | |
---|
150 | # This following section is for if you want to provide your own terrain shading routine |
---|
151 | # Note that since you define your textures within the material this makes the |
---|
152 | # WorldTexture and DetailTexture settings redundant |
---|
153 | |
---|
154 | # The name of the vertex program parameter you wish to bind the morph LOD factor to |
---|
155 | # this is 0 when there is no adjustment (highest) to 1 when the morph takes it completely |
---|
156 | # to the same position as the next lower LOD |
---|
157 | # USE THIS IF YOU USE HIGH-LEVEL VERTEX PROGRAMS WITH LOD MORPHING |
---|
158 | #MorphLODFactorParamName=morphFactor |
---|
159 | |
---|
160 | # The index of the vertex program parameter you wish to bind the morph LOD factor to |
---|
161 | # this is 0 when there is no adjustment (highest) to 1 when the morph takes it completely |
---|
162 | # to the same position as the next lower LOD |
---|
163 | # USE THIS IF YOU USE ASSEMBLER VERTEX PROGRAMS WITH LOD MORPHING |
---|
164 | #MorphLODFactorParamIndex=4 |
---|
165 | |
---|
166 | # The name of the material you will define to shade the terrain |
---|
167 | #CustomMaterialName=TestTerrainMaterial |
---|