|
|
Le 16-02-14 15:03, Sven Littkowski a écrit :
> Okay, I will give a try. Thanks a lot.
>
> Should I use "looks_like" or "projected_through" for the cylinder (see
> below (quote)?
>
> On 14.02.2016 10:47, Alain wrote:
>> cylinder{0, HabitatLength*z, AxleRadius
>> pigment{radial
>> color_map{[0 rgb 0.5][0.05 rgbf<0.8, 0.5, 0.2, 1>][0.1 rgbf 1]
>> [0.4 rgbf 1][0.45 rgbf<1, 0.7, 0.5, 1>][0.5 rgb 0.5]}
>> rotate 180*z}
>> }
You want the cylinder to cast shadows, so, looks_like can't be used.
looks_like have an implied no_shadow.
projected_through can be seen as an "anti-shadow" thing. Also, it's
supposed to totaly ignore any pigment and textures and is never visible.
So, it's not what you need.
No, just a plain cylinder with a pattern that is partly transparent in
the direction where you want the light to shine through and opaque on
the "night" side.
You may want to add some shiny or luminous texture on the inside. You do
that using interior_texture after the normal texture.
Post a reply to this message
|
|