Changeset 2539 for GTP/trunk/Lib/Vis/Preprocessing/scripts
- Timestamp:
- 08/08/07 15:50:33 (17 years ago)
- Location:
- GTP/trunk/Lib/Vis/Preprocessing/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.env
r2537 r2539 7 7 8 8 filename ../data/vienna/vienna_cropped.obj 9 # filename ../data/soda/soda.dat10 # filename ../data/soda/soda5.dat11 # filename ../data/artificial/cube_test.x3d12 # filename ../data/CityModel.obj13 # filename ../data/arena/arena-low-lods.obj14 9 } 15 10 … … 21 16 loadMeshes false 22 17 23 # internal raycaster 18 # internal raycaster: 0, intel: 1 24 19 rayCastMethod 0 25 # intel raycaster26 #rayCastMethod 127 20 28 21 exportVisibility false … … 32 25 33 26 34 RssPreprocessor {35 distributions mutation+spatial+object_direction36 #distributions spatial37 38 39 useImportanceSampling true40 41 Export {42 pvs false43 rssTree false44 }45 46 useViewcells true47 updateSubdivision true48 loadInitialSamples false49 storeInitialSamples false50 51 useRssTree true52 }53 54 55 56 27 VssTree { 57 useRss false58 epsilon 1e-659 60 28 maxDepth 2 61 minPvs 30 62 minRays 800 63 minSize 0.001 64 maxCostRatio 1.5 65 maxRayContribution 0.5 66 29 67 30 maxTotalMemory 50 68 31 maxStaticMemory 20 69 32 70 33 splitType regular 71 # splitType heuristic72 # splitType hybrid73 34 splitUseOnlyDrivingAxis true 74 75 interleaveDirSplits true76 dirSplitDepth 077 78 numberOfEndPointDomains 1000079 ct_div_ci 0.080 randomize false81 82 refDirBoxMaxSize 0.183 35 } 84 36 … … 88 40 small 1e-6 89 41 infinity 1e9 90 }91 92 93 Unigraphics {94 meshGrouping 195 42 } 96 43 … … 107 54 } 108 55 109 # splitMethod spatialMedian110 56 splitMethod SAH 111 57 splitBorder 0.01 … … 120 66 } 121 67 122 # splitMethod spatialMedian123 68 splitMethod SAH 124 69 splitBorder 0.01 … … 146 91 type vspOspTree 147 92 148 # percentage of total visible objects wherepvs is considered invalid93 #this ratio of the biggest pvs gives the threshold when a pvs is considered invalid 149 94 maxPvsRatio 1.0 150 95 … … 175 120 } 176 121 177 showVisualization true178 #showVisualization false122 #showVisualization true 123 showVisualization false 179 124 evaluateViewCells false 180 125 181 126 182 127 Evaluation { 183 128 samples 80000000 … … 210 155 Termination { 211 156 minPvs 0 212 maxViewCells 500000 213 } 214 157 maxViewCells 4000 158 } 159 160 # heuristics for computing local split planes 215 161 useCostHeuristics false 216 splitUseOnlyDrivingAxis false217 162 218 163 # maximum number of tests per node … … 230 175 Construction { 231 176 renderCostDecreaseWeight 0.999 232 } 233 234 Termination { 235 maxLeaves 3000 177 #renderCostDecreaseWeight 1.0 178 } 179 180 Termination { 181 maxLeaves 4000 236 182 } 237 183 238 184 minRaysForVisibility 3 239 #minRaysForVisibility 15 240 241 useCostHeuristics false 185 186 # heuristics for computing local split planes 187 useCostHeuristics true 188 # surface area or visibility based heuristics 242 189 useSah false 243 190 … … 281 228 Termination { 282 229 # maximal number of leaves 283 maxLeaves 30000 230 maxLeaves 300000 284 231 # maximal memory in MB 285 maxMemory 17 232 # maxMemory 4 233 maxMemory 200 286 234 # minimum ratio of global cost decrease 287 235 minGlobalCostRatio -1 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/generate_viewcells.sh
r2535 r2539 8 8 9 9 PROGRAM=../bin/$TARGET/Preprocessor.exe 10 #PROGRAM=../bin/$TARGET/Preprocessor_itl.exe 10 11 11 12 12 EXT=obj … … 15 15 SCENE_PATH=../data/vienna 16 16 17 #SCENE=arena-high-lods 18 #SCENE_PATH=../data/Arena 19 20 17 21 ENVIRONMENT=generate_viewcells.env 18 LOG_PREFIX= ../scripts/$SCENE22 LOG_PREFIX=$SCENE 19 23 20 24 echo "starting $TARGET mode for $SCENE scene ($PROGRAM)" … … 22 26 SCENE_FILENAME=$SCENE_PATH/$SCENE.$EXT 23 27 24 OBJ_WEIGHT=2025 28 26 29 ####################################################### … … 28 31 METHOD=seq 29 32 30 # the # of bvh nodes 31 NODES=3000 33 NODES=4000 34 VIEWCELLS=4000 35 #USE_HEUR=true 36 USE_HEUR=false 37 OBJ_WEIGHT=20 32 38 33 39 … … 42 48 -hierarchy_subdivision_stats=$LOG_PREFIX-$METHOD-hierarchy-subdivisionStats.log \ 43 49 -hierarchy_construction_type=0 \ 44 -vsp_use_cost_heuristics=false \ 45 -bvh_term_max_leaves=$NODES 50 -view_cells_triangle_weight=1.0 \ 51 -view_cells_object_weight=$OBJ_WEIGHT \ 52 -vsp_use_cost_heuristics=$USE_HEUR \ 53 -bvh_term_max_leaves=$NODES \ 54 -vsp_term_max_view_cells=$VIEWCELLS 46 55 47 56 sh movefiles.sh $LOG_PREFIX-$METHOD 57 -
GTP/trunk/Lib/Vis/Preprocessing/scripts/gi_final.sh
r2535 r2539 8 8 9 9 PROGRAM=../bin/$TARGET/Preprocessor.exe 10 #PROGRAM=../bin/$TARGET/Preprocessor_itl.exe11 10 12 11 EXT=obj
Note: See TracChangeset
for help on using the changeset viewer.