|
![](/i/fill.gif) |
Am 01.12.2011 14:37, schrieb Jim Holsenback:
> On 11/30/2011 10:19 PM, clipka wrote:
>> Some soap bubbles, rendered with a complete re-design of the iridescence
>> feature.
>
> Outstanding ... I'll keep an eye on revision control. I'm anxious to get
> it a test drive.
You are clear for take-off.
> Since, it would seem, that my sea shell attempt at
> using iridescence is what inspired you to dig into this, I have a
> question about the aoi pattern that was mentioned as an alternative ...
> you wouldn't expect it (aoi) to respond to other pattern modifiers
> correct, as it doesn't appear to. However when I read the doc passage,
> "It gives a value proportional to the angle between the ray and the
> surface" it makes me think that's correct behavior. If this is true
> enough, perhaps I should make a slight addition to that passage to clarify.
The description in the docs is correct. The mechanism is actually pretty
similar to the slope pattern, except that the reference direction is not
a constant "up" direction, but the direction of the light ray to the
observer.
As the surface normal is only well-defined at the object's surface, you
can't do stuff such as scaling, translating or rotating the pattern, or
perturbing it (as that is essentially a non-uniform translation of the
pattern).
You can perturb the surface normal though, which affects the aoi pattern.
Post a reply to this message
|
![](/i/fill.gif) |