Chaos Corona Forum
Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: -Ben-Battler- on 2017-10-17, 10:44:24
-
Hi you MaxScript masters!
I have an issue. We have our libraries with 3d models and I'd like to batch render them all out to single JPGs. This works so far so good, the only problem I have is that Corona Proxies won't show in the render. If I start the render by hand it's perfectly fine but if I start it via the MaxScript render function it is not visible. All the rest works just fine I think it's just a problem of that function not rendering CoronaProxies.
Can anyone help me out on that one?
clearSelection()
temppath = maxFilePath
select geometry
deselect $Std_Floor
theObjs = selection as array
clearSelection()
for obj in theObjs do
(
select $Std_Floor
selectMore obj
if (isGroupMember obj) == true then
(
)
else
(
IsolateSelection.EnterIsolateSelectionMode()
jpgfile = temppath+obj.name+".jpg"
maxfile = temppath+obj.name+".max"
render camera:$Camera001 outputFile:jpgfile vfb:false
saveNodes obj maxfile quiet:true
IsolateSelection.ExitIsolateSelectionmode()
)
)
clearSelection()
Thanks in advance!
-
Nevermind it works now. Was probably my poor coding skillz.
But another question: Are MaxScript functions like adaptivity_targetError not accessible or am I doing something wrong?
In my logic this should set a Noise Level Limit of 5.0:
CoronaRenderer.adaptivity_targetError 5.0
But the Listener returns an unknown property error.
-
renderers.current.adaptivity_targetError=5
Good Luck
-
renderers.current.adaptivity_targetError=5
Good Luck
Someone like you was what I was hoping for. I'm not very confident with the syntax yet ;)
Thank you Frood!