|
![](/i/fill.gif) |
begemotv2718 nous apporta ses lumieres en ce 24/06/2006 00:57:
> I am trying to make a transparent bottle with a transparent label (i.e. I
> want only the text of the label to be visible). When I trace the label
> without the bottle everything is OK, only the text is visible. However,
> when I trace this with bottle there is a distinct shadow on the surface of
> the glass where the transparent part of the label begin. How to get rid of
> this artefact?
>
> The label is produced by the following code:
> #declare label =
> difference{
> cylinder { <0,0,0>, <0,60,0>, 31.855
> scale 0.1
> }
> cylinder{ <0,0,0>,<0,60,0>, 31.853
> scale 0.1
> }
> pigment { image_map { gif "label.gif"
> map_type 2
> transmit 255, 1.0
> transmit 0, 0.01
> //once
> interpolate 2
> }
> scale 20*y
> rotate 84*y
> translate -8.5*y
> finish{
> reflection 0
> diffuse 0
> ambient 0
> }
> }
>
> The gif image is black text over the white background.
>
>
>
>
>
>
>
Try using a larger max_trace_level. The default of 5 is probably to small.
Try: global_settings{max_trace_level 7}
--
Alain
-------------------------------------------------
How much deeper would the ocean be without sponges?
Post a reply to this message
|
![](/i/fill.gif) |