From: Paolo Farinelli (paolo++at++sgi.com)
Date: 01/17/2003 18:14:36
Hello Herbert,
Thanks for checking out libpfv! Although it is a brand new API
addition to Performer, it is intended to be fully functional on all
platforms (IRIX. linux and win32) with quite a rich feature set.
These include xml file io, display management, input management
and the extensible pfvViewer infrastructure, as well as classes for
3d picking and interaction.
The warnings that you have reported are not too serious:
The code which parses the FOV entry attempts to read a string of
four floats (for asymmetric frustum definitions), but if the string
only contains two floats, these are used to define a symmetric frustum.
Unfortunately, attempting to read four floats but only finding two
generates a warning from within pfvXmlNode::getFloatArray, but
in this case the warning can be ignored. We'll make this a DEBUG
message for the future.
The other warning is an internal printout we should have removed.
You can safely ignore it.
Both of these (SCR 878889 and 878890 ) will be fixed in our next
minor release.
Thank you!
ciao,
Paolo
Herbert Gartner wrote:
> has anyone tried using the new libpfv in performer 3.0?
> (see Appendix B of the Getting Started Guide "Building a Visual
> Simulation Application Using libpfv" or "man pfvViewer" if you want to
> know what the **** i'm talking about)
>
> looks like a promising approach to me. but after playing a little bit
> with the provided examples, i have the feeling this is kind of beta-
> or alpha-status.
>
> for instance - trying to use a display configuration file like in the
> examples:
>
> <?xml version="1.0" ?>
> <viewer>
>
> <!-- Display specifications -->
> <display>
> <!-- Configure middle pipe -->
> <pipe>
> <!-- direct middle pipe to screen 0 -->
> <screen>0</screen>
> <!-- Configure a single pipe-window on middle pipe -->
> <pwin>
> <!-- set pipe-window to fullscreen, no border -->
> <fullscreen>0</fullscreen>
> <border>1</border>
> <orig>5,100</orig>
> <size>1200,400</size>
> <title>VR-Raum</title>
> <!-- Configure a single channel on pipe-window -->
> <chan>
> <name>chan_m</name>
> <fov>150.0,46.0</fov>
> </chan>
> </pwin>
> </pipe>
> </display>
> ...
>
> gives the following errors for the FOV and name declaration:
>
> PF Warning(22): pfvXmlNode::getFloatArray - missing 2th elt in
> "150.0,46.0"
> PF Warning: pfvDispView::setXmlField: <name> ? </name>
> PF Warning: pfvDispView::setXmlField: <chan> ? </chan>
>
>
> anyone else tried using libpfv or knowing more about the status?
>
>
> herb
> --
> --------------------------------------------------------------------
> DI Herbert Gartner mailto: gartner++at++imagination.at
> Imagination GmbH phone: +43 1 20501 - 33 310
>
> -----------------------------------------------------------------------
> List Archives, Info, FAQ: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>
>
-- Paolo Farinelli paolo++at++sgi.com Member of Technical Staff, OpenGL Performer 1-650-933-1808 Silicon Graphics 1600 Amphitheatre Pkwy, Mountain View, CA 94043
This archive was generated by hypermail 2b29 : Fri Jan 17 2003 - 18:14:48 PST