Changeset 1746 for GTP/trunk/Lib/Vis
- Timestamp:
- 11/14/06 11:25:12 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/scripts
- Files:
-
- 1 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env
r1745 r1746 40 40 exportKdTree false 41 41 # exportObj true 42 applyVisibilityFilter false 43 applyVisibilitySpatialFilter false 42 44 } 43 45 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/preprocess_visibility.env
r1216 r1746 6 6 Scene { 7 7 8 # filename ../data/glasgow/glasgow1.x3d 9 # filename vienna.x3d 10 # filename ../data/vienna/vienna-simple.x3d 11 #filename ../data/vienna/vienna-buildings.x3d 12 #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d;../data/vienna/vienna-plane.x3d;../data/vienna/vienna-roads.x3d 13 # filename ../data/vienna/viewcells-25-sel.x3d 14 #filename ../data/atlanta/atlanta2.x3d 15 filename ../data/soda/soda.dat 8 filename ../data/vienna/vienna_cropped.obj 9 #filename ../data/soda/soda.dat 16 10 #filename ../data/soda/soda5.dat 17 #filename ../data/PowerPlant/ppsection1/part_a/g0.ply18 #filename ../data/PowerPlant/ppsection1/part_b/g0.ply19 #filename ../data/PowerPlant/ppsection1.plb20 #filename ../data/PowerPlant/all.plb21 #filename ../data/PowerPlant/selection3.plb22 #filename ../data/PowerPlant/section10.plb;../data/PowerPlant/section14.plb23 #filename ../data/PowerPlant/selection.plb24 #filename ../data/PowerPlant/comps/ppsection1/comps.plb25 11 } 26 12 27 13 Preprocessor { 14 delayVisibilityComputation false 28 15 # stored sample rays 29 16 samplesFilename rays.out 30 17 useGlRenderer false 31 18 useGlDebugger false 19 # 0 = INTERNAL 1 = MLRT 20 21 rayCastMethod 0 22 32 23 # type sampling 33 24 # type vss 34 25 type rss 35 26 # type render 36 detectEmptyViewSpace false27 detectEmptyViewSpace true 37 28 pvsRenderErrorSamples 0 38 # pvsRenderErrorSamples 100039 29 quitOnFinish true 40 30 computeVisibility true 41 applyVisibilityFilter 42 applyVisibilitySpatialFilter true31 applyVisibilityFilter false 32 applyVisibilitySpatialFilter false 43 33 visibilityFilterWidth 0.01 34 exportVisibility true 44 35 visibilityFile visibility.xml 45 } 46 36 loadMeshes false 37 loadKdTree false 38 exportKdTree false 39 } 40 41 ObjParser { 42 meshGrouping 2 43 } 44 45 RenderSampler { 46 samples 10000 47 } 48 49 50 SamplingPreprocessor { 51 totalSamples 100000000 52 samplesPerPass 1000000 53 } 47 54 48 55 RssPreprocessor { 49 samplesPerPass 1000000 50 initialSamples 1000000 51 vssSamples 5000000 52 vssSamplesPerPass 1000000 56 samplesPerPass 1000 57 initialSamples 2000000 58 vssSamples 100000000 59 # vssSamples 1000000 60 vssSamplesPerPass 3000000 53 61 useImportanceSampling true 54 62 … … 60 68 rssTree false 61 69 rays false 62 numRays 2000 070 numRays 2000 63 71 } 64 72 … … 69 77 } 70 78 71 72 79 RssTree { 73 80 epsilon 1e-6 74 81 perObjectTree false 75 82 76 maxDepth 4077 minPvs 383 maxDepth 60 84 minPvs 1 78 85 # before vienna test it was: 79 86 # minRays 50 … … 83 90 minSize 0.001 84 91 maxCostRatio 1.0 85 maxRayContribution 0.586 maxRays 200000092 maxRayContribution 1.0 93 maxRays 3000000 87 94 maxTotalMemory 200 88 95 maxStaticMemory 100 89 96 90 splitType regular97 # splitType regular 91 98 # splitType heuristic 92 # splitType hybrid 99 splitType hybrid 100 hybridDepth 10 93 101 splitUseOnlyDrivingAxis false 102 #false 94 103 importanceBasedCost false 95 104 … … 140 149 141 150 142 143 151 ViewCells { 144 152 # samples used for view cell construction 145 153 Construction { 146 samples 100000 147 samplesPerPass 100000 148 } 149 150 Filter { 151 maxSize 5 152 width 0.05 154 samples 0 155 samplesPerPass 1500000 153 156 } 154 157 155 158 #number of active view cells 156 active 5000 159 active 20000 160 maxViewCells 20000 161 157 162 maxStaticMemory 40 158 163 159 exportToFile false164 exportToFile true 160 165 loadFromFile true 161 166 … … 163 168 #type vspKdTree 164 169 #type bspTree 165 type vspBspTree 170 #type vspBspTree 171 type vspOspTree 166 172 #type sceneDependent 167 173 168 174 height 5.0 169 maxViewCells 5000170 175 171 176 #percentage of total visible objects where pvs is considered invalid 172 177 maxPvsRatio 1.0 173 178 174 pruneEmptyViewCells false175 179 processOnlyValidViewCells false 176 180 177 181 #stats viewCellStats.log 178 182 179 samplingType directional180 #samplingType box183 #samplingType directional 184 samplingType box 181 185 182 186 PostProcess { 183 187 # how much samples are used for post processing 184 samples 100000188 samples 0 185 189 renderCostWeight 1.0 186 190 maxCostRatio 0.1 … … 189 193 maxMergesPerPass 5000 190 194 useRaysForMerge false 191 refine false192 195 compress false 193 196 merge false … … 196 199 Visualization { 197 200 # how much samples we use for visualization 198 samples 100000201 samples 0 199 202 #colorCode PVS 200 203 #colorCode MergedLeaves … … 202 205 colorCode Random 203 206 exportRays false 204 exportGeometry false207 exportGeometry true 205 208 exportMergedViewCells false 206 209 useClipPlane true 207 210 clipPlaneAxis 1 208 } 209 210 showVisualization false 211 clipPlanePos 0.3 212 } 213 214 showVisualization false 211 215 evaluateViewCells false 212 216 213 217 Evaluation { 214 samplesPerPass 500215 samples 1000218 samplesPerPass 1000000 219 samples 5000000 216 220 statsPrefix ../scripts/viewCells 217 } 218 219 # filename ../data/atlanta/atlanta_viewcells_large.x3d 220 # filename ../data/vienna/viewcells-25-sel.x3d 221 # filename ../data/vienna/viewcells-25.x3d 222 # filename ../data/vienna/viewcells-large-sel.x3d 223 # filename ../scripts/viewcells_vienna.xml 224 # filename ../scripts/viewcells_atlanta.xml 225 # filename ../scripts/viewcells_soda5-2.xml 226 # filename ../data/soda/soda5-viewcells.xml 227 # filename ../scripts/viewcells_atlanta.xml 228 # filename ../data/soda/soda5-viewcells2.xml 229 filename ../data/atlanta/viewcells_atlanta3.xml 230 # filename ../data/vienna/viewcells_vienna.xml 231 # filename ../data/PowerPlant/power_plant_viewcells_all3.xml 232 } 221 #samplingType directional 222 samplingType box 223 histogram true 224 histoStepSize 5000 225 } 226 227 filename ../data/vienna/vienna_cropped-gradient-viewcells.xml.gz 228 } 229 233 230 234 231 … … 239 236 moveSpeed 0.0001 240 237 } 241 242 243 VspKdTree {244 epsilon 1e-6245 246 Construction {247 samples 500000248 }249 250 Termination {251 maxDepth 40252 minPvs 0253 minRays 1254 minSize 0.001255 maxCostRatio 5.9256 maxViewCells 169257 missTolerance 4258 maxRayContribution 2.5259 }260 261 maxTotalMemory 100262 maxStaticMemory 40263 264 splitType regular265 #splitType heuristics266 splitUseOnlyDrivingAxis true267 ct_div_ci 0.0268 269 # maximal cost for merging a view cell270 PostProcess {271 maxCostRatio 0.005272 minViewCells 10000273 maxPvsSize 5000274 }275 276 277 Visualization {278 }279 }280
Note: See TracChangeset
for help on using the changeset viewer.