Ignore:
Timestamp:
07/12/05 21:08:40 (19 years ago)
Author:
bittner
Message:

mesh kd tree added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/Environment.cpp

    r162 r170  
    10631063 
    10641064 
     1065  RegisterOption("Scene.filename", 
     1066                 optString, 
     1067                 "-scene_filename=", 
     1068                 "soda.x3d"); 
     1069 
    10651070  RegisterOption("Unigraphics.meshGrouping", 
    10661071                 optInt, 
     
    10991104                 "0.1"); 
    11001105 
    1101    
    1102   RegisterOption("IFS.loadKDtree", optBool, NULL, "true"); 
    1103   RegisterOption("IFS.kdtree", optBool, NULL, "true"); 
    1104   RegisterOption("IFS.KDTree.minCost", optFloat, NULL, "20"); 
    1105   RegisterOption("IFS.KDTree.maxDepth", optInt, NULL, "12"); 
    1106   RegisterOption("IFS.KDTree.ct_div_ci", optFloat, NULL, "1"); 
    1107   RegisterOption("IFS.KDTree.tries", optFloat, NULL, "3"); 
    1108   RegisterOption("IFS.KDTree.minCostImprovement", optFloat, NULL, "1.0"); 
    1109    
    1110   RegisterOption("IFS.KDTree.buildCostCoef", optFloat, NULL, "2"); 
    1111  
    1112   RegisterOption("IFS.optimizeBuffers", optBool, NULL, "true"); 
    1113   RegisterOption("IFS.strips", optBool, NULL, "false"); 
    1114   RegisterOption("IFS.stripsRemap", optBool, NULL, "false"); 
    1115   RegisterOption("IFS.loadStrips", optBool, 
    1116                  "loadStrips", "true"); 
    1117  
    1118   RegisterOption("World.loadTextures", optBool, 
    1119                  "loadTextures", 
    1120                  "true" ); 
    1121  
    1122   RegisterOption("World.loadTransparentTextures", optBool, 
    1123                  "loadTransparentTextures", 
    1124                  "true" ); 
    1125  
    1126   RegisterOption("World.loadLightmaps", optBool, 
    1127                  "loadLightmaps", 
    1128                  "true" ); 
    1129  
    1130   RegisterOption("World.loadImages", optBool, 
    1131                  "loadImages", 
    1132                  "true" ); 
     1106 
     1107  RegisterOption("KdTree.sahUseFaces", 
     1108                 optBool, 
     1109                 "-kd_sah_use_faces=", 
     1110                 "true"); 
     1111 
     1112 
     1113  RegisterOption("MeshKdTree.Termination.minCost", 
     1114                 optInt, 
     1115                 "-kd_term_min_cost=", 
     1116                 "10"); 
     1117   
     1118  RegisterOption("MeshKdTree.Termination.maxDepth", 
     1119                 optInt, 
     1120                 "-kd_term_max_depth=", 
     1121                 "20"); 
     1122 
     1123  RegisterOption("MeshKdTree.Termination.maxCostRatio", 
     1124                 optFloat, 
     1125                 "-kd_term_max_cost_ratio=", 
     1126                 "1.5"); 
     1127 
     1128  RegisterOption("MeshKdTree.Termination.ct_div_ci", 
     1129                 optFloat, 
     1130                 "-kd_term_ct_div_ci=", 
     1131                 "1.0"); 
     1132 
     1133  RegisterOption("MeshKdTree.splitMethod", 
     1134                 optString, 
     1135                 "-kd_split_method=", 
     1136                 "spatialMedian"); 
     1137 
     1138  RegisterOption("MeshKdTree.splitBorder", 
     1139                 optFloat, 
     1140                 "-kd_split_border=", 
     1141                 "0.1"); 
     1142 
    11331143   
    11341144} 
Note: See TracChangeset for help on using the changeset viewer.