Re: Kajiya-Kay Hair Light Model
- From: "Ryan" <heniser@xxxxxxxxx>
- Date: 27 Oct 2005 19:11:25 -0700
Matt,
With some help from a friend (thanks Rob), I believe we've got it.
The numerator is,
Kd * l . [ l - (t.l) * t ]
= Kd * [ l.l - l.((t.l)*t) ]
= Kd * [ 1 - (t.l) * (t.l) ]
= Kd * [ 1 - (t.l)^2 ]
The denominator is,
| l - (t.l) * t |
= sqrt( [ l - (t.l) * t ] . [ l - (t.l) * t ] )
= sqrt( l.l - 2 * l.((t.l)*t) + ((t.l)*t).((t.l)*t) )
= sqrt( 1 - 2 * (t.l) * (t.l) + (t.l) * (t.l) * 1 )
= sqrt( 1 - (t.l)^2 )
Does this look correct to you?
.
- References:
- Kajiya-Kay Hair Light Model
- From: Ryan
- Re: Kajiya-Kay Hair Light Model
- From: Matt Pharr
- Kajiya-Kay Hair Light Model
- Prev by Date: CCD
- Next by Date: Re: Morphing from a square to a curve-bounded area
- Previous by thread: Re: Kajiya-Kay Hair Light Model
- Next by thread: Tone mapping
- Index(es):
Relevant Pages
|