|
|
"Ian Witham" <ian### [at] hotmailcom> wrote in message
news:395b2f95@news.povray.org...
|
| > You could vary them slightly with a
| > 'turbulence' added in: pigment {image_map{} turbulence 0.05} for close ups
|
| That's a great idea, but I've also used the same leaf images for
| bump_map's... if I add the same amount of turbulence to the image_map and
| bump_map will they still line up?
Yep, if scale, rotate, translate are the same too. Just be careful not to
turbulate into chaos.
Example:
texture {
pigment {image_map {png "c:\images\IEerror.png"
// interpolate 2 // smooth it
once // don't tile image, just one copy
// filter all .75 // make 1st color mostly transparent
// transmit 1, .75 // make 2nd color mostly transparent
}
// transform it to unit-size (-1 to +1)
translate -0.5*(x+y) // center on the origin
scale 2 // make it 2 units across
turbulence .125
}
normal {bump_map {png "c:\images\IEerror.png"
// interpolate 2 // smooth it
once // don't tile image, just one copy
} bump_size 2 // raise or lower relief
translate -0.5*(x+y) // center on the origin
scale 2 // make it 2 units across
turbulence .125
}
finish {ambient .125 diffuse .75 specular .25 roughness .075}
}
}
Post a reply to this message
|
|