Re: [PyOpenGL-Users] getting the feedback buffer
Brought to you by:
mcfletch
From: noema <mai...@sh...> - 2005-02-15 11:02:33
|
Ok ... I figured it out. It is either a bug in Mesa or in pyopengl. According to the developer list, pyopengl 2.0.1.07 upwards should have fixed that problem. Also the version of Mesa that comes with Xfree 4.3 does not support the feedback buffer. Updating to pyopengl 2.0.1.08 and using hardware-accelarated DRI rendering solved the problem for me (I am on ubuntulinux 4.1 with ati binary driver) _noema noema wrote: > > > This is driving me NUTTSS!! > no matter what I do I get a... > > "Unknown vertex type in feedback buffer." > > ...when I try to switch back to glRenderMode(GL_RENDER). > > Does anybody of you have a working example or can give me a hint to the > problem...would really appreciate it! > > _nailobe > > > > In my draw methode I use the following code: > > glFeedbackBuffer(32768, GL_2D) > glRenderMode(GL_FEEDBACK) > > # self._onDraw() > glPassThrough(110) > glBegin(GL_LINE_STRIP) > glVertex3f(0.0, 0.0, 0.0) > glVertex3f(1.0, 0.0, 0.0) > glVertex3f(1.0, 1.0, 0.0) > glVertex3f(-0.5, 1.5, 0.0) > glVertex3f(0.0, 0.0, 0.0) > glEnd() > > feedbackBuffer = glRenderMode(GL_RENDER) > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |