POV-Ray : Newsgroups : povray.newusers : imagemap not covering mesh or hightfield : Re: imagemap not covering mesh or hightfield Server Time
30 Jul 2024 04:13:43 EDT (-0400)
  Re: imagemap not covering mesh or hightfield  
From: Warp
Date: 21 Sep 2004 15:24:50
Message: <41508002@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Note that if you paint checker onto "box {<0,0,0><1,1,1>}" all the faces
> are single colours, so I claim that's only a quarter of the checker
> pattern. The repeat unit of the checker pattern is the unit cube, not
> the <0,0,0><1,1,1> cube.

  I said "to a multiple of <1,1,1>", not "to <1,1,1>".

  The checker pattern actually starts from <0,0,0> (the first cube from
that to positive axes is colored as the first color given).

  The image_map pigment works in the same way as checker (unless you
specify the 'once' keyword), which is consistent and logical.

  Also think how UV-mapping works by default: The texture will be taken
from <0,0,0> to <1,1,0>. If you just create an image_map, it will work
right away with an uv-mapped object.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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