POV-Ray : Newsgroups : povray.general : INQUIRY: Wooden Planks Texture : Re: INQUIRY: Wooden Planks Texture Server Time
4 May 2024 14:11:29 EDT (-0400)
  Re: INQUIRY: Wooden Planks Texture  
From: Alain
Date: 4 Apr 2018 14:33:56
Message: <5ac51a94@news.povray.org>
Le 18-04-04 à 08:04, Sven Littkowski a écrit :
> I wonder, if the BRICKS pattern can't be used for this, but instead
> specifying pigments (colors), now specifying textures instead.
> 
> This would be worth a suggestion to Clipka, as that feature would make
> it easy to finally have easily creatable planks in the scenes.
> 
> Doing some experimenting on my own, I am wondering if there is a way to
> "remote-control" textures in a similar way as MACRO does with objects.
> If there is a way to change parameters of a texture, it could allow to
> change the lumber-type of an upcoming planks texture without having to
> re-declare all the entire thing again as a new texture.
> 
> ---
> Diese E-Mail wurde von AVG auf Viren geprüft.
> http://www.avg.com
> 

It's easy to use full textures with bricks :
texture{bricks Texture1 Texture2}

Please note that one is always for the bricks and the other always for 
the grout. The grout part can be made very narrow.
The bricks parts are continuous, you'll need to use warp{repeat ...} if 
you want some variations for your planks.
Things get complicated because, row to row, the boundaries alternate. 
Your repeat need to accomodate for that.


Post a reply to this message

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