|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I am a new user, and I have been experimenting with building a stone wall.
The problem that I have is that when I construct it out of blocks, I get
the same stone pattern (using T_Stone24) over and over again. Is there a
quick and easy way to have the stone pattern (or any pattern for that
matter!) randomly change? Thank you very much. Take care and have a great
day....
ciao,
john.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
You can either apply the texture only once to the whole wall of stones
so that each stone will have its unique texture (the problem being that
sometimes it's too clear that there's a single texture applied to the
whole wall, which looks bad), or you can create a set of eg. 20 different
stones with different textures and then create the wall by randomly
selecting different stones and rotating/reversing them randomly.
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In article <web.3fb2d0638187e1a07a0e9df90@news.povray.org>,
"Mock26" <nomail@nomail> wrote:
> I am a new user, and I have been experimenting with building a stone wall.
> The problem that I have is that when I construct it out of blocks, I get
> the same stone pattern (using T_Stone24) over and over again. Is there a
> quick and easy way to have the stone pattern (or any pattern for that
> matter!) randomly change? Thank you very much. Take care and have a great
> day....
>
> ciao,
> john.
>
If they are using the same texture, you can translate teh texture
randomly with each block, but then I think lines would appear where the
textures dont align...
Somebody correct me if im wrong on that
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Add a random translation to each texture :
#local MySeed=seed(0)
#while (whatever)
[...]
object {
Stone
texture {
T_Stone
<rand(MySeed), rand(MySeed), rand(MySeed)>*1000
}
}
[...]
#end
Mock26 wrote:
> I am a new user, and I have been experimenting with building a stone wall.
> The problem that I have is that when I construct it out of blocks, I get
> the same stone pattern (using T_Stone24) over and over again. Is there a
> quick and easy way to have the stone pattern (or any pattern for that
> matter!) randomly change? Thank you very much. Take care and have a great
> day....
>
> ciao,
> john.
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"JC (Exether)" <no### [at] spamfr> wrote:
> texture {
> T_Stone
> <rand(MySeed), rand(MySeed), rand(MySeed)>*1000
> }
That probably lacks something... :)
--
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp wrote:
> "JC (Exether)" <no### [at] spamfr> wrote:
>
>> texture {
>> T_Stone
>> <rand(MySeed), rand(MySeed), rand(MySeed)>*1000
>> }
>
>
> That probably lacks something... :)
>
Errr ... It might work better with a translate ... :-)
texture {
T_Stone
translate <rand(MySeed), rand(MySeed), rand(MySeed)>*1000
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |