|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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?
Thanks and best regards to all.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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?
>
> Thanks and best regards to all.
>
> Tony
Hi Tony,
I'd like to help you but I'm really not sure what you're asking for here (it's
obvious that English is not your main language).
Are you saying that the darker areas of the bump map have no specularity but the
lighter areas do? Take a look at Warp's tutorial at:
http://warp.povusers.org/povtips/
That might answer your question; if not please restate it for us...
-Rob
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Robert McGregor for the tutorial.
@Edouard: this is the look I wanted. Thanks for the code, works perfectly.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thanks Robert McGregor for the tutorial.
@Edouard: this is the look I wanted. Thanks for the code, works perfectly.
Tony
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |