Forum: Poser - OFFICIAL


Subject: New Reality (lux render) Plugin over at Daz...time for Poser Plugin Update?

Ridley5 opened this issue on Jul 26, 2010 · 1724 posts


Jcleaver posted Sun, 22 August 2010 at 3:11 PM

Just a quick request.  A few pages back rty posted a sunsky for Lux.  It works great.  Would there be a way to incorporate that without having to edit the file everytime?  Maybe as a checkbox if we want to use it. 

Here is the post that shows it.

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...

"