|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I'm not sure what this is, a mistake in the program, in that it accepts this
or simply a redundancy in the docs? In the docs in sec 6.5.8 Light Groups
one of the examples is:
#declare RedLight = light_source {
<-500,500,-500>
rgb <1,0,0>
}
light_group {
light_source {RedLight}
sphere {0,1 pigment {rgb 1}}
global_lights off
}
The whole lightsource syntax has already been declared so saying
light_source{RedLight} is not necessary you only need to put:
light_group {
RedLight
sphere {0,1 pigment {rgb 1}}
global_lights off
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
in news:3b9bf2c0$1@news.povray.org Thomas Lake wrote:
> I'm not sure what this is, a mistake in the program, in that it
> accepts this or simply a redundancy in the docs?
Generaly I think putting a declared object/lightsource/... inside a
object/lightsource/... statement is always safe to do, not putting it
inside something can get you in trouble. Try the example below, one
difference wil render the other gives an error. If you use object{P}
both work.
#declare P=plane {...}
difference {
P
sphere {0,1 rgb 1}
}
difference {
sphere {0,1 rgb 1}
P
}
So, I will make a change to the second example in light_groups and put
L1 inside light-group{}.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>If you use object{P} both work.
Damn I didn't think of that, yes I know you use object{P} instead of just P,
most of the time. I must have been sleeping. Just never seen that done with
light sources.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|