Hi Emilio,

Yes, PyMOL can indeed produce anaglyph images in stereo (even
ray-traced).  This has to be PyMOL's most cost-effective 3D solution.
Here's how:

# grab a protein
fetch 1oky, async=0

# setup a scene for viewing; greys work nicely
color grey70
as sticks, org
zoom resn STU
show surface, poly within 6 of resn STU
set transparency, 0.5
set_view (\
    -0.348570973,   -0.432143569,    0.831715167,\
     0.890143871,    0.125239685,    0.438130945,\
    -0.293499321,    0.893065810,    0.341014802,\
     0.000000000,    0.000000000,  -35.507854462,\
    82.917518616,   17.755170822,   12.337598801,\
    28.561262131,   42.454433441,  -20.000000000 )

# anagplyh
set stereo_mode, 10

# enable stereo
stereo

# save ray-traced stereo image to disk
png pymol_anaglyph.png, ray=1

Cheers,

-- Jason



On Thu, Dec 2, 2010 at 10:54 AM, Emilio Xavier Esposito
<emilio.espos...@gmail.com> wrote:
> Hi
> I know that I can create cross-eye stereo images with PyMOL but I was
> curious how to create anaglyphic (Red/Blue, Red/Cyan or
> Red/Blue-Green) 3D images similar to those created in Spartan.  Other
> than post-processing the images with Photoshop, is there a way to have
> PyMOL natively construct these images?
>
> Thank you
> Emilio
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to