[Radiance-general] mosaic

Georg Mischler [email protected]
Thu, 28 Mar 2002 11:55:12 -0500 (EST)


stephane wrote:

> Hi everybody,
>
> I would like to apply a picture as a mosaic on a surface.
>
> I intended to use colorpic. I can scale my picture (using -s). But I did
> not
> found out if there is a possibility to apply my scaled image on a
> surface that is
> bigger than the picture in order to get a mosaic.


If you use the "picture.cal" function file, then the
"pic_u" and "pic_v" coordinate variables will map the
image once to the location you specify. If you use the
variables "tile_u" and "tile_v" instead, then the
picture will get repeated in both directions.


-schorsch

-- 
Georg Mischler  --  simulations developer  --  schorsch at schorsch.com
+schorsch.com+  --  lighting design tools  --  http://www.schorsch.com/