|
![](/i/fill.gif) |
> so I did scale the pigment to a very large value but in vain :(
>
> Ankur.
>
If you only scale the image without rotating it, you get an incorrect
result: A slice of the image smeared infinitely along the Z direction.
The key is to rotate the image so that is maps correctly on the
horizontal plane.
Next, you scale it by a reasonable amount to fit your needs. The exact
scaling needed depends on the exact context of your scene. It also
depend on the proportions of your image. If your image is 800x600
pixels, you need a 4:3 ratio in your scaling.
It can be something like:
image_map{jpeg "your image.jpg" rotate 90*x scale<100,1,75>}
In this sample, the image will cover 100 by 75 unit on the ground plane
and repeat infinitely in both directions.
Use the "once" keyword if you want only one instance of the image.
It can help to use once when adjusting the scalling.
Alain
Post a reply to this message
|
![](/i/fill.gif) |