|
|
Wasn't it Brent G who wrote:
>Here's my code:
>difference {
> box {
> <-2, -1, 0.1>, <2, 1, 1>
> texture { T_Stone10
> color filter clock }
> }
> text {
> ttf "timrom.ttf" "Text" 0.15, 0
> pigment { BrightGold
> color filter clock }
> finish { reflection .25 specular 1 }
> translate -1.05*x
> }
>}
>
>Which is What I want to do, but isnt' valid. What I'm trying to do is
>change the transparency of the objects for an animation so they fade in
>over the course of the animation. clock goes from 0 to 1.
I just found a neat trick for dealing with complicated textures like
T_Stone10. Take an average of T_Stone10 with Clear, varying the ratios
of the two component textures as the clock changes.
box {
<-2, -1, 0.1>, <2, 1, 1>
texture {
average
texture_map {
[clock T_Stone10]
[1-clock pigment {Clear}]
}
}
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|