Hi Robert,

this looks like a bug, none of the closed CGOs is rendered on the
inside, even with two_sided_lighting=on.

I filed a bug report: https://sourceforge.net/p/pymol/bugs/134/

Cheers,
  Thomas

Bryn Fenwick wrote, On 08/20/13 00:42:
> 
> Hi All,
> 
> I am trying to ray trace an empty cone. I can find no way to get an image of 
> the inside of the cone. Does anyone have a work around. Example attached.
> 
> run test.py
> cone
> ray
> 
> when the ray command is issued the cone disappears from view.
> 
> robert
> 
> 
> #
> # test.py
> #
> 
> 
> from pymol import cmd
> from pymol.cgo import *
> 
> 
> def cone(name='cone'):
> 
>     o = []
> 
>     o.extend( [ CONE,
>               0.0, 0.0, 0.0,    # XYZ 1
>               0.0, 0.0, 1.5,    # XYZ 2
>               0.0,              # Radius 1        
>               0.3,              # Radius 2
>               1.0, 0.0, 0.0,    # RGB Color 1
>               0.0, 0.0, 1.0,    # RGB Color 2
>               0.0, 0.0,         # Caps 1 & 2
>             ] )
> 
> 
>     cmd.load_cgo(o, name)
> 
> cmd.extend('cone', cone)

-- 
Thomas Holder
PyMOL Developer
Schrödinger Contractor

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
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