ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/test/renders/diskcoords.cal
(Generate patch)

Comparing ray/test/renders/diskcoords.cal (file contents):
Revision 1.2 by greg, Sat Dec 1 02:06:05 2018 UTC vs.
Revision 1.3 by greg, Mon Dec 3 19:49:11 2018 UTC

# Line 1 | Line 1
1   { RCSid $Id$ }
2   {
3          Shirley-Chiu coordinate calculation for BRDF data types (plasdata, metdata)
4
5        Assumes material in X-Y plane with Y axis "up" and surface normal is Z-axis
4   }
5                          { Compute square position from disk coordinates }
6   norm_radians(p) : if(-p - PI/4, p + 2*PI, p);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines