We changed this in 1.53.1 (http://render.otoy.com/forum/viewtopic.php?f=24&t=39746) because it was a bit of a hack in the first place. You should indeed modify the maxiumum samples of the kernel node. If you take a copy of your original scene this doesn't have any effect.BroAugustine wrote:Thanks Roeland et al. for the update.
One thing to be noted that has changed but is not in the change log:
It appears that maxSamples regarding render calls has changed in Lua since the last update. Just wanted to make sure if this was intended though it surely effects any scripts relying on it.
The following no longer does what one would expect, i.e., a quick render of 1 sample.With the above, I just want a quick animation preview which is no longer quick unless I terminate it myself in the renderCallback() function. Lua now uses the maximum samples as set in the kernel node, ignoring the explicit declaration in the Lua call.Code: Select all
octane.render.start { renderTargetNode = rtNode, maxSamples = 1, callback = renderCallback, }
cheers,
Thomas