Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: romullus on 2018-11-08, 14:47:46
-
Until now, i used little piece of maxscript to create Corona sun and sky with one click of a button, but in recent builds it doesn't work as it used to. Now it creates sun and its target at the same coordinates. Could someone help me nd fix the script, so it would create sun at position 100, 100, 100 with its target at scene origin. And it would be nice that target would be disabled.
(
( s=coronasun isSelected:on; s.pos=[100,100,100])
renderers.current.bg_texmapUseMain = on
renderers.current.bg_texmap = coronasky name:"EnvMap"
renderers.current.bg_source = 1
renderers.current.colorMap_simpleExposure = -4
)
-
Change the first line to:
( s=coronasun isSelected:on; s.pos=[100,100,100]; s.targeted=true; s.target.pos=[0,0,0])
Seems to be a consequence of the daylight system fix.
Good Luck
-
Aaand it's working again, thank you very much!