Help the Rookie

New Message Reply Date view Thread view Subject view Author view

James Barhorst (jbarhorst++at++mdc.com)
Thu, 06 Mar 1997 16:31:17 -0600


Hi everybody, I'm a Performer rookie with a number of questions.

I'm using Multigen II to create a scene database to be displayed by
Performer 2.0 on a 4 R-10000 CPU Onyx with Infinite Reality / IRIX 6.2.
The ultimate product of my code is a 256 x 256 pixel video signal being
sent out of the Onyx. I don't have Sirius Video. I have a separate
executable generating the updated viewpoint that runs asynchronously on
a different CPU. I care more about getting the video signal out in less than
20 milliseconds after computing the viewpoint than I care about how the
display looks on the screen.

1. Am I stuck with starting my app/cull/draw loop with pfSynch(), or is
there a way to synch-up with the other code (whose timing is fixed
externally.)

2. Is there a pfCall that will let me render into a 256 x 256 frame buffer, but
display a larger (but same resolution) image on the display? I don't mind
little blocks of the same color, but I don't think I can take the throughput hit
to set up another channel or pipe.

3. Do I have to wait for the return from pfFrame() to start reading out the
frame buffer (with a glReadPixels), or is the data valid earlier?

4. Are there any special considerations or restrictions (such as memory
locks, timing, double buffering, etc.) in reading from the frame buffer
immediately after its been loaded up?

5. Why do I have to explicitly save my MultiGen II .flt files as version 14.2
(instead of the default 15.2) in order to get my textures to show up? If I
don't, most polygons are black and I get a bunch of

PF Notice/Assert: convTree() unsupported node 113 "unknown" found.

6. Can and how do I create "billboard"-type trees in MultiGen II for
Performer to display? I can't find "billboards" in the MG documentation.

Thanks in advance for all partial or complete answers, hints, and
suggestions.

Jim Barhorst jbarhorst++at++mdc.com

"Sometimes ... you can see the stars and still not see the light!"
                                                               - The Eagles

=======================================================================
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:54:51 PDT

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