Hi Martin.
    Ive also experimented with primitive shapes and cones. Its not possible to 
get a rounded surface on the cone, as you cannot properly define the normals of 
the surface without the quad based openGL primitives, which is not supported by 
the inbuild raytracer. If you look in the Pymol sourcecode regarding CGO, the 
quad stuff is commented out. You can still call the OpenGL number though, which 
will give you visualisation in OpenGL, but it will disappear when raytraced. It 
is possible though to make a multisided pyramid with triangle_strip as a kind 
of edged cone, which is also raytracable. Much of the PyOpenGl stuff uses the 
quad based things and is thus not raytracable.

Happy Hacking
Esben





Reply via email to