Ridley5 opened this issue on Jul 26, 2010 · 1724 posts
rty posted Thu, 19 August 2010 at 12:40 PM
Quote - Here's my first test. This is after 1 hour 25 min. render time and I'm quite happy with the results.
Looks great; But for more realistic light try a real Lux "sun" light instead of the pointlight:
Edit the .lxo file in notepad and delete the light (on top, pretty obvious, it's well commented), then open the .lxs file and insert after WorldBegin:
AttributeBegin<br></br>
LightSource "sunsky" "integer nsamples" [1]<br></br>
"vector sundir" [0.70000 0.400000 0.700000]<br></br>
"color L" [1.000000
1.000000 1.000000]<br></br>
"float turbidity"
[2.000000]<br></br>
"float aconst"
[0.500000] "float bconst" [0.500000] "float
cconst" [1.000000] "float dconst" [1.000000]
"float econst" [1.000000]<br></br>
"float relsize"
[2.000000]<br></br>
AttributeEnd
Insert empty lines if you want to separate the rest.
As you might have guessed, "vector sundir" determines where the sun is in the sky. The "float" parts control haze, but you won't see any in your scene anyway.
Import the edited file to Lux like usual and let it render. It adds a real "sun" and a "sky" light, I'm absolutely in love with this feature...