Re: [PyOpenGL-Users] Basic query regarding glSelectBuffer
Brought to you by:
mcfletch
|
From: Joshua R. D. <joshuardavis@q.com> - 2011-04-18 12:16:47
|
You just pass in the buffer size. This is in the code I pointed you to. selectionBufferCapacity = 64 glSelectBuffer(selectionBufferCapacity) Josh On 2011 Apr 18, at 7:06 AM, Abhijeet Rastogi wrote: > Also, I have noticed that in python, glSelectBuffer (size) → None is the specification. So, how am I supposed to use selectBuff. Because in C++, we also pass selectBuff's reference to the function. > > On Mon, Apr 18, 2011 at 5:33 PM, Abhijeet Rastogi <abh...@gm...> wrote: > Hi, > > I am not clear as to how do we use glSelectBuffer in pyopengl. > > So far, I have tried to convert it to python and my attempt is as follows: > Python code:- http://sprunge.us/JPUj?python > C++ code:- http://sprunge.us/YPhU?c++ > > > > > -- > Regards, > Abhijeet Rastogi (shadyabhi) > http://www.google.com/profiles/abhijeet.1989 > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev_______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users Joshua R. Davis joshuardavis@q.com |