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
imageSaveType
enum moved to another moduleroeland wrote:This version should work with versions 2.25 and 3.00 alpha 10:
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.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
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,
Users browsing this forum: No registered users and 24 guests