source: GTP/trunk/Lib/Vis/OnlineCullingCHC/scripts/terrainCulling.cfg @ 2360

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