|
|
"Alain" <aze### [at] qwertygov> wrote in message
news:40e18487$1@news.povray.org...
> Jeremy M. Praay nous apporta ses lumieres ainsi en ce 29/06/2004 10:43...
:
>
> >Does anyone know of a good way to make a board texture? At higher
> >resolutions, the barn texture shows for what it really is: Y-axis
stretched
> >granite. It looks good from a distance, though. The barn is basically
just
> >a box with a roof cut out of it. I don't want to have to build it
> >board-by-board.
> >
> Have you tried the wood pigment, together with a warp{repeat...
> offset... flip<axis>} to make the planks. It can look like:
> #include "woods.inc"//to get the ready made pigments and colour_map
> #declare Wood1= texture{pigment{P_WoodGrain5A scale .7 color_map{
> M_Wood1A }warp {repeat 0.37*x offset y*0.11 flip <0,0,1>}}rotate 90*y
> finish{diffuse 0.85}}
> texture{pigment{P_WoodGrain4B scale .7 color_map{ M_Wood1B }warp
> {repeat 0.37*x offset x*0.05 flip <0,1,0>}}rotate 90*y finish{diffuse
0.87}}
>
> A light toned somewhat redish wood showing planks.
>
Thanks for the idea. I was going to try this code before replying, but my
home computer is currently having technical difficulties, and POV-Ray is
currently out of the question. :-(
--
Jeremy
www.beantoad.com
Post a reply to this message
|
|