VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri Mar 02 2007 - 11:48:20 CST
- Next message: Jan Saam: "Re: IC from paratool"
- Previous message: Adrian Roitberg: "vmd/gaussian cubes"
- In reply to: Adrian Roitberg: "vmd/gaussian cubes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Fri, 2 Mar 2007, Adrian Roitberg wrote:
AR> Dear all,
dear adrian,
AR> I hacked a bit one of Axel Kohlmeyer wonderful scripts to be able to
AR> visualize gaussian cube files in sequence.
AR>
AR> His original script did electron density, but I need the HOMO vs time.
AR>
AR> The problem is that I need to create 3 representations, 1 for the
AR> molecule itself, one for positive isosurfaces and one for negative.
AR> I can do that. However, they both come out in gray color, while I need
AR> them, let's say red and blue.
AR>
AR> I also do not know how to make them transparent.
just after you created the licorice rep insert a:
mol material Transparent
and all successive representations will use the Transparent
material (or use Glass, Glossy, etc). to make your molecule
look better, you may want to use
mol material Glossy
for the licorice rep.
the color should actually work but it seems that
mol modrep uses the current color state (and material)
so you need to update those every time you update the rep.
also note that only the follwing gives a solid surface.
if you change the last number to an 1.0, you'll get a wireframe.
mol representation IsoSurface -0.02 0.0 0.0 0.0
mol addrep top
you should get a nice solid transparent surface.
AR>
AR> I can do this for single snapshots with no trouble.
please try the attached modified version of the script.
cheers,
axel.
AR>
AR> Any help is appreciated.
AR>
AR>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- APPLICATION/x-tcl attachment: iso.tcl
- Next message: Jan Saam: "Re: IC from paratool"
- Previous message: Adrian Roitberg: "vmd/gaussian cubes"
- In reply to: Adrian Roitberg: "vmd/gaussian cubes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]