############################################################################### # ERS default configuration file # Jiri Bittner 2003 ############################################################################# Scene { filename ../data/vienna/vienna_cropped.obj } Preprocessor { samplesPerPass 500000 type vss detectEmptyViewSpace true loadMeshes false # internal raycaster: 0, intel: 1 rayCastMethod 0 exportVisibility false applyVisibilityFilter false applyVisibilitySpatialFilter false } VssTree { maxDepth 2 maxTotalMemory 50 maxStaticMemory 20 splitType regular splitUseOnlyDrivingAxis true } Limits { threshold 1e-6 small 1e-6 infinity 1e9 } KdTree { sahUseFaces true Termination { minCost 0 maxDepth 20 maxCostRatio 1.5 ct_div_ci 0.5 } splitMethod SAH splitBorder 0.01 } MeshKdTree { Termination { minCost 1 maxDepth 18 maxCostRatio 0.9 ct_div_ci 0.5 } splitMethod SAH splitBorder 0.01 } ViewCells { # samples used for view cell construction in the merge step Construction { samples 0 samplesPerPass 1000000 } # number of active view cells active 25000 maxStaticMemory 40 exportToFile true loadFromFile false #exportPvs true # type of view cells type vspOspTree #this ratio of the biggest pvs gives the threshold when a pvs is considered invalid maxPvsRatio 1.0 processOnlyValidViewCells false samplingType box PostProcess { # how much samples are used for post processing samples 0 maxMergesPerPass 5000 useRaysForMerge false refine false compress true merge false } Visualization { # how much samples we use for visualization samples 0 exportRays true exportGeometry true exportMergedViewCells false useClipPlane true clipPlaneAxis 1 clipPlanePos 0.3 maxOutput 0 } #showVisualization true showVisualization false evaluateViewCells false Evaluation { samples 80000000 samplesForStats 40000000 samplesPerPass 500000 stepSize 200 samplingType box histogram true histoStepSize 200 histoMem 60 statsPrefix ../scripts/viewCells } } ################################ # # View space partitioning kd tree # VspTree { Construction { renderCostDecreaseWeight 0.999 } Termination { minPvs 0 maxViewCells 4000 } # heuristics for computing local split planes useCostHeuristics false # maximum number of tests per node maxTests 500000 } # # The bounding volume hierarchy # BvHierarchy { Construction { renderCostDecreaseWeight 0.999 #renderCostDecreaseWeight 1.0 } Termination { maxLeaves 4000 } minRaysForVisibility 3 # heuristics for computing local split planes useCostHeuristics true # surface area or visibility based heuristics useSah false splitUseOnlyDrivingAxis false maxTests 500000 } ############################################################### # # Manages the construction of view space and object space partition # Hierarchy { # the type of object space partition: view space is always vsp (=kd) partition type bvh Construction { samples 1000000 # type 0 = sequential computation, 1 = interleaved, 2 = gradient type 2 ############################### # only for interleaved method # if dirty split candidates are reevaluated repairQueue true ################################################### # minimal steps of same domain (view /object): for interleaved mode minStepsOfSameType 100 maxStepsOfSameType 900 maxRepairs 2000 } Termination { # maximal number of leaves maxLeaves 300000 # maximal memory in MB # maxMemory 4 maxMemory 200 # minimum ratio of global cost decrease minGlobalCostRatio -1 } }