|
![](/i/fill.gif) |
Don't know if this will be completely right for what you want to do, using
projected_through might be one solution.
Render the following to see this "oval" spotlight shine onto a wall and
floor, no camera needed. You might need to reposition it to see it better,
just notice this is inside a box if you do.
There could be problems trying to adjust the actual light to fit your needs.
Not sure if area_light likes projected_through, or vice versa.
/* BEGIN */
light_source
{ // placed at origin, pointing toward +z
0,
1 // color
spotlight
point_at z
radius 5
falloff 25
area_light x/30,y/15,9,18 adaptive 1 jitter
projected_through
{
sphere
{ // oval object placed in front of spotlight
z, 0.5
scale <1/3,1,1>/6
}
}
rotate 45*x // angle downward
translate 6*y // position upward
}
box
{ // floor and wall, for light to shine onto
<-3,-1,-3>,<3,9,9>
pigment { rgb 1 }
finish { ambient 0 diffuse 1 }
}
/* END */
Post a reply to this message
|
![](/i/fill.gif) |