Re: spotlight lobe......how to make it fade out by the range

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass)
Mon, 29 Dec 1997 11:48:40 -0800


On Dec 29, 9:33am, Angus Dorbie wrote:
> Subject: Re: spotlight lobe......how to make it fade out by the range

> The exact distribution of r with depth would depend on the field
> of view and the information in the 3D texture, there's more than
> enough flexibility to apply what you need although you may have
> to scale everything since currently s & t are divided by r for
> the projective effect so a normalized projective texture would
> be required and you may need several slices in the 3D texture
> to get the dropoff right although you may want to have several
> slices in the 3D texture.
>

Just so this is clear, the normalized projective texture
coordinates are so that r spans a range of 0-1 to map the
range attenuation correctly to the scene.

This involves adjusting the texgen parameters feeding the
projective texture matrix (or transforming them in the same
matrix).

Cheers,Angus.

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:56:28 PDT

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