# vmd initialization file # # $Id: .vmdrc,v 1.3 2005/01/03 19:42:59 akohlmey Exp $ # Time-stamp: # # set display preferences. display projection Orthographic axes location off color Display Background silver light 0 on light 1 on light 2 off light 3 off # make sure, that main menu is active menu main on # swap around some atom colors color Name C green color Name F lime color Type C green color Type F lime # define a new, very transparent material 'Glass' material add Glass material change ambient Glass 0.00 material change specular Glass 0.50 material change diffuse Glass 0.65 material change shininess Glass 0.53 material change opacity Glass 0.15 # search for new molfile plugins in $HOME/vmd/plugins/$VMDARCH/molfile # type 'vmdinfo arch' to find your name for $VMDARCH vmd_plugin_scandirectory [file join $env(HOME) vmd/plugins [vmdinfo arch] molfile] *.so # add our local (autoloaded) scripts directory to the search path set auto_path [concat $env(HOME)/vmd/scripts/tcl $auto_path] # command extensions (e.g. vmd_draw_vector) have to be sourced foreach ext [glob -nocomplain $env(HOME)/vmd/scripts/extensions/*.tcl ] { source $ext } unset ext proc my_def_viz {args} { mol delrep 0 mol color Type mol representation CPK 1.000000 0.300000 19.000000 16.000000 mol addrep top } # add 'default visualization' hack for the first three molecules. #trace variable vmd_trajectory_read(0) w my_def_viz #trace variable vmd_trajectory_read(1) w my_def_viz #trace variable vmd_trajectory_read(2) w my_def_viz # alternatively with vmd_initialize_structure #trace variable vmd_initialize_structure(0) w my_def_viz #trace variable vmd_initialize_structure(1) w my_def_viz #trace variable vmd_initialize_structure(2) w my_def_viz # make sure the main menu is active menu main on ############################################################ # Local Variables: # mode: tcl # time-stamp-format: "%u %02d.%02m.%y %02H:%02M:%02S %s" # End: ############################################################