Re: simultaneously a translation and a scaling with pfTGenPlane?

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass.engr.sgi.com)
Wed, 21 Jan 1998 09:27:33 -0800


On Jan 21, 12:08pm, perfly++at++segolene.roazhon.inra.fr wrote:
> Subject: simultaneously a translation and a scaling with pfTGenPlane?
> Salut,
>
> I want to make Translation and Scaling
> to adjust my pfTexture on my pfTerrain.
> The texture is smaller than the terrain (*).
> can I make simultaneously a translation and a scaling
> with pfTGenPlane?

Yes you can adjust the length of the normal in the plane
equation to scale and translate using the 4th offset parameter.

> Others solutions ?
>

You could also consider using the texture matrix to transform
the coordinates produced by your plane equation.

Cheers,Angus.

-- 
"The ultimate measure of a man is not where he stands
in moments of comfort and convenience, but where he
stands at times of challenge and controversy."
                             -Martin Luther King, Jr.
=======================================================================
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:56:36 PDT

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