Marcus Barnes (marcus++at++multigen.com)
Wed, 21 Feb 1996 12:14:27 -0800
The "template point" flag is not supported by the loader. A complete feature
list is in its documentation file:
/usr/share/Performer/src/lib/libpfdb/libpfflt/README.FLT.R14_2
This is because OpenFlight has only one "point" type and I've yet to get a
concensus on which kind of Performer point billboard should be created:
PFBB_POINT_ROT_EYE or PFBB_POINT_ROT_WORLD. My feeling is to support
PFBB_POINT_ROT_WORLD since I believe this is the more common usage. Email
response to me on this feature is welcome :)
... and expect the next version of OpenFlight to support both point types :)
> My goal is to make a couple words that always face the viewpoint in the
> virtual environment. Words that lay flat on the terrain but rotate
> themselves about the Z axis with respect to the viewer would also be
> lovely.
>
> Might there be a special code I can put on the Multigen polygon
> attribute page (so I don't have to alter perfly or the loader yet)?
Partly, yes. Model your point billboard polygons as "template axis" under a
unique object. In the object comments, specify the kind of rotation, axis, etc
that you want. In your application enable the loader's callback function
(PFFLT_REGISTER_NODE) and when you encounter a CB_OBJECT case with your
comments simply make calls to the associated pfBillboard node to change it from
axis to point according to the information you parse from those object
comments.
> Lamar
> harrell++at++vsl.ist.ucf.edu
> ___________________________________________.
>
>-- End of excerpt from Lamar Harrell
Regards.
--
__ ___ ____ _ ______ Marcus Barnes, Member Tech. Staff
/ |/ /_ __/ / /_( ) ____/__ ____ MultiGen Inc, 550 S. Winchester
/ /|_/ / / / / / __/ / / __/ _ \/ __ \ Blvd. STE 500, San Jose CA 95128
/ / / / /_/ / / / / / /_/ / __/ / / / PH:1-408-556-2654 FX:1-408-261-4102
/_/ /_/\__,_/_/\_\/_/\____/\___/_/ /_/ EMAIL: marcus++at++multigen.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:26 PDT