|
![](/i/fill.gif) |
tried the following:
//#if (strcmp(texturepic,"")=0)
texture{
pigment { color rgb <1,1,1> }
finish{ finball }
}
//#end
#if (strcmp(pic,"")!=0)
texture{
pigment {
image_map
{
gif pic
// map_type 1
#declare j=0;
#declare
jmax=dimension_size(filterarr,1);
#while (j<jmax)
filter filterarr[j], 1
#declare j=j+1;
#end//
once
}
scale <1,1,1>*1.2
warp {
spherical
orientation z
dist_exp 1
}
// translate <0,1.1,0>
// rotate 100*y //color rgbf <1,1,0>
// rotate x*-22
// scale 0.1
}
scale mapscale
rotate y*130
finish{finpic}
}
#end
#declare ttextur= texture { pigment {rgbt <1,1,1,1>} normal {bumps 1 scale
.01}};
#if (strcmp(texturepic,"")!=0)
texture { uv_mapping
image_pattern { gif texturepic }
texture_map {
[0 uv_mapping ttextur]
[1 uv_mapping textur scale 1/mapscale]
}
scale mapscale
translate <0,1.02*mapscale,0>
rotate <0,15,0>
translate <0,1,0>
}
but pov complains that it cannot layer a patterned texture over another. I
think it's the first and the last texture that are conflicting. If I just
put the shiny finish in the texture map then it gets bumps like the metal
part in textur which is not the intention.
#end
"Ben Chambers" <ben### [at] pacificwebguy com> wrote in message
news:45bd78e5@news.povray.org...
> Johan Feyaerts wrote:
>> I think I tried that already but pov protested that image maps could not
>> be combined with texture maps.
>
> An image_map is a pigment type, which is part of a texture. So you
> shouldn't try to combine the two.
>
> Instead, declare the image map as the pigment of a complete texture, and
> layer that with another complete texture.
>
> ...Chambers
Post a reply to this message
|
![](/i/fill.gif) |