|
|
Alain <kua### [at] videotronca> wrote:
> > Can you rotate an area light?
> >
> > All the examples are just perpendicular, ex:
> >
> > <0,5,0>,<5,0,0>
> >
> >
> >
>
> Normaly, you use perpendiculat dimention vectors, but they can have any
> orientation you want and don't need to be strictly perpendicular.
>
> If you rotate the whole light_source, it will cause an equivalent
> rotation of the area light's axis.
>
> They can also be made to reorient themselve using the orient option that
> must be used with circular 2 vectors must have same lenght and the same
> number of elements in each directions.
>
>
> Alain
ah.. should have figured that out myself. Sorry for such a not-thought-out
question.
So, we'd end up with something like this:
light_source {
<0, 24, 10> color rgb<0.88, 0.88, 0.88>
area_light
<0,0,10>,<10,0,0>,10,10
adaptive 1
jitter
rotate <25,0,0>
}
it would rotate it 25 degrees on the X axis.
Thanks, guys... once again.
-andy.
Post a reply to this message
|
|