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

Forums: Smooth & Easy Camera Animation for OR Standalone, ORC v1.21
Forum for OctaneRender Lua scripting examples, discussion and support.

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

Postby ssouth » Thu Mar 26, 2015 10:54 pm

ssouth Thu Mar 26, 2015 10:54 pm
Here is a resulting animation. I attached one of the ships to the camera and made it do a crazy roll...



Steve
ssouth
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Fri Oct 05, 2012 1:23 pm

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

Postby pegot » Fri May 01, 2015 11:50 am

pegot Fri May 01, 2015 11:50 am
Does this script work on Mac or is it Windows only?
Win 10
3.7Ghz i9 10900k / 64GB
ASUS STRIX Z490-E
PSU: PowerSpec 850Wd
RTX 3090 Asus Tuff

Network rendering:
Win 10
4.2Ghz i7 7700k / 64GB
AsRock SuperCarrier
PSU: EVGA 1200w
RTX 3080 Ti EVGA Hybrid
RTX 3080 ASUS Tuff
GTX 1080ti SC Black (wc)
pegot
Licensed Customer
Licensed Customer
 
Posts: 921
Joined: Mon Nov 07, 2011 3:44 am

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

Postby ssouth » Sun May 03, 2015 3:46 am

ssouth Sun May 03, 2015 3:46 am
pegot wrote:Does this script work on Mac or is it Windows only?


as long as the Mac can run a LUA script I would think so but I am unable to test that though since I don't have a Mac.

download and try...
ssouth
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Fri Oct 05, 2012 1:23 pm

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

Postby ssouth » Sun May 03, 2015 3:52 am

ssouth Sun May 03, 2015 3:52 am
By the way, all the ship animation in this test was done with the OCR script, then it was composited and some VFX added with BlackMagic Fusion:

ssouth
Licensed Customer
Licensed Customer
 
Posts: 37
Joined: Fri Oct 05, 2012 1:23 pm

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

Postby steven369 » Thu Jun 18, 2015 12:16 pm

steven369 Thu Jun 18, 2015 12:16 pm
Thank you guys for this AWESOME script!!! :D
steven369
Licensed Customer
Licensed Customer
 
Posts: 10
Joined: Sat Jun 06, 2015 9:53 am

Smooth Easy Camera Animation for OR Standalone ORC v1 21

Postby AlexKotovKn » Tue Aug 04, 2015 10:56 am

AlexKotovKn Tue Aug 04, 2015 10:56 am
a camera that focuses on the chest of the player character would be nice if anyone can make it
the default camera is not good enough due to free running lvls
Attachments
73.gif
73.gif (7.43 KiB) Viewed 15767 times
AlexKotovKn
 
Posts: 1
Joined: Sun Aug 02, 2015 11:26 pm

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

Postby ff7darkcloud » Wed Dec 09, 2015 5:37 pm

ff7darkcloud Wed Dec 09, 2015 5:37 pm
It doesn't work anymore with Octane Render 3.0
( PC ) Win10 x64 | 2xRTX2080TI | ASUS Rampage VI Extreme | i9-7900x | 32GB | 1600W
( Laptop ) Win10 x64 | RTX2080Max-Q | Lenovo Legion Y740 | i7-9750H | 32GB - Octane Standalone Win 10/ Sketchup 2019

PORTFOLIO: https://renderspace.wixsite.com/portfolio
User avatar
ff7darkcloud
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Sun Mar 18, 2012 11:20 pm
Location: Fairfax, VA, USA

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

Postby roeland » Wed Dec 30, 2015 1:28 am

roeland Wed Dec 30, 2015 1:28 am
This is quite a cool extension.

Just tried it in Octane 3.0, as far as I can see it works.

--
Roeland
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1808
Joined: Wed Mar 09, 2011 10:09 pm

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

Postby ff7darkcloud » Wed Jan 13, 2016 12:47 am

ff7darkcloud Wed Jan 13, 2016 12:47 am
Hi Roeland thanks for your reply, I tried again with 3 alpha 3, when I select output directory or hit render nothing happens. Maybe the plugin needs some kind of overhaul for Version 3? Any help would be greatly appreciated!!

This is an example of what I use this for: https://www.youtube.com/watch?v=4haRGGKqUmQ
( PC ) Win10 x64 | 2xRTX2080TI | ASUS Rampage VI Extreme | i9-7900x | 32GB | 1600W
( Laptop ) Win10 x64 | RTX2080Max-Q | Lenovo Legion Y740 | i7-9750H | 32GB - Octane Standalone Win 10/ Sketchup 2019

PORTFOLIO: https://renderspace.wixsite.com/portfolio
User avatar
ff7darkcloud
Licensed Customer
Licensed Customer
 
Posts: 73
Joined: Sun Mar 18, 2012 11:20 pm
Location: Fairfax, VA, USA

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

Postby roeland » Mon Feb 22, 2016 10:33 pm

roeland Mon Feb 22, 2016 10:33 pm
I think the problem is that a while ago we standardized all the enumeration tables to be members of the octane table. So the constants to specify file formats are octane.imageSaveType.PNG8 etc.

To manipulate paths use the functions in the 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.

You may get the project path and file name as follows:

Code: Select all
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)


Finally note that the `string.gsub` function searches for a pattern, a pattern matching any extension of 3 or 4 characters is [[%.%w%w%w%w?$]].

--
Roeland
User avatar
roeland
OctaneRender Team
OctaneRender Team
 
Posts: 1808
Joined: Wed Mar 09, 2011 10:09 pm
PreviousNext

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 10 guests

Thu Mar 28, 2024 11:06 pm [ UTC ]