POV-Ray : Newsgroups : povray.newusers : Tiled images : Re: Tiled images Server Time
5 Sep 2024 16:22:15 EDT (-0400)
  Re: Tiled images  
From: Ken
Date: 27 Mar 2000 16:17:55
Message: <38DFCD1D.4064DA8D@pacbell.net>
Monte wrote:
> 
> Kevin,
> Thanks for your time and the quick response. I have looked over the
> tutorial from Maestro Mysterieux, and have gone through the examples.
> 
> I've still got some questions though. I appologize for not giving
> enough information the first time.
> 
> How can I control the size of the tiled image?
> Image_map seems to only apply the image in a repeated 1x1 pattern. I
> can apply the image map to the object, then scale the object. I want
> to scale the image map before (or as) it is applied to the object,
> without scaling the object.

Again this is fairly easy. You simply scale your pigment instead of
the object it is applied to.

object { your_object
  pigment {
   image_map { tga "your_image.tga" }
    scale < x, y, z > // <-- this scales the pigment (image) only
  }
 scale < x, y, z>  // <-- this will scale the object and the pigment together
}


-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

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