|
|
Drew wrote:
>
> I finally got my TGA to map onto the plane I was trying to map it onto,
> but instead of looking like a grid as I wanted it it looks like a series
> of parallel dashed lines extending to the horizon. TheTGA I made is just
> a square with two perpindicular lines rinning through it so it will
> looks like a grid when its mapped corectly.
> -Drew
I have a feeling you need to rotate you image map to align to the
plane you are applying it to. For example it sounds like you are trying
to map it to a Y plane used as a floor surface. To orient it properly
try the following:
plane { y, 0
pigment {
image_map { tga "image.tga" interpolate 2
} // end image_map
translate -0.5 // this centers the image to the origin
rotate 90*x // rotate to match the surface of the plane
scale <1,1,1> // what ever scale you wish to use here
} // end pigment
} // end plane object
This will work for a plane that is oriented in the Y direction. You will
have to rotate differently for the other two plane directions.
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|
|