POV-Ray : Newsgroups : povray.newusers : Tiling textures Server Time
6 Nov 2024 16:29:51 EST (-0500)
  Tiling textures (Message 1 to 3 of 3)  
From: James Brown
Subject: Tiling textures
Date: 12 May 1998 15:23:17
Message: <6ja7g4$9du$1@oz.aussie.org>
How do I add tiling to this comment:

sphere { // Sphere001
  <0,0,2>,1
  texture {
 pigment {
  image_map {
      gif "Spaceship.gif"
     }
    }
}
  finish { ambient 0.5 diffuse 0}
  scale <20.0, 5.0, 20.0>
}


Thanks

James


Post a reply to this message

From: Roland Mas
Subject: Re: Tiling textures
Date: 12 May 1998 15:41:03
Message: <m3yaw76zw0.fsf@clodomir.rezel.enst.fr>
"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


Post a reply to this message

From: Mike Faneros
Subject: Re: Tiling textures
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.