Re: Texture coordinates

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Thu, 4 Sep 1997 10:20:36 -0700


On Sep 4, 9:01am, Ran Yakir wrote:
> Subject: Re: Texture coordinates
> Rémi Arnaud wrote:
>
> > Prakash Mahesh wrote:
> > >
> > > Hi,
> > >
> > > I have a question regarding texture coordinates. I want to transform a
> > > set of texture coordinates by a matrix. Do I have to do it point by
> > > point, or is there a Performer functionality that can do this?
> > >
> >
> > is pfVec3::fullXformPt() what you are looking for ?
> >
> >
>
> I think that the meaning was, to have a functionality that transforms all
> the texture coords of a geoset by the same matrix.Well, this functionality
> exists and is called the texture matrix. You set the texture matrix before
> sending the texture coords to the pipe, and they are transformed by it.
> There is a texture matrix attribute for a geostate which you can use.

This attribute is new with performer 2.2, you'll have to use callbacks
with earlier releases.

Cheers,Angus.

===================================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:55:52 PDT

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