Re: IR demos for FakeSpace BOOM 3C? (fwd)

New Message Reply Date view Thread view Subject view Author view

Ralph Seguin (seguin++at++vr3.engin.umich.edu)
Thu, 10 Apr 1997 05:05:05 -0400 (EDT)


For some reason, the code snippet below insists on creating
the pfPipeWindow on the HDTV monitor (DG4-8 channel 0),
rather than creating them inside the field sequential
channels (2 and 3) I have set up.

Onyx2 / IR / 2x RM7 / DG4-8

aegaeon% /usr/gfx/gfxinfo
Graphics board 0 is "KONAL" graphics.
        Managed (":0.0") 1920x1200
        Display has 8 channels
        4 GEs (of 4), occmask = 0x0f
        4MB external BEF ram, 32bit path
        2 RM7 boards (of 2) 1/1/0/0
        Texture Memory: 64MB/64MB/-/-
        Medium pixel depth
        32K cmap, 64K external gamma
        Channel 0:
         Origin = (0,0)
         Video Output: 1920 pixels, 1200 lines, 60.00Hz (1920x1200_60.vfo)
        Channel 2:
         Origin = (0,0)
         Video Output: 640 pixels, 480 lines, 60.00Hz (640x480_180q.vfo)
        Channel 3:
         Origin = (0,0)
         Video Output: 640 pixels, 480 lines, 60.00Hz (640x480_180q.vfo)

Any ideas?

// Create a pfPipeWindow for rendering onto the boom.
theGlobalData->boomPipeWindow = new pfPipeWindow(pfGetPipe(0));
theGlobalData->boomPipeWindow->setWinType(PFPWIN_TYPE_X);
theGlobalData->boomPipeWindow->setName("Boom Render");

// [... snip]
// Attributes we are looking for.
static int fbAttrs[] =
        {
        PFFB_RGBA,
        PFFB_DOUBLEBUFFER,
        PFFB_STEREO,
        PFFB_DEPTH_SIZE, 1,
        PFFB_RED_SIZE, 1,
        PFFB_GREEN_SIZE, 1,
        PFFB_BLUE_SIZE, 1,
        None
        };

// Search for the right attributes.
theGlobalData->boomPipeWindow->setFBConfigAttrs(fbAttrs);
theGlobalData->boomPipeWindow->setOriginSize(0, 0, 640, 480);

theGlobalData->boomPipeWindow->setConfigFunc(OpenPipeWin);
theGlobalData->boomPipeWindow->config(); // Open the window.

// [... snip]

According to:
   http://www.sgi.com/Products/hardware/Onyx/Tech/sfsc.html

I should be selecting a visual that corresponds to the FS channels that I
have set up with ircombine.
The web page above only seems to deal with a DG4-2 output.
I'd like to have the following:

   chan0/HDTV monitor: control panel / small window
   chan2/BOOM left eye: left eye channel of BOOM3C
   chan3/BOOM right eye: right eye channel of BOOM3C

How do I go about selecting layers/buffers for such a situation?

I've looked at the man page for pfPipeVideoChannel, but I see no methods
to attach it to a particular DG4-8 channel.

Thanks.
-Ralph
seguin++at++umich.edu

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:55:02 PDT

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