|
|
Hm, hm, hm,
I didn't like to correct you, but the tubes are uv-mapped which allowed for my
cheap trick. I used the "sausages" by intention and created a very simple
texture with my favorite graphics software:
#include "colors.inc"
camera{
orthographic
location <0,0,-1000>
look_at <0,0,0>
right 1024*x
up 1024*y
}
light_source { <0,0,-1000>, color White }
box { <-1024,-100,-1>,<1024,50,1> rotate <0,0,-45> translate <0,512,0> pigment {
color Red } }
box { <-1024,-100,-1>,<1024,50,1> rotate <0,0,-45> translate <0,-512,0> pigment
{ color Red } }
I saved it as a GIF (teststraehne.gif) and used the following texture for the
tubes:
#declare tube_material1_=
material{
texture{ uv_mapping pigment { image_map { gif "teststraehne.gif" transmit 0,1 }
scale <1,1/16,1>}
finish{specular 0 roughness 0.09632328 ambient rgb <0.00,0.00,0.00>
diffuse 0.6 reflection{0 } conserve_energy}}
}
That's all.
Regards,
Michael
Post a reply to this message
|
|