From: Stacey Peterson (staceyp++at++sgi.com)
Date: 04/07/2003 12:51:27
Mark,
As you may have suspected, mpkfly had some bugs which limited its use.
The major bug was that the view offsets specified in the config file
were being ignored. While pfMPKImportFile was calling setViewOffset,
the values set for the channels were later being changed by mpkfly, thus
causing the linear display that you saw. However, we have fixed this
bug, and other minor MPK and mpkfly bugs for version 3.0.2. Thanks for
the feedback, and hopefully the newer version will solve any problems
you may have.
Thanks for the feedback.
Stacey Peterson
"Bolstad, Mark" wrote:
>
> 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
>
> ------------------------------------------------------------------------
> Name: now.config
> now.config Type: unspecified type (application/octet-stream)
> Encoding: base64
> Description: now.config
-- ============================================================Stacey Peterson staceyp++at++sgi.com Silicon Graphics, Inc. (650) 933-5329
This archive was generated by hypermail 2b29 : Mon Apr 07 2003 - 12:51:32 PDT