|
|
web.3e35c5282eeb1cd59a303f820@news.povray.org...
> As you may know, I am working on a model of the US Brig Niagara. My
interest
> has made me watch your boat closely & i am very much impressed. I am
> intensly interested in how you are using slope maps in your plank
textures.
> Can you enlighten me a little?
Yes. I'm using a slope map to make the planks.
I use this normal (remember I work with Moray so Z is up,
if you wanna use it with pov coord change it to Y):
normal
{
gradient z , 1.0
slope_map
{
[ 0.0 <0.0 , 1.0> ]
[ 0.05 <1.0 , 1.0> ]
[ 0.95 <1.0 , 0.0> ]
[ 1.0 <0.0 , -1.0> ]
}
}
Then scale it to fit the size of the planks you want.
For the boat, I had only one half of the hull, the other is
a reference. So I had to rotate the texture to get the curvature
(-20*x. The boat is aligned in the x axis)
Hope this helps.
Txemi Jendrix
http://www.txemijendrix.com
Post a reply to this message
|
|