[PyMOL] bug in resizing viewport?

2004-06-09 Thread Matt Franklin
Hi all - I'm noticing some odd behavior with MacPymol (v0.94) involving the viewport command to resize the window. This command seems like it couldn't be more straightforward: specify width and height in pixels. However, look at the following output: PyMOLviewport 100,100 PyMOLpng test.png

[PyMOL] CGO raytracing problem

2004-06-09 Thread Gareth Stockwell
Hello, I have a problem ray-tracing some CGO objects. Basically I have a script which produces a surface, in the form of a load of CGO triangles. This is done using a command which looks like: my_cgo = [ BEGIN, TRIANGLES, COLOR, r, g, b, VERTEX x1, y1, z1, VERTEX x2, y2, z2, VERTEX