|
|
Hi,
I have a problem im trying to get a texure on this texure map.
if created a png image to show what i want to see and what i dont want to
see.
on the bits i do show i want a some sort of rusty texure if created(far from
perfect yet)
but it only seems to show the red whit not a single bit of grey.
i know its not the texure itself because it does work on a normal box.
could anybody tell me what im doing wrong
//////this is the texure
#declare metal_roest =
pigment {
granite
color_map {
[0.0 rgb < 0.5, 0.5, 0.5> ]
[0.4 rgb < 0.5, 0.5, 0.5> ]
[1.0 rgb < 0.5, 0, 0> ]
}
frequency 1
scale <30,10,30>
}
//////and this the cylinder whit the image pattern and texure map
#declare huis_buitenkant_onder =
difference{
cylinder { <0, 0,0>, <0,100,0>, 50 }
cylinder { <0,-1,0>, <0,101,0>, 49.5 }
no_shadow
texture {
image_pattern { png "mask.png" use_color interpolate 2 map_type 2 once}
texture_map {
[0 pigment { transmit 1 } ]
[1 metal_roest]//color rgb < 100/255 , 100/255 , 100/255>}]
}
scale 100
}
rotate y*225
}
roelof
Post a reply to this message
|
|