############################################################################# # ERS default configuration file # Jiri Bittner 2003 ############################################################################# Scene { # filename ../data/glasgow/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 true # type sampling # type vss type rss detectEmptyViewSpace false pvsRenderErrorSamples 10000 quitOnFinish false } VssPreprocessor { samplesPerPass 100000 initialSamples 500000 vssSamples 2000000 vssSamplesPerPass 200000 useImportanceSampling true loadInitialSamples false storeInitialSamples false } VssTree { useRss false epsilon 1e-6 maxDepth 40 minPvs 30 minRays 100 minSize 0.001 maxCostRatio 1.5 maxRayContribution 0.5 maxTotalMemory 200 maxStaticMemory 100 # splitType regular # splitType heuristic splitType hybrid splitUseOnlyDrivingAxis true interleaveDirSplits true dirSplitDepth 0 numberOfEndPointDomains 10000 ct_div_ci 0.0 randomize false refDirBoxMaxSize 0.1 } RssPreprocessor { samplesPerPass 500000 initialSamples 100 vssSamples 100 vssSamplesPerPass 1000000 useImportanceSampling true directionalSampling true objectBasedSampling false Export { pvs false rssTree false rays true numRays 5000 } useViewcells true updateSubdivision true loadInitialSamples false storeInitialSamples false } RssTree { epsilon 1e-6 perObjectTree false maxDepth 40 minPvs 1 minRays 50 minSize 0.001 maxCostRatio 1.0 maxRayContribution 0.5 maxRays 2000000 maxTotalMemory 200 maxStaticMemory 100 # splitType regular # splitType heuristic splitType hybrid splitUseOnlyDrivingAxis false importanceBasedCost false interleaveDirSplits true dirSplitDepth 0 ct_div_ci 0.0 } 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 } SamplingPreprocessor { totalSamples 10000000 samplesPerPass 3 } ViewCells { # samples used for view cell construction Construction { samples 600000 samplesPerPass 200000 } #number of active view cells active 10000 maxStaticMemory 40 exportToFile false loadFromFile false #type kdTree #type vspKdTree #type bspTree type vspBspTree #type sceneDependent height 5.0 maxViewCells 100000 #percentage of total visible objects where pvs is considered invalid maxPvsRatio 1.0 pruneEmptyViewCells false processOnlyValidViewCells false PostProcess { # how much samples are used for post processing samples 300000 renderCostWeight 1.0 maxCostRatio 0.1 minViewCells 1 avgCostMaxDeviation 0.8 maxMergesPerPass 500 useRaysForMerge false refine false compress false merge true } Visualization { # how much samples we use for visualization samples 100000 #colorCode PVS #colorCode MergedLeaves #colorCode MergedTreeDiff colorCode Random exportRays true exportGeometry true exportMergedViewCells true useCuttingPlane true cuttingPlaneAxis 1 } # 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_vienna.xml filename ../scripts/viewcells_atlanta.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 300 minSize 0.001 maxCostRatio 0.9 missTolerance 4 maxRayContribution 0.5 } 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 300000 epsilon 0.005 randomize false renderCostWeight 1.0 } # random polygon = 1 # axis aligned = 2 # least ray splits = 256 # balanced rays = 512 # pvs = 1024 splitPlaneStrategy 1024 # maximal candidates for split planes maxPolyCandidates 0 # maximal tested rays for split cost heuristics maxTests 10000 maxTotalMemory 50 maxStaticMemory 50 # factors for evaluating split plane costs Factor { leastRaySplits 1.0 balancedRays 1.0 pvs 1.0 } Termination { # parameters used for autopartition minRays -150 minPolygons -1 maxDepth 30 minPvs -10 #minProbability 0.0001 minProbability -1 # maxRayContribution 0.3 maxRayContribution 2.3 # maxCostRatio 0.9 maxCostRatio 3.9 missTolerance 3 maxViewCells 10000 # used for pvs criterium ct_div_ci 0.0 AxisAligned { minRays 1 maxRayContribution 9.9 } } splitUseOnlyDrivingAxis true Visualization { # x3d visualization of the split planes exportSplits true } }