Changeset 6556 for vmdshow/trunk/vmdserver.tcl
- Timestamp:
- Oct 18, 2016 1:10:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vmdshow/trunk/vmdserver.tcl
r6502 r6556 30 30 } 31 31 32 proc RestoreMaterials {} { 33 set mlist { 34 Opaque Transparent BrushedMetal Diffuse Ghost 35 Glass1 Glass2 Glass3 Glossy HardPlastic MetallicPastel 36 Steel Translucent Edgy EdgyShiny EdgyGlass Goodsell 37 AOShiny AOChalky AOEdgy BlownGlass GlassBubble RTChrome 38 Phantom Dead WaterColor Hallucination GlowWorm Transparent2 39 protein pro2tube waterfile off water 40 } 41 set mymlist [material list] 42 foreach mat $mlist { 43 if { [lsearch $mymlist $mat] == -1 } { 44 material add $mat 45 } 46 } 47 material change ambient Opaque 0.000000 48 material change diffuse Opaque 0.650000 49 material change specular Opaque 0.500000 50 material change shininess Opaque 0.534020 51 material change mirror Opaque 0.000000 52 material change opacity Opaque 1.000000 53 material change outline Opaque 0.000000 54 material change outlinewidth Opaque 0.000000 55 material change transmode Opaque 0.000000 56 material change ambient Transparent 0.000000 57 material change diffuse Transparent 0.650000 58 material change specular Transparent 0.500000 59 material change shininess Transparent 0.534020 60 material change mirror Transparent 0.000000 61 material change opacity Transparent 0.300000 62 material change outline Transparent 0.000000 63 material change outlinewidth Transparent 0.000000 64 material change transmode Transparent 0.000000 65 material change ambient BrushedMetal 0.080000 66 material change diffuse BrushedMetal 0.390000 67 material change specular BrushedMetal 0.340000 68 material change shininess BrushedMetal 0.150000 69 material change mirror BrushedMetal 0.000000 70 material change opacity BrushedMetal 1.000000 71 material change outline BrushedMetal 0.000000 72 material change outlinewidth BrushedMetal 0.000000 73 material change transmode BrushedMetal 0.000000 74 material change ambient Diffuse 0.000000 75 material change diffuse Diffuse 0.620000 76 material change specular Diffuse 0.000000 77 material change shininess Diffuse 0.530000 78 material change mirror Diffuse 0.000000 79 material change opacity Diffuse 1.000000 80 material change outline Diffuse 0.000000 81 material change outlinewidth Diffuse 0.000000 82 material change transmode Diffuse 0.000000 83 material change ambient Ghost 0.000000 84 material change diffuse Ghost 0.000000 85 material change specular Ghost 1.000000 86 material change shininess Ghost 0.230000 87 material change mirror Ghost 0.000000 88 material change opacity Ghost 0.100000 89 material change outline Ghost 0.000000 90 material change outlinewidth Ghost 0.000000 91 material change transmode Ghost 0.000000 92 material change ambient Glass1 0.000000 93 material change diffuse Glass1 0.500000 94 material change specular Glass1 0.650000 95 material change shininess Glass1 0.530000 96 material change mirror Glass1 0.000000 97 material change opacity Glass1 0.150000 98 material change outline Glass1 0.000000 99 material change outlinewidth Glass1 0.000000 100 material change transmode Glass1 0.000000 101 material change ambient Glass2 0.520000 102 material change diffuse Glass2 0.760000 103 material change specular Glass2 0.220000 104 material change shininess Glass2 0.590000 105 material change mirror Glass2 0.000000 106 material change opacity Glass2 0.680000 107 material change outline Glass2 0.000000 108 material change outlinewidth Glass2 0.000000 109 material change transmode Glass2 0.000000 110 material change ambient Glass3 0.150000 111 material change diffuse Glass3 0.250000 112 material change specular Glass3 0.750000 113 material change shininess Glass3 0.800000 114 material change mirror Glass3 0.000000 115 material change opacity Glass3 0.500000 116 material change outline Glass3 0.000000 117 material change outlinewidth Glass3 0.000000 118 material change transmode Glass3 0.000000 119 material change ambient Glossy 0.000000 120 material change diffuse Glossy 0.650000 121 material change specular Glossy 1.000000 122 material change shininess Glossy 0.880000 123 material change mirror Glossy 0.000000 124 material change opacity Glossy 1.000000 125 material change outline Glossy 0.000000 126 material change outlinewidth Glossy 0.000000 127 material change transmode Glossy 0.000000 128 material change ambient HardPlastic 0.000000 129 material change diffuse HardPlastic 0.560000 130 material change specular HardPlastic 0.280000 131 material change shininess HardPlastic 0.690000 132 material change mirror HardPlastic 0.000000 133 material change opacity HardPlastic 1.000000 134 material change outline HardPlastic 0.000000 135 material change outlinewidth HardPlastic 0.000000 136 material change transmode HardPlastic 0.000000 137 material change ambient MetallicPastel 0.000000 138 material change diffuse MetallicPastel 0.260000 139 material change specular MetallicPastel 0.550000 140 material change shininess MetallicPastel 0.190000 141 material change mirror MetallicPastel 0.000000 142 material change opacity MetallicPastel 1.000000 143 material change outline MetallicPastel 0.000000 144 material change outlinewidth MetallicPastel 0.000000 145 material change transmode MetallicPastel 0.000000 146 material change ambient Steel 0.250000 147 material change diffuse Steel 0.000000 148 material change specular Steel 0.380000 149 material change shininess Steel 0.320000 150 material change mirror Steel 0.000000 151 material change opacity Steel 1.000000 152 material change outline Steel 0.000000 153 material change outlinewidth Steel 0.000000 154 material change transmode Steel 0.000000 155 material change ambient Translucent 0.000000 156 material change diffuse Translucent 0.700000 157 material change specular Translucent 0.600000 158 material change shininess Translucent 0.300000 159 material change mirror Translucent 0.000000 160 material change opacity Translucent 0.800000 161 material change outline Translucent 0.000000 162 material change outlinewidth Translucent 0.000000 163 material change transmode Translucent 0.000000 164 material change ambient Edgy 0.000000 165 material change diffuse Edgy 0.660000 166 material change specular Edgy 0.000000 167 material change shininess Edgy 0.750000 168 material change mirror Edgy 0.000000 169 material change opacity Edgy 1.000000 170 material change outline Edgy 0.620000 171 material change outlinewidth Edgy 0.940000 172 material change transmode Edgy 0.000000 173 material change ambient EdgyShiny 0.000000 174 material change diffuse EdgyShiny 0.660000 175 material change specular EdgyShiny 0.960000 176 material change shininess EdgyShiny 0.750000 177 material change mirror EdgyShiny 0.000000 178 material change opacity EdgyShiny 1.000000 179 material change outline EdgyShiny 0.760000 180 material change outlinewidth EdgyShiny 0.940000 181 material change transmode EdgyShiny 0.000000 182 material change ambient EdgyGlass 0.000000 183 material change diffuse EdgyGlass 0.660000 184 material change specular EdgyGlass 0.500000 185 material change shininess EdgyGlass 0.750000 186 material change mirror EdgyGlass 0.000000 187 material change opacity EdgyGlass 0.620000 188 material change outline EdgyGlass 0.620000 189 material change outlinewidth EdgyGlass 0.940000 190 material change transmode EdgyGlass 0.000000 191 material change ambient Goodsell 0.520000 192 material change diffuse Goodsell 1.000000 193 material change specular Goodsell 0.000000 194 material change shininess Goodsell 0.000000 195 material change mirror Goodsell 0.000000 196 material change opacity Goodsell 1.000000 197 material change outline Goodsell 4.000000 198 material change outlinewidth Goodsell 0.900000 199 material change transmode Goodsell 0.000000 200 material change ambient AOShiny 0.000000 201 material change diffuse AOShiny 0.850000 202 material change specular AOShiny 0.200000 203 material change shininess AOShiny 0.530000 204 material change mirror AOShiny 0.000000 205 material change opacity AOShiny 1.000000 206 material change outline AOShiny 0.000000 207 material change outlinewidth AOShiny 0.000000 208 material change transmode AOShiny 0.000000 209 material change ambient AOChalky 0.000000 210 material change diffuse AOChalky 0.850000 211 material change specular AOChalky 0.000000 212 material change shininess AOChalky 0.530000 213 material change mirror AOChalky 0.000000 214 material change opacity AOChalky 1.000000 215 material change outline AOChalky 0.000000 216 material change outlinewidth AOChalky 0.000000 217 material change transmode AOChalky 0.000000 218 material change ambient AOEdgy 0.000000 219 material change diffuse AOEdgy 0.900000 220 material change specular AOEdgy 0.200000 221 material change shininess AOEdgy 0.530000 222 material change mirror AOEdgy 0.000000 223 material change opacity AOEdgy 1.000000 224 material change outline AOEdgy 0.620000 225 material change outlinewidth AOEdgy 0.930000 226 material change transmode AOEdgy 0.000000 227 material change ambient BlownGlass 0.040000 228 material change diffuse BlownGlass 0.340000 229 material change specular BlownGlass 1.000000 230 material change shininess BlownGlass 1.000000 231 material change mirror BlownGlass 0.000000 232 material change opacity BlownGlass 0.100000 233 material change outline BlownGlass 0.000000 234 material change outlinewidth BlownGlass 0.000000 235 material change transmode BlownGlass 1.000000 236 material change ambient GlassBubble 0.250000 237 material change diffuse GlassBubble 0.340000 238 material change specular GlassBubble 1.000000 239 material change shininess GlassBubble 1.000000 240 material change mirror GlassBubble 0.000000 241 material change opacity GlassBubble 0.040000 242 material change outline GlassBubble 0.000000 243 material change outlinewidth GlassBubble 0.000000 244 material change transmode GlassBubble 1.000000 245 material change ambient RTChrome 0.000000 246 material change diffuse RTChrome 0.650000 247 material change specular RTChrome 0.500000 248 material change shininess RTChrome 0.530000 249 material change mirror RTChrome 0.700000 250 material change opacity RTChrome 1.000000 251 material change outline RTChrome 0.000000 252 material change outlinewidth RTChrome 0.000000 253 material change transmode RTChrome 0.000000 254 material change ambient Phantom 0.000000 255 material change diffuse Phantom 0.700000 256 material change specular Phantom 0.100000 257 material change shininess Phantom 0.280000 258 material change mirror Phantom 0.000000 259 material change opacity Phantom 0.150000 260 material change outline Phantom 0.000000 261 material change outlinewidth Phantom 0.000000 262 material change transmode Phantom 0.000000 263 material change ambient Dead 0.580000 264 material change diffuse Dead 0.000000 265 material change specular Dead 0.000000 266 material change shininess Dead 0.000000 267 material change mirror Dead 0.000000 268 material change opacity Dead 1.000000 269 material change outline Dead 0.000000 270 material change outlinewidth Dead 0.000000 271 material change transmode Dead 0.000000 272 material change ambient WaterColor 0.000000 273 material change diffuse WaterColor 0.350000 274 material change specular WaterColor 0.440000 275 material change shininess WaterColor 0.110000 276 material change mirror WaterColor 0.000000 277 material change opacity WaterColor 1.000000 278 material change outline WaterColor 4.000000 279 material change outlinewidth WaterColor 0.570000 280 material change transmode WaterColor 0.000000 281 material change ambient Hallucination 0.100000 282 material change diffuse Hallucination 0.810000 283 material change specular Hallucination 1.000000 284 material change shininess Hallucination 0.250000 285 material change mirror Hallucination 0.000000 286 material change opacity Hallucination 0.300000 287 material change outline Hallucination 0.000000 288 material change outlinewidth Hallucination 0.000000 289 material change transmode Hallucination 1.000000 290 material change ambient GlowWorm 0.250000 291 material change diffuse GlowWorm 0.650000 292 material change specular GlowWorm 0.500000 293 material change shininess GlowWorm 0.534020 294 material change mirror GlowWorm 0.000000 295 material change opacity GlowWorm 1.000000 296 material change outline GlowWorm 0.000000 297 material change outlinewidth GlowWorm 0.000000 298 material change transmode GlowWorm 0.000000 299 material change ambient Transparent2 0.000000 300 material change diffuse Transparent2 0.650000 301 material change specular Transparent2 0.500000 302 material change shininess Transparent2 0.534020 303 material change mirror Transparent2 0.000000 304 material change opacity Transparent2 0.750000 305 material change outline Transparent2 0.000000 306 material change outlinewidth Transparent2 0.000000 307 material change transmode Transparent2 0.000000 308 material change ambient protein 0.000000 309 material change diffuse protein 0.650000 310 material change specular protein 1.000000 311 material change shininess protein 0.534020 312 material change mirror protein 0.000000 313 material change opacity protein 1.000000 314 material change outline protein 0.000000 315 material change outlinewidth protein 0.000000 316 material change transmode protein 0.000000 317 material change ambient pro2tube 0.000000 318 material change diffuse pro2tube 0.650000 319 material change specular pro2tube 1.000000 320 material change shininess pro2tube 0.534020 321 material change mirror pro2tube 0.000000 322 material change opacity pro2tube 1.000000 323 material change outline pro2tube 0.000000 324 material change outlinewidth pro2tube 0.000000 325 material change transmode pro2tube 0.000000 326 material change ambient waterfile 0.000000 327 material change diffuse waterfile 0.650000 328 material change specular waterfile 1.000000 329 material change shininess waterfile 0.534020 330 material change mirror waterfile 0.000000 331 material change opacity waterfile 1.000000 332 material change outline waterfile 0.000000 333 material change outlinewidth waterfile 0.000000 334 material change transmode waterfile 0.000000 335 material change ambient off 0.000000 336 material change diffuse off 0.650000 337 material change specular off 1.000000 338 material change shininess off 0.534020 339 material change mirror off 0.000000 340 material change opacity off 0.000000 341 material change outline off 0.000000 342 material change outlinewidth off 0.000000 343 material change transmode off 0.000000 344 material change ambient water 0.000000 345 material change diffuse water 1.000000 346 material change specular water 0.750000 347 material change shininess water 0.000000 348 material change mirror water 0.000000 349 material change opacity water 0.000000 350 material change outline water 0.000000 351 material change outlinewidth water 0.000000 352 material change transmode water 1.000000 353 } 32 354 33 355 # ======================================================================== … … 660 982 axes location off 661 983 color Display Background black 984 RestoreMaterials 662 985 eval $DisplayProps(options) 663 986 }
Note: See TracChangeset
for help on using the changeset viewer.