"Edouard" <pov### [at] edouardinfo> wrote:
> "tony" <nomail@nomail> wrote:
> > I am a newcomer to Povray and trying to land in a wooden three textures:
> > diffuse, bump, specular.
> >
> > With the first two have no problem:
> >
> > pigment{ image_map{ jpeg "suelo.jpg" interpolate 2}}
> > normal { bump_map{ jpeg "suelo_bump.jpg" bump_size 0.8}}
> > finish { diffuse 0.8 specular 0.5 ambient 0.100000 roughness 1/50 }
> >
> > But not to speculate that the texture is not uniform brightness,
> > ie grayscale darkest areas sparkle less or nothing.
> >
> > I've searched the documentation and have not found or been able to find anything
> > respect.
> >
> > Does this function Povray? How?
>
> Hi Tony.
>
> I think you want something like this:
>
> #declare texture1 =
> texture {
> pigment { image_map{ jpeg "suelo.jpg" interpolate 2}}
> normal { bump_map{ jpeg "suelo_bump.jpg" bump_size 0.8}}
> finish { diffuse 0.8 specular 0.5 ambient 0.100000 roughness 1/50 }
> }
>
> #declare texture2 =
> texture {
> pigment { image_map{ jpeg "suelo.jpg" interpolate 2}}
> normal { bump_map{ jpeg "suelo_bump.jpg" bump_size 0.8}}
> finish { diffuse 0.8 specular 0.0 ambient 0.100000 roughness 1/50 }
> }
>
> texture {
> image_pattern {
> jpeg "suelo_specular.jpg" interpolate 2
> }
> texture_map {
> [ 0 texture1 ]
> [ 1 texture2 ]
> }
> }
>
>
>
> > Thanks and best regards to all.
> >
> > Tony
Post a reply to this message
|