| Revision: | 2.3 |
| Committed: | Sat Feb 22 02:07:24 2003 UTC (22 years, 8 months ago) by greg |
| Branch: | MAIN |
| CVS Tags: | rad5R4, rad5R2, rad5R3, rad5R0, rad5R1, rad4R2, rad3R7P2, rad3R7P1, rad6R0, rad4R1, rad4R0, rad3R5, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad4R2P2, HEAD |
| Changes since 2.2: | +1 -2 lines |
| Log Message: | Changes and check-in for 3.5 release Includes new source files and modifications not recorded for many years See ray/doc/notes/ReleaseNotes for notes between 3.1 and 3.5 release |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | greg | 2.3 | { RCSid: $Id$ } |
| 2 | greg | 1.1 | { |
| 3 | surf.cal - calculation of interpolated surface normal | ||
| 4 | |||
| 5 | A1 - dominant axis (we use the other two) | ||
| 6 | A2 A3 A4 \ | ||
| 7 | A5 A6 A7 \ normal perturbation vector matrix | ||
| 8 | A8 A9 A10 / multiplied by [u*v u v 1] for perturbation | ||
| 9 | A11 A12 A13 / | ||
| 10 | } | ||
| 11 | |||
| 12 | gwlarson | 2.2 | surf_u = select(arg(1)+1, Py, Pz, Px); |
| 13 | surf_v = select(arg(1)+1, Pz, Px, Py); | ||
| 14 | |||
| 15 | greg | 1.1 | surf_dx = surf_u*surf_v*arg(2) + surf_u*arg(5) + surf_v*arg(8) + arg(11); |
| 16 | surf_dy = surf_u*surf_v*arg(3) + surf_u*arg(6) + surf_v*arg(9) + arg(12); | ||
| 17 | surf_dz = surf_u*surf_v*arg(4) + surf_u*arg(7) + surf_v*arg(10) + arg(13); |