POV-Ray : Newsgroups : povray.newusers : textures and blocks/tiles : Re: textures and blocks/tiles Server Time
30 Jul 2024 18:22:42 EDT (-0400)
  Re: textures and blocks/tiles  
From: JC (Exether)
Date: 13 Nov 2003 01:11:50
Message: <3fb320a6$1@news.povray.org>
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

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