POV-Ray : Newsgroups : povray.general : procedural texture as a bump map? : Re: procedural texture as a bump map? Server Time
30 Jul 2024 16:18:40 EDT (-0400)
  Re: procedural texture as a bump map?  
From: Dan Connelly
Date: 7 Nov 2008 11:18:09
Message: <49146a41$1@news.povray.org>
Dave VanHorn wrote:

> I made a floor of boards,
> 
> #declare Floor = object { union { object { Board1  translate <-15, 0, 0>}
>                                   object { Board2  translate <-12, 0, 0>}
>                                   object { Board3  translate < -9, 0, 0>}
>                                   object { Board4  translate < -6, 0, 0>}
>                                   object { Board5  translate < -3, 0, 0>}
>                                   object { Board6  translate <  0, 0, 0>}
>                                   object { Board7  translate <  3, 0, 0>}
>                                   object { Board8  translate <  6, 0, 0>}
>                                   object { Board9  translate <  9, 0, 0>}
>                                   object { Board10 translate < 12, 0, 0>}
>                                   object { Board11 translate < 15, 0, 0>}
>                                 }
>                           scale <0.5, 1, 1>
>                         }
> 
> Each board has the same texture, but slid back and forth so that they don't look
> like "clones".


You can also use a repeat warp to get the same effect on a single floor object.

Nice example with a brick wall:
http://www.shipbrook.com/jeff/raytrace/bricks.html


Post a reply to this message

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