|
![](/i/fill.gif) |
"Espen" <nomail@nomail> wrote:
> Hi!
>
> I want to to make a text string semi transparent. Tried to use pigment with
> rgbf but it does not work as I thought it would. Any help appreciated. The
> code I thought would work below.
>
> TIA
> , Espen
>
> text {
>
> ttf "impact.ttf" "Text String" 0, 0
>
> pigment { rgbf < 1.0, 1.0, 1.0, 0.5 > }
> finish { ambient 1 diffuse 0 }
>
> .
> .
> .
>
> }
Works fine for me. Perhaps, you expect something different?
//START
camera{
up y
right x*image_width/image_height
angle 30
location <0,0,-10>
look_at 0
}
text {
ttf "impact.ttf" "Text String" 0, 0
pigment { rgbf < 1.0, 1.0, 1.0, 0.5 > }
finish { ambient 1 diffuse 0 }
translate -x*2
}
cylinder{-x*3,x*3,0.1 pigment{rgb <1,0,0>}finish { ambient 1 diffuse 0 }
translate <0,0.3,1>}
//END
-tgq
Post a reply to this message
|
![](/i/fill.gif) |