Re: XForms: OpenGL question.

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 3 Feb 98 07:29:13 PST

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> I think this is a simples question (sorry): does anyone know if it
> is possible to open two glcanvas at the same application (for
> example, to render two different views of an object at different
> windows)? If so, how it can be done? I am using xforms v0.81, with
> the gl_canvas defined in the gl.c file that came with the xforms
> package.

Yes, it can be done. You simply open two glCanvases and manipulate
the GLXContext to render to the appropriate Canvas.

0.81 is pretty old, by the way. I'd strongly suggest you upgrade to
0.88.

spl

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bloch.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/