[PyMOL] Yaw, Pitch and Roll of CGO

2014-02-05 Thread Павел Томашевский
Hello I've made a cone CGO (something like a pointer) and now I need to make a rotation of the cone. I have got yaw, pitch and roll angle values, but when I do 'rotate' command it rotates about axis of the global coordinate system. My question is, how to make a rotation of the CGO about axis that

Re: [PyMOL] ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns err=1282

2013-11-24 Thread Павел Томашевский
; -- Jason > > > On Sun, Nov 24, 2013 at 3:42 PM, Павел Томашевский > wrote: >> >> 2013/11/24 Jason Vertrees : >> > Hi, >> Hi Jason >> >> > Is there any chance you can send me your input file(s)? Also, please let >> > me >> >

[PyMOL] CGO rotate vs quaternion

2013-11-24 Thread Павел Томашевский
Hi all, Ok, so today I have to admit that I don't know what quaternions are but I will need to use them. I'm working on PyMOL and Sensable Phantom Omni haptic device integration using Virtual Reality Peripherial Network (VRPN). So far I have a nicely working plugin for PyMOL that can retreive X,

Re: [PyMOL] ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns err=1282

2013-11-24 Thread Павел Томашевский
.uci.edu/~gohlke/pythonlibs/3msnvi49/pymol-1.6.0.0.win-amd64-py2.7.exe. Executable comes with integrated Python 2.7 distribution... > Cheers, > > -- Jason Cheers Pawel > > > On Sat, Nov 23, 2013 at 2:47 PM, Павел Томашевский > wrote: >> >> Hello >

[PyMOL] ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns err=1282

2013-11-23 Thread Павел Томашевский
Hello I run PyMol 1.6.0 on windows 7 and I get this error: ERROR: CGOOptimizeScreenTexturesAndPolygons() glGenBuffers returns err=1282 or ERROR: CGOOptimizeToVBONotIndexed() glGenBuffers returns err=1282 over and over again. Is there any way to get rid of that? That's really annoying. crooveck -

Re: [PyMOL] How to move/turn CGO

2013-08-12 Thread Павел Томашевский
Thank you Thomas, translate and rotate works great, but I'm not sure what set_object_ttt function does. I'm also looking for a function that can set absolute coordinates of my cgo cone, not relative to current position like translate/rotate. Is there such a function? 2013/8/12 Thomas Holder >

[PyMOL] How to move/turn CGO

2013-08-09 Thread Павел Томашевский
Hello1 Currently I'm working on some plugin for PyMOL and I need your help. I need to draw an object (CGO) and create some function that will move this object or simply change its coordinates. I've done my job with the first part, that is drawing a sphere on a screen using cmd.load_cgo(data, 'n

[PyMOL] How to move/turn CGO

2013-08-09 Thread Павел Томашевский
Hello Currently I'm working on some plugin for PyMOL and I need your help. I need to draw an object (CGO) and create some function that will move this object or simply change its coordinates. I've done my job with the first part, that is drawing a sphere on a screen using cmd.load_cgo(data, 'na