[osg-users] Layered rendering

2011-07-26 Thread Jean-Francois Gagnon
Hello, The context: Using GL_EXT_gpu_shader4 extension. Using GL_ARB_geometry_shader4 extension. OpenGL context is 2.0 The problem: -- I am sending a single draw call (point primitive) using a program that has a vertex, geometry and pixel shader. The render

Re: [osg-users] Osg rendering in QGraphicsObjects

2011-06-21 Thread Jean-Francois Gagnon
Hello Benoit, The only way i got QGraphicsView worked with OSG and still have the full functionality of both was: 1. make an offscreen graphic context for OSG 2. create a QGLWidget 3. share textures between those 2 contexts 4. set the viewport of QGraphicsView to the QGLWidget 5. find a way

Re: [osg-users] OpenGL invalid operation error

2011-06-01 Thread Jean-Francois Gagnon
On 01/06/2011 2:04 PM, Paul Palumbo wrote: Correct... When I use the osgExample code with --vbo (and even without --vbo), I get no errors. However, when I put this code into our code, I start getting these warnings. I only care about the surface effects and we are shading the surface