|
|
In article <3919abcc$1@news.povray.org>, "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?
Place the scale statement *before* the texture, and only the object will
be scaled.
Instead of this:
box {...
texture {...}
scale < 2000, 1, 1>
}
use this:
box {...
scale < 2000, 1, 1>
texture {...}
}
You could also create the box at the desired size and not bother with
scale at all, but this method is easier if you also want to use rotate,
matrix, or transform.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
|