[info-performer] Performer 3 and MPK

New Message Reply Date view Thread view Subject view Author view

From: Bolstad, Mark (mbolstad++at++arl.army.mil)
Date: 02/20/2003 13:45:43


I've been poking around with the MPK demos that come with Performer 3.0, libpfmpk/simple and samples/C++/mpkfly. Neither of these accomplish what I'm looking for, although they're close. simple reads the config file and each pipe displays the object for a shared viewpoint (4 pipe, 4 copies). mpkfly creates a single display with the pipes/channels laid out in a linear fashion, not the way they are specified in the MPK config file.

Here's the setup (a 4 wall RAVE II driven with 3 IR3 pipes):

   p1c1 | p0c0 ' p0c1 | p1c0 (walls p1 is movable, p0 fixed and blended
        | p2c0 ' p2c1 | (floor blended on pipe 2)

What I'd like is either an example or a description of how to modify simple.C such that the 6 displays share a single view with offsets (yes, setViewOffset is a wonderful thing, but the documentation implies that it is setup in the pfMPKImportFile, which it isn't).

Attached is a copy of the config file we're using which works for another MPK-based app.

FYI, I frequently get an X error if I run this config file (Access to Private Resource), but if I remove one of the pipes it behaves better (not great). Again it works with MPK, but with errors for mpkfly.

Thanks,

Mark




New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Feb 20 2003 - 13:46:09 PST

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