Forum: Poser - OFFICIAL


Subject: The LuxPose Project - Alpha Stage

Khai-J-Bach opened this issue on Aug 27, 2010 · 1684 posts


adp001 posted Fri, 24 September 2010 at 9:22 AM

Quote - they are converted to a sun but the sun alone give a black image, if you use sky or sunsky they are working.

below some lights, sun sky and sunsky in separated groupes so you can experiment, gain must be around 0.01

start lights

LightGroup "sun"

start light "sun"

AttributeBegin
LightGroup "sun"
LightSource "sun"
 "vector sundir" [-0.0 -0.550000011921 -0.0]
AttributeEnd

end light "sun"

LightGroup "sky"

start light "sky"

AttributeBegin
LightGroup "sky"
LightSource "sky"
 "float aconst" [0.5]
 "float bconst" [0.5]
 "float cconst" [1.0]
 "float dconst" [1.0]
 "float econst" [1.0]
 "float turbidity" [2]
AttributeEnd

end light "sky"

LightGroup "sunsky"

start light "sunsky"

AttributeBegin
LightGroup "sunsky"
LightSource "sunsky"
 "vector sundir" [-0.0 -0.550000011921 -0.0]
 "float aconst" [0.5]
 "float bconst" [0.5]
 "float cconst" [1.0]
 "float dconst" [1.0]
 "float econst" [1.0]
 "float turbidity" [2]
AttributeEnd

end light "sunsky"

end lights

There is no "gain" with the sun yet. It's a part I'm playing with. Will be ready later this evening. Along with "IBL" and/or environmental-light (skyglob replacement).