Re: XForms: OpenInventor and forms library

Steve Lamont (spl@szechuan.ucsd.edu)
Fri, 12 Dec 97 05:52:24 PST

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

> THE PROBLEM:
> To integrate Open Inventor with the Motif based Forms library
> [...]
> void draw_cube()
> {
> // This function renders the cube to myWindow.
> // How do we send this output to form's gl_canvas ???????
>
> // Initialize Inventor and Xt
> Widget myWindow = SoXt::init("Virtualized Scene");

The problem is that XForms is *not* Motif based and knows nothing
about Xt or Widgets. XForms is strictly Xlib based. The Canvas
object is a straight Window with no Widget embellishments.

If you can get OpenInventor to render to a Window rather than a
Widget, you're all set.

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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/