|
|
news:39b954f2@news.povray.org...
| can any one help me I am making a set of shelves and putting the track of
| lights under it to shine done on the shelf below it
All you need do is to put a spotlight into a loop with the proper angles and
positions. Like so:
#declare TopShelfUnderside= 2; // this has to be just below the shelf base
#declare AwayFromWallAmount= -1; // this has to be away from wall some
#declare StartHere= -10; // example placement only
#declare EndHere= 10; // example placement only
#while (StartHere<=EndHere)
light_source {0,1
spotlight radius 30 falloff 45 point_at -y // points down to start with
rotate 30*x // angle them toward -z some
translate <StartHere,TopShelfUnderside,AwayFromWallAmount>
// aligned on x axis
}
#declare StartHere=StartHere+5; // total of 5 lights at -10, -5, 0, 5, 10 *x
#end
Any number of lights can be done like this, any position and orientation,
all you need do is supply the numbers, etc.
Bob
Post a reply to this message
|
|