Re: Textures substitution.

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Thu, 19 Sep 1996 12:22:39 +0100


You have lots of choices.
It's probably best for this sort of application to substitute the texture
in a shared geostate or use pfTexImage. You could also subtexload the image.

On Sep 19, 11:11am, Svend Tang-Petersen wrote:
> Subject: Textures substitution.
>
> Hi Perfs.
>
> What would be the best way to, on the fly, change the texture on a surface ?
>
> i.e. is it sufficient to replace a pointer to texture_1 with a pointer to
> texture_2, or do I have to traverse the scenegraph and do a new texbind ?
>
> The idea is to cycle through a number of materials/wood textures by hitting a
> function key. In some demos, e.g. Divisions 'showroom', you change the color
> of polygons by hitting a number of different keys.
>
> --
>
> Regards Svend
>
>
> *************************************************************************
> * Svend Tang-Petersen, MSc Email: svend++at++copen.sgi.com
     *
> * Silicon Graphics Denmark Fax: (+45) 43438606 *
> * Stationsparken 25 Phone: (+45) 43438600 *
> * 2600 Glostrup Voice mail: 5-7507
             *
> * Denmark *
> * *
> * Homepages http://www.sgi.com *
> * http://www.sgi.dk *
> * *
> * OutBox (SGI only) http://rex.copen.sgi.com/~svend *
> *************************************************************************
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Svend Tang-Petersen

=======================================================================
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:34 PDT

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