[comp.sys.sgi] gl commands in X11

flanigan@iris613.gsfc.nasa.gov (Dennis Flanigan Jr.) (07/31/90)

A question about gl with X11:

Last week I asked the SGI hotline if there was any way I could 
use gl commands in a window opened up with X11 commands.  
Essentially using the gl command winset on the X11 window.  
SGI said it could not be done now, but probably in the future.

Does anybody know why I can't do this now?




--------------------------------------------------------------------------
Dennis Flanigan Jr.               |   Goddard Space Flight Center

msc@ramoth.esd.sgi.com (Mark Callow) (08/16/90)

In article <2943@dftsrv.gsfc.nasa.gov>, flanigan@iris613.gsfc.nasa.gov
(Dennis Flanigan Jr.) writes:
|> 
|> A question about gl with X11:
|> 
|> Last week I asked the SGI hotline if there was any way I could 
|> use gl commands in a window opened up with X11 commands.  
|> Essentially using the gl command winset on the X11 window.  
|> SGI said it could not be done now, but probably in the future.
|> 
|> Does anybody know why I can't do this now?
|> 
It's a long and complicated story.  The short version is that the only
way
to access and initialize the GL is via winopen; guess what winopen does.
It
makes a GL window.

You can do both an XCreateWindow() and a wineopn() in the same program
but you
get two separate windows and you may have to deal with two input models.
This
is a tricky game to play.

As the hotline told you, what you want to do will be possible in the
future.
--
From the TARDIS of Mark Callow
msc@ramoth.sgi.com, ...{ames,decwrl}!sgi!msc
"There is much virtue in a window.  It is to a human being as a frame is
to
a painting, as a proscenium to a play.  It strongly defines its
content."