|
![](/i/fill.gif) |
Alf Peake wrote in message <3b06441f@news.povray.org>...
> A wood floor. All the planks use the same declared colour map. How do
> I vary the apparent colour of each plank - lighter or darker? I've
> tried adding a random component to diffuse and ambient, and also a
> second texture layer. They both work but is there a better or easier
> way?
If you are using megapov you can try my method for real random planks. Just look
at my old message (image was sended to p.b.i)
From: "Wlodzimierz ABX Skiba" <abx### [at] abx art pl>
Newsgroups: povray.text.tutorials
Subject: no-repeat in mosaic
Date: Thu, 22 Mar 2001 10:52:51 +0100
Message-ID: <3ab9cc26@news.povray.org>
it uses noise3d to distribute planks
--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31
Post a reply to this message
|
![](/i/fill.gif) |