Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!decwrl!sgi!shinobu!odin!ramoth.esd.sgi.com!msc From: msc@ramoth.esd.sgi.com (Mark Callow) Newsgroups: comp.sys.sgi Subject: Re: gl commands in X11 Message-ID: <1990Aug15.233622.635@odin.corp.sgi.com> Date: 15 Aug 90 23:36:22 GMT References: <2943@dftsrv.gsfc.nasa.gov> Sender: news@odin.corp.sgi.com (Net News) Reply-To: msc@sgi.com Organization: Silicon Graphics Inc., Entry Systems Division Lines: 33 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."