POV-Ray : Newsgroups : povray.newusers : Tiling textures : Re: Tiling textures Server Time
6 Sep 2024 12:11:59 EDT (-0400)
  Re: Tiling textures  
From: Mike Faneros
Date: 12 May 1998 19:13:01
Message: <3558D77C.5396500@ou.no_spam.edu>
I think I know what you mean... and the only way I know to tile an
object is to set it up in a nested while loop and translate it.
Something like this:

#declare x = 0
#declare z = 0
#while (x<101)
 #while(z<101)
   object { foo translate <x, 0, z> }
   #declare z = z + 1
  #end
  #declare x = x + 1
 #end

I'm a beginner too, so if this doesn't work then let me know.  You might
have to decalre the z loop as an object and call it in the x loop.  Hope
that helps.

Roland Mas wrote:

> "James Brown" <kin### [at] usanet> writes:
>
> > How do I add tiling to this comment:
>
> Er... What do you mean? Tiling a comment? Tiling a sphere?
>
> Roland.
> --

> bob### [at] casimirrezelenstfr -- Linux, POV-Ray, LaTeX


See ya...
Mike


Post a reply to this message

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