|
![](/i/fill.gif) |
Wasn't it wade who wrote:
>Hello,
>
>I am trying to get my blob to behave like cell walls: where the surface is
>parellel to the plane of projection the wall looks pritty much clear and as
>the wall bends towards perpendicular to the plane of projection the wall
>becomes more opaque. I don't know if I'm being clear. Glass is simmilar.
>
>I tried density maps but I dont know how to use them correctly I think.
That sounds a bit like the Angle Of Incidence pattern available in
MegaPOV but not in Official POV-Ray. Except it doesn't happen with
glass.
The value returned by this pattern is proportional to the angle between
a certain ray and the (perturbed) normal at the surface of the object.
So you can use a colour_map to vary the transparency.
pigment {aoi
colour_map {
[0.1 rgbt <.3,.5,0,1>]
[0.5 rgbt <.3,.5,0,0>]
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |