|
|
>
>> light_source { <-149000000, 0, 0> color <1 1 1> } // light_source
>> light_source { <-149000000, 0, 0> color <1 1 1> } // light_source
>> light_source { <-149000000, 0, 0> color <1 1 1> looks_like { sphere {
>> <0,0,0> 1350000/2 color <1,1,1> } } } // light_source
>
> You will usually run into numerical problems when attempting
> to model meter-sized objects in a solar system scale. You can
> avoid such problems by modelling the small objects near the
> origin at the meter scale and then faking the rest by using
> planets and stars that are too close but also too small.
>
> Also, having multiple light sources at the same position
> doesn't seem to be useful. Note that the brightness is not
> limited to 1 and using color rgb 3 will work just fine.
A single light_source with rgb 3 will also be about 3 times faster than
those 3 light_source with rgb 1.
In the first case, you only do a single illumination/shadow test.
In the second case, you need to do 3 of those: One for each lights.
Alain
Post a reply to this message
|
|