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

Robert Balfour bob at BAL4.com
Fri Oct 19 02:58:12 PDT 2007


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 swapBuffers().

2. a draw callback on a scenegraph node assigned to the highest number
render bin.

3. other ways?

Thanks.


Bob.
-- 
Robert E. Balfour, Ph.D.
Exec. V.P. & CTO,  BALFOUR Technologies LLC
960 South Broadway, Suite 108, Hicksville NY 11801
Phone: (516)513-0030  Fax: (516)513-0027  email: bob at BAL4.com



More information about the osg-users mailing list