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.
function Render.callback(rc)
in the file render.lua . 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)
}
roeland wrote:Hi,
Do you have any output in the log window?
I think what you have to fix is the end offunction 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)
}
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
Users browsing this forum: No registered users and 17 guests