POV-Ray : Newsgroups : povray.general : pigment image map big image : Re: pigment image map big image Server Time
29 Jul 2024 02:28:18 EDT (-0400)
  Re: pigment image map big image  
From: Warp
Date: 2 Jul 2013 19:19:58
Message: <51d3601e@news.povray.org>
handos <han### [at] gmailcom> wrote:
> so I did scale the pigment to a very large value but in vain :(

Don't just do trial-and-error to see what happens. Try to understand
what's going on.

The image map will be mapped on a 1x1 unit square on the x-y plane
(and repeated on both of those axes.)

Your floor is on the x-z plane (because its normal vector is pointing
in the y direction.) Therefore you need to rotate the image map so that
it will be on the x-z plane instead of the x-y plane. If you rotate the
pigment by 90 degrees around the x axis, then it will end up being on
the x-z plane. (Try to visualize why that's so.)

What size is the floor, approximately, visible on the image, in units?
Is it like 10x10 units? 1000x1000 units? 0.01x0.01 units? Something else?

If the visible portion of the floor is, for example, 1000x1000 units,
then you need to scale your image map pigment by about 100 to get what
you want (ie. something like 10x10 tiles.)

If you just have no idea what the size of the floor is, then put a
box { 0, 1 } on it and see how large it is. It will give you a notion
of the scale of the image. (If the box is so large that it covers
everything, make it smaller.)

-- 
                                                          - Warp


Post a reply to this message

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