POV-Ray : Newsgroups : povray.newusers : specular texture : Re: specular texture Server Time
5 Oct 2024 15:49:55 EDT (-0400)
  Re: specular texture  
From: tony
Date: 5 Sep 2009 07:45:00
Message: <web.4aa24e88a17eae2648d890540@news.povray.org>
"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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.