|
![](/i/fill.gif) |
Hi,
I'm trying to map an image to a plane, as described in the tutorial. I've
added the once keyword. However, POVray maps a single row of pixels
infinitely in the Z direction. How can I get it to render the whole image
only once?
Here's the code:
plane {
y,
0
pigment {
image_map {
png "axes1.png"
once
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
md2161 <bla### [at] blah blah> wrote:
> plane {
> y,
> 0
> pigment {
> image_map {
> png "axes1.png"
> once
> }
> }
> }
Your plane is in the x-z plane, while the image map is in the x-y plane.
Rotate the pigment by x*90.
--
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |