Octane 1.53.1 bug

Forum for OctaneRender Lua scripting examples, discussion and support.
Post Reply
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

octane.render.start
{
renderTargetNode = rtNode,
maxSamples = nbSamples,
callback = renderCallback,
} it appear that, maxSample = nbSamples, no longer works, the maxsamples uses what ever is set on the render target instead of the value of nbSamples.

it works fine in v 1.52

best

mark
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
stratified
OctaneRender Team
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand

Hi Mark,

We removed that parameter from the API (see the release thread: http://render.otoy.com/forum/viewtopic.php?f=24&t=39746). We always use the value of the node that is connected to octane.P_MAX_SAMPLES in the kernel node.

cheers,
Thomas
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

ok,

you just destroyed my ability to compose a movie in a fast preview mode and then run it later at the real sample rate, or is it fine to togle the render target, i liked the way it was.

best
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

can u tell me more about how u intend this to new result thingy to be used?
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
User avatar
abstrax
OctaneRender Team
Posts: 5509
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

MB wrote:ok,

you just destroyed my ability to compose a movie in a fast preview mode and then run it later at the real sample rate, or is it fine to togle the render target, i liked the way it was.

best
But it didn't work if max samples in the kernel node was less than max samples of the render start call. So to make if fool-proof you had to set the max samples in the kernel anyway. And one less obvious problem of the old system: If you used a timeout as stop criteria and didn't specify the max samples, you had an implicit stop criteria of maxSamples=4000...

-> Just set the max samples in the kernel or set it to the maximum (256000) and use a timeout. All the other configurations etc. are done in the node system so there is no reason why max samples should be an exception.
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
MB
Licensed Customer
Posts: 168
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.
Contact:

thx
Windows 11, 2x Intel I9, 64GB Ram, 2x GTX 1080 TI, 1 x RTX 380 TI, Oculus Quest 2
Post Reply

Return to “Lua Scripting”