POV-Ray : Newsgroups : moray.win : Image Map Headache! : Re: Image Map Headache! Server Time
28 Jul 2024 22:21:46 EDT (-0400)
  Re: Image Map Headache!  
From: Charles
Date: 27 Oct 1999 17:26:14
Message: <38176E43.E22F3A4E@enter.net>
Glenn Bech wrote:

> And ... This gets hairy when I want to use image maps, this makes it
> impossible (so far
> for me) to make an Image map occupy a the total area of a Box object!
> 
> 2) How can I make an image map occupy 100% of a box object in moray ?

Select the box object, then press Alt+T to select the object's 
texture. Apply the following transformations to the texture:

scale 2,2,1
rotate -90,0,0
translate -1,0,-1

If the texture space is still Local (the default), the image map 
should now cover the box's Front face. If you are ever unsure when 
applying image maps in Moray, remember that wireframe proxies for 
textures can help you align them correctly. For a planar image map, 
the proxy is the thing that looks like two green arrows at right 
angles to one another, delineating the edges of the imagemap.

To make sure your map is upright, note the "broken" arrowhead is the
"up", and the "closed" arrowhead is the righthand direction of the map.
The tips of the arrow heads therefore mark the upper left and lower
right extents of the image, so if you want to visually ensure the
image_map is positioned/scaled correctly on your object, the proxy
makes you life a lot simpler.

Charles


Post a reply to this message

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