Here is a resulting animation. I attached one of the ships to the camera and made it do a crazy roll...
Steve
pegot wrote:Does this script work on Mac or is it Windows only?
octane
table. So the constants to specify file formats are octane.imageSaveType.PNG8
etc.octane.file
table: octane.file.join(path, ...)
will join paths together and it will correctly handle the case where any of the paths happens to be an absolute path. It will also handle the different kinds of slashes. octane.file.getFileNameWithoutExtension
will strip the file extension, at the moment the script will overwrite the project file when you have an ORBX package open.local sceneFile = octane.project.getCurrentProject()
local projectPath = octane.file.getParentDirectory(sceneFile)
local projectName = octane.file.getFileNameWithoutExtension(sceneFile) .. ".orc"
local orcFile = octane.file.join(projectPath, projectName)
[[%.%w%w%w%w?$]]
.Users browsing this forum: No registered users and 13 guests