Marcus Barnes (marcus++at++multigen.com)
Wed, 4 Mar 1998 10:29:53 -0800
yes.
>The ASD database would obviously have to be loaded as
>a child one existing members, but how would one do so (if one can)?
this is a typical database paging situation. the APP process references the
main scene graph while the DBASE process creates a separate sub-graph and
merges the result into the main scene graph. it can also prune (delete)
portions of the main graph that are no longer needed.
see the pfBuffer and pfBufferAddChild manual pages.
The fact that the node you want to load is a pfASD complicates the issue
because you have to properly populate and configure the pfASD node. The
OpenFlight loader does this when loading a file with CAT (Continuous Adaptive
Terrain).
In addition, there are simple utilities in libpfdu that assist with ASD paging
and even simple mesh creation from gridded data. see the pfdBuildASD manual
page. also look at the libpfdb/libpfarcinfo and libpfdb/libpfdem source code
>The ClipMap would either have to replace an existing texture or be given
>it's one texture coordinates to tie to the new ASD database, how would
>one do this?
The OpenFlight loader handles this for you. Using MultiGen, just "put" a
projected clip texture on the CAT bead, enable the PFFLT_USE_TEXMAP loader mode
and away you go. see the loader's release notes and pfdConverterMode_flt man
page for details.
Regards.
--
+ Marcus Barnes, Technical Staff mailto:marcus++at++multigen.com +
+ Multigen Inc. http://www.multigen.com +
+ 550 S. Winchester Blvd. phoneto:1-408-556-2654 +
+ Suite 500 San Jose CA 95128 faxto:1-408-261-4102 +
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:59 PDT