|
![](/i/fill.gif) |
several days ago I stumbled over thread in p.b.i ("Walter's bones")
which made use of a nested pattern for the floor. So I thought it might
be possible to create a classic parquet floor without the usage of
image_maps, just plain procedural.
After 1 or 2 hours of bending my mind and several coffees later, I was
able to get following render.
take it as "prove of principal". No tile is repeated once, no matter how
large the floor will be.
- eight prototype wood textures
- three levels of nested checker patterns
... dave
Post a reply to this message
Attachments:
Download 'parquet.jpg' (138 KB)
Preview of image 'parquet.jpg'
![parquet.jpg](/povray.binaries.images/attachment/%3C43d26e41%40news.povray.org%3E/parquet.jpg?ttop=443866&toff=4750&preview=1)
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Sat, 21 Jan 2006 18:25:46 +0100, David El Tom <dav### [at] t-online de>
wrote:
> So I thought it might
> be possible to create a classic parquet floor without the usage of
> image_maps, just plain procedural.
Nice, I tried in the past similar idea, see:
http://news.povray.org/povray.binaries.images/attachment/%3C3ab9cc23%40news.povray.org%3E/pattern.jpg
ABX
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Well done. The wood is a nice light one, too. Did you have a scene in mind
for this, or is it only a proof-of-concept?
I especially like that you put some warps in the wood. They blend in better
than most of the warps I've seen in wood textures, so good job.
You might want to work on the pattern scaling just a bit, though. It's not
common to find end grain and side grain both in most of the floors I am
familiar with. (Minor quibble)
anyway, well done. Doesn't your brain feel limber now?
-Sefan
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
"David El Tom" <dav### [at] t-online de> schreef in bericht
news:43d26e41@news.povray.org...
>
> several days ago I stumbled over thread in p.b.i ("Walter's bones")
> which made use of a nested pattern for the floor. So I thought it might
> be possible to create a classic parquet floor without the usage of
> image_maps, just plain procedural.
>
> After 1 or 2 hours of bending my mind and several coffees later, I was
> able to get following render.
>
> take it as "prove of principal". No tile is repeated once, no matter how
> large the floor will be.
>
> - eight prototype wood textures
> - three levels of nested checker patterns
>
> ... dave
>
>
Well done!
Scale the textures somewhat down too, I guess.
And.... there are two tiles which are identical!!!! or so I believe when I
look at them... watch carefully!
Thomas
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
thanks to all so far,
Smws wrote:
> Well done. The wood is a nice light one, too. Did you have a scene in
mind
> for this, or is it only a proof-of-concept?
actually it's both, the thrill to achieve something "ab initio" and
the need of a good floor texture for my (long term) project of an
indoor hdr-lightprobe.
> I especially like that you put some warps in the wood. They blend in
better
> than most of the warps I've seen in wood textures, so good job.
to be honest, just luck to got it in this way. 2 different black-hole
warps per prototype texture turbulently repeated.
> You might want to work on the pattern scaling just a bit, though.
It's not
> common to find end grain and side grain both in most of the floors I am
> familiar with. (Minor quibble)
what should I say, ..., you're right ;-)
> anyway, well done. Doesn't your brain feel limber now?
>
> -Sefan
still a little dizzy ....
Thomas de Groot wrote:
> Scale the textures somewhat down too, I guess.
yepp, .. see above.
> And.... there are two tiles which are identical!!!! or so I believe when I
> look at them... watch carefully!
>
> Thomas
It seems, that I tricked myself trying to avoid exactly this
behaviour. I just have to change 2 offsets and each tile will be
really unique.
The layout of the parquet can be seen in the attached image.
So basicly what I needed was a checker pattern with 4
different tiles instead of 2 (standard checker pattern).
I wrote a small macro to achieve this:
SNIPPET START
-------------
// Checker4Pig
// - creates a checked pigment based on 4 different tiles
//
// usage: #declare my_pigment = pigment { Checker4Pig(.....) }
//
//
// ^ z
// |
// +---+---+
// | | |
// | 1 | 3 |
// | | |
// -+---+---+-> x
// | | |
// | 2 | 4 |
// | | |
// +---+---+
// |
#macro Checker4Pig(PIG1,PIG2,PIG3,PIG4)
#local PIG12 =
pigment
{
checker
pigment{PIG1 translate (z+x) scale <.5,1,.5>}
pigment{PIG2 translate (-z+x) scale <.5,1,.5>}
translate (z-x)
scale <.5,1,.5>
}
#local PIG34 =
pigment
{
checker
pigment{PIG4 translate (-z-x) scale <.5,1,.5>}
pigment{PIG3 translate (+z-x) scale <.5,1,.5>}
translate z+x
scale <.5,1,.5>
}
checker
pigment { PIG34 }
pigment { PIG12 }
translate -z*.5 scale <2,1,2>
#end
-------------
SNIPPET END
so feel free to experiment with it ...
... dave
Post a reply to this message
Attachments:
Download 'parquet_layout.png' (25 KB)
Preview of image 'parquet_layout.png'
![parquet_layout.png](/povray.binaries.images/attachment/%3C43d38789%40news.povray.org%3E/parquet_layout.png?ttop=443866&toff=4750&preview=1)
|
![](/i/fill.gif) |