############################################################################# # ERS default configuration file # Jiri Bittner 2003 ############################################################################# Scene { # filename glasgow1.x3d # filename vienna.x3d # filename ../data/vienna/vienna-simple.x3d # filename ../data/vienna/vienna-buildings.x3d #filename ../data/vienna/vienna-buildings.x3d;../data/vienna/vienna-roofs.x3d #;../data/vienna/vienna-plane.x3d # filename ../data/vienna/viewcells-25-sel.x3d # filename ../data/atlanta/atlanta2.x3d # filename ../data/soda/soda.dat filename ../data/soda/soda5.dat } Preprocessor { # stored sample rays samplesFilename rays.out useGlRenderer false # type sampling type vss # type rss } VssPreprocessor { samplesPerPass 100000 initialSamples 300000 vssSamples 500000 vssSamplesPerPass 100000 useImportanceSampling true loadInitialSamples false storeInitialSamples false useViewSpaceBox true } SamplingPreprocessor { totalSamples 500000 samplesPerPass 3 } VssTree { useRss false epsilon 1e-6 maxDepth 40 minPvs 30 minRays 1000 minSize 0.001 maxCostRatio 0.9 maxRayContribution 0.05 maxTotalMemory 200 maxStaticMemory 20 splitType regular # splitType heuristic # splitType hybrid splitUseOnlyDrivingAxis true interleaveDirSplits false dirSplitDepth 40 numberOfEndPointDomains 10000 ct_div_ci 0.0 randomize false refDirBoxMaxSize 0.1 } RssPreprocessor { samplesPerPass 100000 initialSamples 500000 vssSamples 10000000 vssSamplesPerPass 500000 useImportanceSampling true directionalSampling true objectBasedSampling false Export { pvs false rssTree false rays true numRays 5000 } useViewcells true updateSubdivision true loadInitialSamples true storeInitialSamples false } RssTree { epsilon 1e-6 maxDepth 40 minPvs 3 minRays 30 minSize 0.001 maxCostRatio 1.0 maxRayContribution 0.5 maxRays 1000000 maxTotalMemory 200 maxStaticMemory 100 # splitType regular # splitType heuristic splitType hybrid splitUseOnlyDrivingAxis true importanceBasedCost false interleaveDirSplits true dirSplitDepth 0 numberOfEndPointDomains 10000 ct_div_ci 0.0 randomize false refDirBoxMaxSize 0.1 } Limits { threshold 1e-6 small 1e-6 infinity 1e9 } Unigraphics { meshGrouping 1 } KdTree { sahUseFaces true Termination { minCost 1 maxDepth 18 maxCostRatio 0.9 ct_div_ci 0.5 } # splitMethod spatialMedian splitMethod SAH splitBorder 0.01 } MeshKdTree { Termination { minCost 1 maxDepth 18 maxCostRatio 0.9 ct_div_ci 0.5 } # splitMethod spatialMedian splitMethod SAH splitBorder 0.01 } ViewCells { loadFromFile true exportToFile false #type kdTree #type vspKdTree #type bspTree type vspBspTree #type sceneDependent height 5.0 maxViewCells 100 #percentage of total visible objects where pvs is considered invalid maxPvsRatio 1 delayedConstruction true PostProcess { # how much samples are used for post processing samples 100000 } Visualization { # how much samples we use for visualization samples 5000 #colorCode PVS #colorCode MergedLeaves #colorCode MergedTreeDiff colorCode Random exportRays false exportGeometry true } # filename ../data/atlanta/atlanta_viewcells_large.x3d # filename ../data/vienna/viewcells-25-sel.x3d # filename ../data/vienna/viewcells-25.x3d # filename ../data/vienna/viewcells-large-sel.x3d filename ../scripts/viewcells_soda.xml } Simulation { objRenderCost 1.0 vcOverhead 1.0 # always between 0 and 1 moveSpeed 0.0001 } VspKdTree { epsilon 1e-6 Construction { samples 300000 } Termination { maxDepth 40 minPvs 50 minRays 700 minSize 0.001 maxCostRatio 0.9 missTolerance 4 maxRayContribution 0.05 } maxTotalMemory 100 maxStaticMemory 50 splitType regular #splitType heuristics splitUseOnlyDrivingAxis true ct_div_ci 0.0 # maximal cost for merging a view cell PostProcess { maxCostRatio 0.005 minViewCells 200 maxPvsSize 50000 } Visualization { } } VspBspTree { Construction { samples 500000 epsilon 0.005 randomize false } # random polygon = 1 # axis aligned = 2 # least ray splits = 256 # balanced rays = 512 # pvs = 1024 splitPlaneStrategy 1024 # maximal candidates for split planes maxPolyCandidates 100 #maxRayCandidates 100 # maximal tested rays for split cost heuristics maxTests 10000 # factors for evaluating split plane costs Factor { leastRaySplits 1.0 balancedRays 1.0 pvs 1.0 } Termination { # parameters used for autopartition minRays 900 minPolygons -1 maxDepth 30 minPvs 10 minArea 0.0001 #minArea 0.000 maxRayContribution 0.4 maxCostRatio 0.93 missTolerance 3 #maxAccRayLength 100 maxViewCells 200000 # used for pvs criterium ct_div_ci 0.0 AxisAligned { minRays 200000 maxRayContribution 0.5 } } splitUseOnlyDrivingAxis false Visualization { # x3d visualization of the split planes exportSplits true } PostProcess { maxCostRatio 0.1 minViewCells 100 maxPvsSize 1000 useRaysForMerge true } } BspTree { Construction { samples 50000 epsilon 0.005 } # random polygon = 1 # axis aligned = 2 # least splits = 4 # balanced polygons = 8 # balanced view cells = 16 # largest polygon area = 32 # vertical axis = 64 # blocked rays = 128 # least ray splits = 256 # balanced rays = 512 # pvs = 1024 # least splits + balanced polygons #splitPlaneStrategy 12 #axis aligned + vertical axis #splitPlaneStrategy 66 # axis aligned + balanced view cells # splitPlaneStrategy 18 # largest polygon area #splitPlaneStrategy 32 # axus aligned + balanced polygons #splitPlaneStrategy 72 # axis aligned + blocked rays #splitPlaneStrategy 130 #splitPlaneStrategy 384 #splitPlaneStrategy 130 splitPlaneStrategy 1024 maxPolyCandidates 50 maxRayCandidates 50 maxTests 10000 # factors for evaluating split plane costs Factor { verticalSplits 1.0 largestPolyArea 1.0 blockedRays 1.0 leastRaySplits 1.0 balancedRays 1.0 pvs 1.0 leastSplits 1.0 balancedPolys 1.0 balancedViewCells 1.0 } Termination { # parameters used for autopartition minRays 200 minPolygons -1 maxDepth 40 minPvs 100 minArea 0.01 maxRayContribution 0.005 #maxAccRayLength 100 # used for pvs criterium ct_div_ci 0.0 maxCostRatio 0.9 # axis aligned splits AxisAligned { minPolys 5000 minRays 500 minObjects 10 ct_div_ci 0.5 } } AxisAligned { splitBorder 0.01 } Visualization { # x3d visualization of the split planes exportSplits true } }