Re: XForms: device.h

Mike Blackwell (mkb@cs.cmu.edu)
Mon, 30 Mar 1998 17:37:10 -0500

# To subscribers of the xforms list from Mike Blackwell <mkb@cs.cmu.edu> :

I suspect that your program really is GL (i.e. IrisGL), which
was the precursor to OpenGL. Having device.h won't help since
Mesa is an OpenGL implementation, not IrisGL. You'll need to
convert the code to OpenGL. For simple routines it may be as
easy as substitution (v3f() -> glVertex3f() for example).

If you have access to an SGI, there's a utility called "toogl"
which will perform parts of the conversion for you. You'll also
want to check out SGI's "OpenGL Porting Guide" which goes in to
all the gory details.

As an added bonus, once you've done this your graphics will run a
lot faster on modern SGI's, as well...

Mike Blackwell
_________________________________________________
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/