Geant4 Cross Reference |
1 ########################################### 2 ## Environmental variables to CUSTOMIZE ## 3 ## Geant4 DAWNFILE visualization driver ## 4 ########################################### 5 6 Sept. 1, 2002 7 Satoshi Tanaka 8 stanaka@cs.ritsumei.ac.jp 9 10 #----- << G4DAWNFILE_DEST_DIR >> ----- 11 # Set a directory where g4_XX.prim and g4_XX.eps files 12 # are generated. 13 # Do not forget to add the file separator 14 # "/" (Unix/Linux) or "\" (Windows) at the end. 15 # The default directory is the current directory. 16 # 17 # Example: 18 # 19 # setenv G4DAWNFILE_DEST_DIR "/home/username/tmp/" 20 21 22 #----- << G4DAWNFILE_MAX_FILE_NUM >> ----- 23 # Set a maximal number of generated g4_XX.prim files. 24 # Upto this number "XX" is automatically incremented, 25 # starting from "00". 26 # The default number is 100. 27 # 28 # Example: 29 # 30 # setenv G4DAWNFILE_MAX_FILE_NUM 100 31 32 33 #----- << G4DAWNFILE_MULTI_WINDOW >> ----- 34 # Boolean flag to set on/off multi-window mode. 35 # If this variable is set and its value is non-zero, 36 # Geant4 invokes Renderer DAWN with the multi-X-window mode. 37 # Otherwise DAWN is invoked with the EPS mode, in which 38 # EPS files are generated and viewed with a PS viewer. 39 # The default value is "0". 40 # 41 # Example: 42 # 43 # setenv G4DAWNFILE_MULTI_WINDOW "0" 44 # setenv G4DAWNFILE_MULTI_WINDOW "1" 45 46 47 #----- << G4DAWNFILE_PRECISION >> ----- 48 # Set precision of double numbers in g4_XX.prim files. 49 # The number is used as 50 # sprintf( string, "%*.*g", (precision+8), precision, value). 51 # See G4DAWNFILESceneHandler::G4DAWNFILESceneHandler() 52 # for more details. 53 # The default precision is "9". 54 # 55 # Example: 56 # 57 # setenv G4DAWNFILE_PRECISION 9 58 59 60 #----- << G4DAWNFILE_PS_VIEWER >> ----- 61 # Set a name of the PostScript viewer to visualize 62 # generated g4_XX.eps files. 63 # The default viewer name is "gv". 64 # 65 # Example: 66 # 67 # setenv G4DAWNFILE_PS_VIEWER gv 68 69 70 #----- << G4DAWNFILE_VIEWER >> ----- 71 # Set a name of the renderer to visualize 72 # generated g4_XX.prim files. 73 # The default renderer name is "dawn". 74 # Set this variable to "david" to execute 75 # volume-overlapping detection. 76 # 77 # Example: 78 # 79 # setenv G4DAWNFILE_VIEWER dawn 80 # setenv G4DAWNFILE_VIEWER david 81 82 ########################################### 83 ## Environmental variables to CUSTOMIZE ## 84 ## Renderer DAWN ## 85 ########################################### 86 87 #----- << DAWN_BATCH >> ----- 88 # Set on/off the batch mode. 89 # 90 # If this variable is set to "1", 91 # the DAWN GUI panel does not invoked. 92 # Visualization is not performed, either. 93 # But an EPS file is generated. 94 # 95 # If this variable is set to "a", 96 # the effects are the same as "1" except that 97 # every generated EPS data is appended to one file. 98 # In the on-line use of Renderer DAWN connected 99 # with the Geant4 DAWNFILE driver, 100 # you should also set as 101 # 102 # setenv G4DAWNFILE_MAX_FILENUM 1 103 # 104 # The dafault value is "0", i.e., the batch mode is off. 105 # 106 # Example: 107 # 108 # setenv DAWN_BATCH "0" 109 # setenv DAWN_BATCH "1" 110 # setenv DAWN_BATCH "a" 111 112 113 #----- << DAWN_BFC_MODE >> ----- 114 # Set on/off the back-face-culling mode. 115 # If this mode is set on, analytical hidden-surface removal 116 # is skipped, and only back-face culling is performed. 117 # This mode is fast, but inaccurate. 118 # "1": on 119 # "0": off 120 # The default value of "0". 121 # 122 # Example: 123 # 124 # setenv DAWN_BFC_MODE "0" 125 # setenv DAWN_BFC_MODE "1" 126 127 128 #----- << DAWN_DEVICE >> ----- 129 # Set the default viewing device 130 # 1: PS: 2: XWIN, 3: PS2, 4: XWIN2, 5: OPEN_GL 131 # 132 # Note: This variable is effective only in the 133 # off-line use of Renderer DAWN. 134 # 135 # Example: 136 # 137 # setenv DAWN_DEVICE "1" 138 # setenv DAWN_DEVICE "2" 139 # setenv DAWN_DEVICE "3" 140 # setenv DAWN_DEVICE "4" 141 # setenv DAWN_DEVICE "5" 142 143 144 #----- << DAWN_HIDLINE_REMOVAL >> ----- 145 # Set on/off the hidden-line-removal mode 146 # If this mode is on, hidden-line removal is performed. 147 # "1": on 148 # "0": off 149 # The default value is "1". 150 # 151 # Example: 152 # 153 # setenv DAWN_HIDLINE_REMOVAL "0" 154 # setenv DAWN_HIDLINE_REMOVAL "1" 155 156 157 #----- << DAWN_PS_PREVIEWER >> ----- 158 # Set a name of the PostScript viewer. 159 # The default value is "gv". 160 # "NONE" to skip viewing. 161 # 162 # Example: 163 # 164 # setenv DAWN_PS_PREVIEWER "gv" 165 166 167 #----- << DAWN_UP_DIRECTION >> ----- 168 # Set viewing-upward direction. 169 # Select "Y" or "Z". 170 # The default is "Y", i.e., (0,1,0)-direction 171 # 172 # Example: 173 # 174 # setenv DAWN_UP_DIRECTION "Y" 175 # setenv DAWN_UP_DIRECTION "Z" 176 177 178 #----- << DAWN_USE_STENCIL >> ----- 179 # Set on/off use of the stencil buffer in the OpenGL mode. 180 # If this mode is on, edges are drawn. 181 # "1": on 182 # "0": off 183 # The default value of "0". 184 # 185 # Example: 186 # 187 # setenv DAWN_USE_STENCIL "0" 188 # setenv DAWN_USE_STENCIL "1" 189 190 191 ############################################### 192 ## Environmental variables to CUSTOMIZE ## 193 ## Geant4 DAWN-Network visualization driver ## 194 ## ## 195 ## Note: This driver should be used only ## 196 ## for remote visualizaton.) ## 197 ############################################### 198 199 #----- << G4DAWN_GUI_ALWAYS >> 200 # Boolean flag to control GUI invokation. 201 # If this variable is set and the value is non-zero, 202 # DAWN connected with GEANT4 always pops up GUI menu. 203 # The default is "0", i.e., no GUI. 204 # 205 # Example: 206 # 207 # setenv G4DAWN_GUI_ALWAYS "0" 208 # setenv G4DAWN_GUI_ALWAYS "1" 209 210 211 #----- << G4DAWN_HOST_NAME >> 212 # Set a host where Renderer DAWN is running with 213 # the INET mode, i.e., invoked as "dawn -G". 214 # If the environmental variable G4DAWN_NAMED_PIPE 215 # is set to "1", this host setting is ignored. 216 # 217 # Example: 218 # 219 # setenv G4DAWN_HOST_NAME cernsp.cern.ch 220 221 222 #----- << G4DAWN_MULTI_WINDOW >> 223 # Boolean flag to set on/off multi-window mode. 224 # If this variable is set and its value is non-zero, 225 # Geant4 invokes Renderer DAWN with the multi-X-window mode. 226 # Otherwise DAWN is invoked with the EPS mode, in which 227 # EPS files are generated and viewed with a PS viewer. 228 # The default value is "0". 229 # 230 # Example: 231 # 232 # setenv G4DAWN_MULTI_WINDOW "0" 233 # setenv G4DAWN_MULTI_WINDOW "1" 234 235 236 #----- << G4DAWN_NAMED_PIPE >> ----- 237 # Boolean flag to set on/off BSD-type Unix-domain connection. 238 # If this variable is set and the value is non-zero, 239 # Renderer DAWN connected with GEANT4 in the BSD-type Unix domain, 240 # i.e. through named pipe. 241 # The default is "0", i.e., do no use this type of connection. 242 # 243 # Example: 244 # 245 # setenv G4DAWN_NAMED_PIPE "0" 246 # setenv G4DAWN_NAMED_PIPE "1" 247 248 249 #----- << G4DAWN_PRECISION >> ----- 250 # Set precision of double numbers in g4_XX.prim files. 251 # The number is used as 252 # sprintf( string, "%*.*g", (precision+8), precision, value). 253 # See G4DAWNFILESceneHandler::G4DAWNFILESceneHandler() 254 # for more details. 255 # The default precision is "9". 256 # 257 # Example: 258 # 259 # setenv G4DAWN_PRECISION 9 260 261