Ran Yakir (rany++at++rtset.co.il)
Thu, 04 Sep 1997 09:01:04 +0200
> 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.
Ran
--
__ | Ran Yakir
/_) _ __ \ / _ / o __ | RT-SET Ltd.
/ )_ (_(_) ) \/ (_(_/<_(_)( |
_/ |
-------------------------------------+--------------------------------
Phone : | E-mail : rany++at++rtset.co.il
Work : 972-9-9552236 Ext #119 | rany++at++netvision.net.il
Res. : 972-9-7489974 |
Fax : 972-9-9552239 |
=======================================================================
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:55:52 PDT