Page 6 of 9

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Fri Apr 29, 2016 5:48 am
by roeland
This version should work with versions 2.25 and 3.00 alpha 10:

OlReadyCam_3.0.zip
(50.35 KiB) Downloaded 383 times


I had a look, and there are 2 breaking changes in the Octane API:

  • The imageSaveType enum moved to another module
  • The shutter speed settings moved to a node on the render target

The script also no longer overwrites ORBX files.

--
Roeland

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Fri Apr 29, 2016 7:29 am
by smicha
Thank you!

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Thu May 12, 2016 7:17 am
by ff7darkcloud
I just saw this, you just made my day! And it is only 12:16 am! Thanks!

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Thu May 12, 2016 7:23 am
by glimpse
thanks! =)

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Tue May 24, 2016 5:05 pm
by Cosoli
roeland wrote:This version should work with versions 2.25 and 3.00 alpha 10:


But It doesn't work with Octane Render 3.0 for me..... :shock:

When i used "OI Ready Cam", it showed that
2016-05-25.png
Wrong data type for key


Could anyone help me?

Thanks!

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Wed May 25, 2016 9:43 am
by bepeg4d
Hi Cosoli,
you are right, it works till v3 beta 1 and then it has stopped to work with that error message. Could you use v3 beta 1 while roeland find the time to have a look at the script to fix it?
ciao beppe

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Thu May 26, 2016 12:24 am
by roeland
Yes the problem is the line keyframe.screenItem[i].slider.value = keyframe.item[ix]. I added more validation in the Lua API in a couple of places, to avoid such code failing silently if there's something wrong. The upshot is, if a value is set which is not the right type, or if you try to set nil then it will raise an error.

You can replace the affected function with the code below

Code: Select all
function keyframe:setDefaultSliderValues()

    for i=1, cameraFile.totalFrames do
        keyframe.item[i] = keyframe.defaultSliderValue
    end

    local ix = keyframe.index
    for i=1, keyframe.screenLimit-1 do
        if keyframe.item[ix] then
            keyframe.screenItem[i].slider.value = keyframe.item[ix]
        end
        ix = ix+1
    end
end


--
Roeland

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Thu May 26, 2016 2:12 pm
by Cosoli
THANKS!!! :D

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Thu Mar 16, 2017 2:13 am
by ff7darkcloud
Hello Roeland and Bepeg!! , I have been using 3.06 TEST 3 for commercial work now, and it has been great. The Adaptive sampling works awesome.

But looks like it this LUA script got broken. If you could fix it yet again, would be greatly appreciated!.

I attach screen with error.

Thanks!

Re: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21

PostPosted: Tue Jun 20, 2017 2:53 pm
by Notiusweb
This is the part the error is complaining about

\orcbin\widget.lua
line 265 (self.bar = octane.gui.create), argument #3

Code: Select all
 progressBar = function(self, argv)

        self.bar =  octane.gui.create
        {
            type   = octane.gui.componentType.PROGRESS_BAR,
            text   = argv.text or "",
            width  = argv.width or 400,
            height = argv.height or 25,
            x      = argv.x or 0,
            y      = argv.y or 0
        }
        return self
    end,