From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 06/04/2001 10:36:00
You can used indexed geostates and switch the geostate table on the fly.
Take a look at pfGeoSet::setGStateIndex. Another option is to load new
data into the texture all the geostates share. You have to do this in a
draw callback to be frame-synchronous.
-- Marcin
On Mon, 4 Jun 2001, Alexis Matte wrote:
> Hi,
> I want to switch the texture referenced from many polygons at run time, so that all polygons using this texture will then display the new texture.
>
> What is the best way of doing this?
> Is there some sample code for doing this?
>
> Merci
>
> -----------------------------------------------------
> Alexis Matte
> Software Developer
> Adacel Inc.
> EMail: alexis.matte++at++adacelcanada.com
> Tel: (450) 672-3888 ext:244
> -----------------------------------------------------
>
This archive was generated by hypermail 2b29 : Mon Jun 04 2001 - 10:36:03 PDT