Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
Great. Thanks very much. The ones perhaps missing there are: #define CGO_INDENT 0x18 #define CGO_RESET_NORMAL 0x1E #define CGO_PICK_COLOR 0x1F And I think #define CGO_LIGHTING 0x0B50 may be an internal flag, not a CGO command.

Re: [PyMOL] CGOs

2014-12-22 Thread Schubert, Carsten [JRDUS]
Subject: Re: [PyMOL] CGOs OK, that explains it. I think I made that one up. It was a while ago that I worked on this. :) I see the list at https://github.com/speleo3/pymol/blob/master/modules/pymol/cgo.py Thanks​, David. Bob # CGO documentation This documentation will attempt to shed some light

Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
OK, that explains it. I think I made that one up. It was a while ago that I worked on this. :) I see the list at https://github.com/speleo3/pymol/blob/master/modules/pymol/cgo.py Thanks​, David. Bob -- Dive into the World

Re: [PyMOL] CGOs

2014-12-22 Thread Benjamin Barad
I am not sure where the LINE command is coming in, but when I have worked with CGO I have done "BEGIN LINES COLOR cr cg cb VERTEX x1 y1 z1 VERTEX x2 y2 z2". On Mon Dec 22 2014 at 8:56:29 AM David Hall wrote: > where are you getting this from? I don’t see a LINE command in > pymol/modules/cgo.py

Re: [PyMOL] CGOs

2014-12-22 Thread David Hall
where are you getting this from? I don’t see a LINE command in pymol/modules/cgo.py -David > On Dec 22, 2014, at 11:40 AM, Robert Hanson wrote: > > OK. I will look at the PyMOL code if I need to. For instance: > > LINE has eight parameters. I don't know what the first two are. > > LINE ?

Re: [PyMOL] CGOs

2014-12-22 Thread Robert Hanson
OK. I will look at the PyMOL code if I need to. For instance: LINE has eight parameters. I don't know what the first two are. LINE ? ? x1 y1 z1 x2 y2 z2 On Sun, Dec 21, 2014 at 3:17 PM, Tsjerk Wassenaar wrote: > Hi Bob, > > Unfortunately, there is little documentation on CGO objects. You

Re: [PyMOL] CGOs

2014-12-21 Thread Tsjerk Wassenaar
Hi Bob, Unfortunately, there is little documentation on CGO objects. You can have a look in modules/cgo.py and in the example scripts in examples/devel/ in the pymol directory to get some more information. If there is something specific you want to do, please let us know. Cheers, Tsjerk On Sun

Re: [PyMOL] CGOs

2014-12-21 Thread Robert Hanson
I'm looking for something that is relatively comprehensive. There are far more commands than VERTEX, CYLINDER, CONE, and SPHERE, I think. -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! In

Re: [PyMOL] CGOs

2014-12-21 Thread Osvaldo Martin
Hi Robert, I do not have a proper answer to your question, but two other resources to try to learn about CGO in PyMOL are. http://www.pymolwiki.org/index.php/Category:CGO the folder examples/devel/ in your PyMOL installation On Sun, Dec 21, 2014 at 3:06 PM, Robert Hanson wrote: > Happy holid

RE: [PyMOL] CGOs, where to start?

2003-07-10 Thread Warren L. DeLano
Felix, > I've read over the manual, and I think I understand the principle behind a > CGO. What I would like to do is generate a wall-&-floor type background > for an animation I'm putting together. I've followed the example given by > David Cooper (http://ginsberg.med.virginia.edu/~dcoop/Help/

RE: [PyMOL] CGOs and TRIANGLE primitive

2003-06-04 Thread Mike Brown
-Original Message- From: Warren L. DeLano [mailto:war...@delanoscientific.com] Sent: Tuesday, June 03, 2003 6:15 PM To: 'Mike Brown'; pymol-users@lists.sourceforge.net Subject: RE: [PyMOL] CGOs and TRIANGLE primitive Mike, Triangle rendering isn't as simple as you mig

RE: [PyMOL] CGOs and TRIANGLE primitive

2003-06-03 Thread Warren L. DeLano
Mike, Triangle rendering isn't as simple as you might think -- you need to make sure your triangles have the correct handedness (vertex ordering), and if you are trying to create a surface, then you need to blend the normals at each vertex. I left transparent CGOs out of this re