POV-Ray : Newsgroups : povray.advanced-users : texture on a scaled object : Re: texture on a scaled object Server Time
30 Jul 2024 02:23:26 EDT (-0400)
  Re: texture on a scaled object  
From: Peter Popov
Date: 10 May 2000 15:40:22
Message: <olejhsoff2hpqd79q8295jgukfar59uhkv@4ax.com>
On Wed, 10 May 2000 11:34:54 -0700, "Mike Weber"
<mik### [at] pyxiscom> wrote:

>I have a image-map texture I want to apply to a box{<0,0,0>,<1,1,1>} which
>is then scaled in X direction by 2000.  When I do that, the image-map is
>strecthed as well, instead, I want the image-map to repeat along the X.  How
>do I do that?  Do I need to scale it by 1/2000?

Try doing something like this instead:

box
{
  <0,0,0>, <2000,1,1>
  pigment
  {
    image_map
    {
      gif "my_map.gif"
      interpolate 2
    }
  }
  transform { Any_Further_Transformations }
}


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] usanet
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

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