Re: automatic texture coordinate generation

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++sgi.com)
Tue, 30 Mar 1999 00:11:56 -0800


This is the 4th coefficient.

Think of the first 3 numbers as the surface normal of the plane and the
4th as the offset and you have a fairly intuitive description of the
plane equation. This only really works for unit length normals,
otherwise you have to rescale by the normal length.

Cheers,Angus.

ken sartor wrote:
>
> Hi -
>
> When using pfTGenPlane how can one offset the origin
> of the generated texture coordinates? For instance if
> i want the contours to be generated relative to x=1 plane
> rather than x=0, how do i accomplish this?
>
> Thanks in advance!
>
> ken
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com

-- 
"Only the mediocre are always at their best." -- Jean Giraudoux

For advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Mar 30 1999 - 00:12:02 PST

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