Re: Textures substitution.

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Thu, 19 Sep 1996 17:23:26 -0700


On Sep 19, 10:40am, Steve Baker wrote:
> Subject: Re: Textures substitution.
>
> Svend Tang-Petersen asked:
>
> > What would be the best way to, on the fly, change the texture on a surface
?
>
> I use the Performer "Indexed GeoState" facility to do this.

[munch]

The OpenFlight loader knows how to make effcient pfGeoState tables for
indexing. You can tell the loader how many tables to make with the caveat that
the format itself only has geometry attibutes for two tables: a normal visual
and a simple IR visual (based upon IR material). More trickery can be done by
replacing pfTexture's and such after the database is loaded.

Check out the loader's doc. file README.FLT.R14_2 and its public header file
pfflt.h for details. Search for "fltSharedPalette" ...

Also, The MultiGen Newsletter vol 3, #1 from Januaray '96 began a discussion of
this facility. The newsletter has resumed publication :) so you can expect
follow ups to that article later this year.

Regards.

--
   ____ ___  ____  _    Marcus Barnes, Member Technical Staff
  / __ `__ \/ __ `( )   MultiGen Inc. 550 S. Winchester Blvd. STE 500
 / / / / / / /_/ / /    San Jose CA 95128 WEB: http://www.multigen.com
/_/ /_/ /_/\__, /_/     PH:1-408-556-2654 FX:1-408-261-4102
          /____/        EMAIL: marcus++at++multigen.com
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:35 PDT

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