Hi Yarrow and Patrice, PyMOL introduced ambient occlusion in version 1.5.0 for surface rendering. Try this:
fetch 1rx1, async=0 as surface set ambient_occlusion_mode If you are a pymol sponsor, visit this page: http://pymol.org/dsc/dokuwiki/doku.php?id=media:ambient_occlusion Hope that helps. Cheers, Thomas Patrice Peterson wrote, On 05/29/13 13:37: > On 13-05-28 14:11, Yarrow Madrona wrote: >> Hi, >> >> I saw a post on this sight a while back about how to move the >> lighting. However, I have not seen any information on how to change >> the lighting of an internal cavity. I want the internal cavity to >> appear darker as it would be more realistic. However, it is almost >> like there is a light source coming from inside the object that >> brightens it up. >> >> Does anyone know how to change the internal lighting of a cavity when >> shown in surface representation? >> >> Thanks. > > Hey, > > What you probably want is some kind of ambient occlusion. The tachyon > rendering library (which is used with VMD) can do that. However, you can > get a similar effect in PyMOL using the POV-Ray renderer with > appropriate radiosity settings. I'm using a modified make_pov.py script > to do something similar [1], but the POV-Ray settings are not yet > finalized (I'm very new to POV-Ray myself). I'd also suggest using > POV-Ray 3.7 to allow the use of multiple cores, as radiosity can > increase rendering time quite significantly. > > The file I posted does not yet have the correct field of view. I'll > update the Gist once I've found the correct value. > > Cheers, > Patrice > > [1] https://gist.github.com/runiq/5669624 > >> -- >> Yarrow Madrona >> >> Graduate Student >> Molecular Biology and Biochemistry Dept. >> University of California, Irvine >> Natural Sciences I, Rm 2403 >> Irvine, CA 92697 -- Thomas Holder PyMOL Developer Schrödinger Contractor ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ 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