pipe problems

New Message Reply Date view Thread view Subject view Author view

Cynthia H. Ferguson (chf++at++netcom.com)
Wed, 14 Dec 1994 19:43:58 -0800


I am developing a VR authoring system using Performer. I would like
to close a pipe and then reopen it in the same application. The motivation
for this is so the user could close a view of a world and then open
another one (of the same world or different world). I have tried
using a Boolean which is set to false like this :

    if (firstTime) pfInit();
        .
        .
        .
        .

    if (firstTime) {
       pfMultiprocess(WHATEVER);
       pfConfig();
       firstTime = false;
    }

and I found that the pipe didn't like the second pfInitPipe call.
Without that second pfInitPipe call, the pipe doesn't know what
GLX window to use for rendering so it defaults to the lower left
corner of my screen and nothing is seen in that window (all black).
(Everything works fine the first time around.) I would like the
rendering to occur in the GLX window I created with its control
panel, etc.

Does anyone have any suggestions on how to work around this? Will
pfExit() still exit to the OS in the next version of Performer?

Cindy
Talisman Dynamics, Inc.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:44 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.