Putting it all together, a walkthrough script. UPDATED

Forums: Putting it all together, a walkthrough script. UPDATED
Forum for OctaneRender Lua scripting examples, discussion and support.

Putting it all together, a walkthrough script. UPDATED

Postby MB » Thu Feb 06, 2014 4:09 am

MB Thu Feb 06, 2014 4:09 am
Here is a script that can be used to create a walkthrough of an Octane Scene. Conceptually a series of camera moves can be record in a sequence of files. Multiple sequences need to be combined in another application such as Windows Movie Maker. Each camera move can be a combination of an orbit, pan, zoom, tilt, rotate, roll, sun path or depth clip operation, optionally each move can have a quadratic easing function applied to it. Camera moves can be previewed before saving as an automatically named file sequence based on a seed name.

The script combines multiple works by Thomas, Roeland & Jason, without them this could not have been done in any reasonable amount of time, so many thanks to them. It will run against OctaneRender release candidate 1.33.

In my mind the script is now functionally complete but please report bugs, I will keep it running against newer release candidate.

To use; extract to a folder and then point Octane File>preferences>application>script directory at that location.

REVISED TO RUN WITH OCTANE RENDER V1.50


Best

Mark
Attachments
Octane Render Walkthrough 1.04.zip
(17.93 KiB) Downloaded 255 times
UI.JPG
Latest User Interface
Last edited by MB on Sat Mar 29, 2014 4:55 pm, edited 5 times in total.
Windows 7 Enterprise, 2x Intel Xeon X5650 2.66 GHz, 24GB Ram, GTX 590, Quadro 5000, Quadro K4200
User avatar
MB
Licensed Customer
Licensed Customer
 
Posts: 118
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.

Re: Putting it all together, a walkthrough script

Postby grimm » Thu Feb 06, 2014 7:01 am

grimm Thu Feb 06, 2014 7:01 am
Excellent! :D I haven't played around with all of the scripts features yet, but it looks good.

Jason
Linux Mint 19 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 410.66
User avatar
grimm
Licensed Customer
Licensed Customer
 
Posts: 1135
Joined: Wed Jan 27, 2010 8:11 pm
Location: Fairbanks, Alaska, USA

Re: Putting it all together, a walkthrough script

Postby glimpse » Thu Feb 06, 2014 8:08 am

glimpse Thu Feb 06, 2014 8:08 am
Thank You, Mark, for this wonderful piece!!!

Few days ago I was dreamin' 'bout something simmilar,
however I have no skills to code =)so..

This will be very useful!

Again, thanks!

cheers
tomGlimps | [email protected] | 32GB | TitanBlack
Available for Freelance, Coaching & Mentoring
User avatar
glimpse
Licensed Customer
Licensed Customer
 
Posts: 3576
Joined: Wed Jan 26, 2011 2:17 pm

Re: Putting it all together, a walkthrough script

Postby pixelrush » Thu Feb 06, 2014 8:17 am

pixelrush Thu Feb 06, 2014 8:17 am
Thanks very much for your work! :D and for sharing it 8-)

First impressions - very good.
I was wondering though if daylight is actually necessary.
Presently the script gives an error without it.
Possibly people want to make night or indoors sequences too...
With a tool like this we wont just be thinking of outdoors orbits.
Maybe a checkbox to enable solar settings with warning tooltip?

There is a little intuitive issue I think with the directions and the settings
Orbit should be Down/Up so - and + are consistent across all sliders IMO.
I think of down as negative :roll:
also same for Back/Forward, Pan Down/Up and Rotate Down/Up

Anyway well done! will try it out right away 8-)
i7-3820 @4.3Ghz | 24gb | Win7pro-64
GTS 250 display + 2 x GTX 780 cuda| driver 331.65
Octane v1.55
User avatar
pixelrush
Licensed Customer
Licensed Customer
 
Posts: 1618
Joined: Mon Jan 11, 2010 7:11 pm
Location: Nelson, New Zealand

Re: Putting it all together, a walkthrough script

Postby MB » Thu Feb 06, 2014 9:48 am

MB Thu Feb 06, 2014 9:48 am
Pixelrush,
Your points are well taken and I will look into implementing.
I was thinking the same thing re positive and negative values on the sliders and was hoping that otoy could perhaps improve the slider control so that to the user at least it could be presented as positive in both directions around zero, as the current word order is more natural than the reverse.

Regarding daylighting, if that restriction is removed, does it mean we need to be able to rotate an HDR background image, and also is there anyway in the new releases to combine both HDR and daylighting simultaneously.

Best

Mark
Windows 7 Enterprise, 2x Intel Xeon X5650 2.66 GHz, 24GB Ram, GTX 590, Quadro 5000, Quadro K4200
User avatar
MB
Licensed Customer
Licensed Customer
 
Posts: 118
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.

Re: Putting it all together, a walkthrough script

Postby face_off » Thu Feb 06, 2014 10:05 am

face_off Thu Feb 06, 2014 10:05 am
Mark - hope you are well! Good to see you making the most of the new Octane features.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke, DAZ Studio
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 13320
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Putting it all together, a walkthrough script

Postby MB » Thu Feb 06, 2014 10:19 am

MB Thu Feb 06, 2014 10:19 am
Paul,

All is well thank you , I was wondering while doing this if you felt like adding an ability to your plugin to save out camera and target positions to a text file while rendering a walk through that could then be aggregated in this thing.

It would provide a capability to create much longer and more elaborate walkthroughs than are possible with the native revit tool.

Best

Mark
Windows 7 Enterprise, 2x Intel Xeon X5650 2.66 GHz, 24GB Ram, GTX 590, Quadro 5000, Quadro K4200
User avatar
MB
Licensed Customer
Licensed Customer
 
Posts: 118
Joined: Tue Jan 15, 2013 3:41 am
Location: Washington, D.C.

Re: Putting it all together, a walkthrough script

Postby face_off » Thu Feb 06, 2014 10:29 am

face_off Thu Feb 06, 2014 10:29 am
I was wondering while doing this if you felt like adding an ability to your plugin to save out camera and target positions to a text file while rendering a walk through that could then be aggregated in this thing.

Possibly....although the next step on the Revit plugin is to grab the camera position with each animation frame to feed the camera path in Octane so that camera motion blur is possible. I have MB running on the Poser and Modo plugins, but not the others - because you can't get the camera position until that frame starts rendering.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke, DAZ Studio
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 13320
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Putting it all together, a walkthrough script

Postby r-username » Thu Feb 06, 2014 12:54 pm

r-username Thu Feb 06, 2014 12:54 pm
thank you

-- Edit --

The only feature request that I have yet to see in any of the scripts is the ability to use a panoramic camera.
Having a camera with 180 degree FOV is quite nice for walk through animations.

Thanks
i7 960 - W7x64 - 12 GB - 2x GTX 780ti
http://www.startsimple.com/ - http://www.gigavr.com/
r-username
Licensed Customer
Licensed Customer
 
Posts: 217
Joined: Thu Nov 24, 2011 3:39 pm

Re: Putting it all together, a walkthrough script

Postby stratified » Thu Feb 06, 2014 7:54 pm

stratified Thu Feb 06, 2014 7:54 pm
keep the good stuff coming!

cheers,
Thomas
User avatar
stratified
OctaneRender Team
OctaneRender Team
 
Posts: 945
Joined: Wed Aug 15, 2012 6:32 am
Location: Auckland, New Zealand
Next

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 1 guest

Sun Jul 21, 2019 5:02 am [ UTC ]