Page 1 of 1

Animation / scripting for dummies?

PostPosted: Thu Apr 05, 2018 3:49 pm
by Jorgensen
hi there :-)

i would like to do a small and very simple animation of the octane sun - and found and downloaded the daylight-animation.lua.

but now what? i simply can't figure out how to get started?

is there a guide for noobs? :-)

thanks
jorgensen

Re: Animation / scripting for dummies?

PostPosted: Thu Apr 05, 2018 3:59 pm
by bepeg4d
Hi jorgensen,
the Daylight animation should be already listed in the Script menu, alonge with Batch rendering and Turntable:
D3ACFD44-F560-432C-BED8-4FEAF4C4A94B.jpeg

Just select the desired Render Target node with Daylight Environment node, go to the Script menu and choose the Daylight script:
4874B97C-E269-4F38-AC33-0D6E65D92AE9.jpeg

Set the Start time, End time, duration, saving path, and render.
ciao Beppe

Re: Animation / scripting for dummies?

PostPosted: Thu Apr 05, 2018 4:28 pm
by Jorgensen
hi beppe

now that was simple, if you now how to :-)

thanks - once again beppe :-)

edit
if i want to create a clip where eg. the camera aparture is animated - what would be the right direction to do that?
is it core lua programming or are there some cut and paste scripts that can be used for that?

thanks
jorgensen

Re: Animation / scripting for dummies?

PostPosted: Fri Apr 06, 2018 7:12 am
by bepeg4d
Hi jorgensen,
please, have a look at this series of scripted graph nodes to basic animate any kind of parameter:
viewtopic.php?f=73&t=63584
ciao Beppe

Re: Animation / scripting for dummies?

PostPosted: Fri Apr 06, 2018 9:36 am
by Jorgensen
Thank beppe

I will.

Jorgensen

Re: Animation / scripting for dummies?

PostPosted: Sat Apr 07, 2018 11:14 am
by Jorgensen
hi beppe

i have searched the manual and the forums for a simple thing as setting the animation length and how to setup and start to render an animation,
but when i search for animation in the forum - i'm told that "animation" is a too common word :roll: and the forum manuel did not help.

in the manual i found this link
https://docs.otoy.com/StandaloneH_STA/StandaloneManual.htm#StandaloneSTA/RenderingAnimations.htm?Highlight=animation
witch did not help me in any means :roll:

i might be to noob for this - why is it so complicated to setup an animation?
- proberply easy to do when you know how.

Jorgensen

Re: Animation / scripting for dummies?

PostPosted: Sat Apr 07, 2018 1:13 pm
by bepeg4d
Hi Jorgensen,
OctaneRender is a render engine, so it does not have the ability to create and manage animation data, but can read the animation data of a scene for rendering.
With Lua script it is possible to generate animation data, so, as soon as you load one of the AnimateValues scripted graph nodes, the animation bar is generated in viewport, and you can create some basic animations.
Please, have a look at this simple example about camera moving:
download/file.php?id=67125
ciao Beppe

Re: Animation / scripting for dummies?

PostPosted: Sat Apr 07, 2018 2:10 pm
by Jorgensen
Hi beppe

thanks - i think i can setup the scrip nodes.

i can see all the frames and animation of the camera, when i move the small icon along the timeline, but how do i actually set the kernal to render all the frames to png's?
and where do i set the total number of frames?

a lot of question - but i think that i soon will see the light :-)




thanks
jorgensen

Re: Animation / scripting for dummies?

PostPosted: Sat Apr 07, 2018 2:15 pm
by bepeg4d
Hi jorgensen,
have a look at Batch Rendering, and render Job nodes:
Batch Rendering
Render Job
ciao Beppe

Re: Animation / scripting for dummies?

PostPosted: Sat Apr 07, 2018 2:54 pm
by Jorgensen
hi beppe

thanks - your help is very appreciated.

now i got something up and running.

Jorgensen