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

Forum for OctaneRender Lua scripting examples, discussion and support.
thefishnut
Licensed Customer
Posts: 64
Joined: Thu Aug 23, 2012 12:08 pm
Location: Australia

Hi,
Is it possible to have a texture animation occurring simultaneously with the animated camera using Ready Cam?
I can't seem to find a way to have both occur at once.

Many Thanks,
Chris.
Win 8 64 | 2 x Geforce GTX780 6gb | i7 4790k | 32GB
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

I still get the paused render bug where it only renders out 1 frame after increasing the s/px, is there a fix for this? I`m on 3.07 using the 1.21V

In the preview it renders out perfectly..
Attachments
paused_render.jpg
paused_render.jpg (6.99 KiB) Viewed 7317 times
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Does anyone get this working on older versions if Octane? :?:
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Small bump. Getting this working correctly makes Octane so much more productive in combination with ORC and adaptive sampling.

And really not looking forward reverting back to Keyshot for this..!
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

No takers on this? I am sure I am not the only one looking forward on getting this working :!:
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

Hi,

Do you have any output in the log window?

I think what you have to fix is the end of function Render.callback(rc) in the file render.lua .

Code: Select all

    local h = math.floor(et/3600)
    local m = math.floor((et-h*3600)/60)
    -- add math.floor():
    local s = math.floor(et-h*3600-m*60)

    -- Change the first placeholder to %.1f:
    progress.frame.bar:updateProperties {
        progress=pc, text=string.format("%.1f% - %02d:%02d:%02d",100*pc,h,m,s)
    }
domusbiro
Licensed Customer
Posts: 19
Joined: Fri Mar 04, 2011 7:48 am
Contact:

I'm having an error when pressing alt+a . Anyone had this problem ?
Attachments
Capture.PNG
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

roeland wrote:Hi,

Do you have any output in the log window?

I think what you have to fix is the end of function Render.callback(rc) in the file render.lua .

Code: Select all

    local h = math.floor(et/3600)
    local m = math.floor((et-h*3600)/60)
    -- add math.floor():
    local s = math.floor(et-h*3600-m*60)

    -- Change the first placeholder to %.1f:
    progress.frame.bar:updateProperties {
        progress=pc, text=string.format("%.1f% - %02d:%02d:%02d",100*pc,h,m,s)
    }

I updated the file render.lua, but it seems there is no change. It only renders and saves the first frame, and that`s it. No promts as well.
Also it outputs this log after updating the end of function Render.callback(rc) in the file render.lua .:

Code: Select all

Error raised in callback:
C:\Users\Desktop\MK\Orc_bin/render.lua:444: bad argument #7 to 'format' (number has no integer representation)
stack traceback:
	[C]: in function 'string.format'
	C:\Users\Desktop\MK\Orc_bin/render.lua:444: in method 'start'
	...ers\Desktop\MK\Orc_bin/Tab/animate.lua:438: in function <...ers\Desktop\MK\Orc_bin/Tab/animate.lua:412>
	[C]: in method 'showWindow'
	[string "Ol Ready Cam.lua"]:107: in main chunk
Attachments
orc_test.jpg
Octane 2022.1.1 nv535.98

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
domusbiro
Licensed Customer
Posts: 19
Joined: Fri Mar 04, 2011 7:48 am
Contact:

Did you try unchecking the Force sequential numbering?
User avatar
roeland
OctaneRender Team
Posts: 1822
Joined: Wed Mar 09, 2011 10:09 pm

This is the version I currently have, that should have all the fixes above applied.
Ol Ready Cam.zip
(50.36 KiB) Downloaded 412 times
Post Reply

Return to “Lua Scripting”