POV-Ray : Newsgroups : povray.binaries.images : WIP Boat04 (85.2 Kb) : RE: WIP Boat04 (85.2 Kb) Server Time
13 Aug 2024 21:28:11 EDT (-0400)
  RE: WIP Boat04 (85.2 Kb)  
From: Txemi Jendrix
Date: 27 Jan 2003 22:25:41
Message: <3e35f835@news.povray.org>

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

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