|
![](/i/fill.gif) |
Kaka22 wrote:
> John VanSickle <evi### [at] hotmail com> wrote:
>
>>Kaka22 wrote:
>>
>>>Is it possible to put an image (instead of a color)as a background in a
>>>scene ?
>>>
>>>thanks
>>
>>Yes. Apply the image to a large polygon and put the polygon in the
>>background.
>>
>>Regards,
>>John
>
>
> Can you please give me a small example...because I tried:
> polygon {
> 4,
> <0, 0>, <0, 300>, <300, 300>, <300, 0>
> texture {
> finish { ambient 1 diffuse 0 }
> pigment { image_map { gif "test.gif" } }
> }
> }
> and the image repeats instead of having the whole picture as my background.
> thanks
>
>
>
the image_map is scaled from <0,0> to <1,1> by default so you have to
either
a:
scale the texture to match the size of your object
or
b:
first apply the texture to a unit sized object then scale up the object.
Post a reply to this message
|
![](/i/fill.gif) |