[osg-users] Integration of OGL draw() method

2007-10-19 Thread Robert Balfour
I have some 3rd party OGL code that needs to draw (add some 2D/3D decorations) directly to the framebuffer after everything else is drawn (i.e. right before swapBuffers). What would be the best way to do this: 1. add a call in Viewbase.cpp to call the 3rd party draw() method right before swapBuff

Re: [osg-users] Integration of OGL draw() method

2007-10-19 Thread Robert Balfour
Martz > Sent: Friday, October 19, 2007 11:43 AM > To: 'OpenSceneGraph Users' > Subject: Re: [osg-users] Integration of OGL draw() method > > 2. would work, and a variant on that is to derive your own Drawable and > override drawImplementation() to issue your OpenGL calls. Ag

Re: [osg-users] Integration of OGL draw() method

2007-10-19 Thread Robert Balfour
d party OGL code generators like GLStudio. > > -Justin > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Paul > Martz > Sent: Friday, October 19, 2007 11:43 AM > To: 'OpenSceneGraph Users' > Subject: Re: [osg-users] Integr

Re: [osg-users] Integration of OGL draw() method

2007-10-19 Thread Vican, Justin E.
ed by 3rd party OGL code generators like GLStudio. -Justin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz Sent: Friday, October 19, 2007 11:43 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Integration of OGL draw() method

Re: [osg-users] Integration of OGL draw() method

2007-10-19 Thread Paul Martz
2. would work, and a variant on that is to derive your own Drawable and override drawImplementation() to issue your OpenGL calls. Again, you'd have to assign a max render bin number to the Drawable's StateSet. -Paul > > I have some 3rd party OGL code that needs to draw (add some 2D/3D > decor

Re: [osg-users] Integration of OGL draw() method

2007-10-19 Thread Paul Martz
> > with code generated by 3rd party OGL code generators like GLStudio. > > > > -Justin > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > Behalf Of Paul > > Martz > > Sent: Friday, October 19,