Page 2 of 2

Re: HDR spinning script?

Posted: Wed Nov 19, 2014 8:25 am
by Rikk The Gaijin
Thank you grimm!
Hem, I forgot to mention that the script needs to be able to export the render passes (like the one in 2.13) :oops:

Re: HDR spinning script?

Posted: Wed Nov 19, 2014 5:26 pm
by grimm
Shouldn't be a problem. My script only twiddles the animation settings in the environment node, once you run it and build the animator, you can just exit out and run any other script you like. Like the one to export render passes. Would this work?

Re: HDR spinning script?

Posted: Wed Nov 19, 2014 5:30 pm
by bepeg4d
wow, seems great, can't wait for testing it me too :)
ciao beppe

Re: HDR spinning script?

Posted: Thu Nov 20, 2014 9:01 am
by grimm
Ok try this script out, it's not finished yet, but it should be usable. :)

To use you must have a render target and texture environment nodes connected up to your alembic abc node. Select the render target and start the script up. The script will display the animation length and fps, etc. The start and end time allow you to choose a range over which the movement will occur (not tested). At this time only the T.X works, and the power too (I didn't test that but the code wasn't changed so?).

Once you have chosen the settings you want click the "Build Animator" button. Nothing will happen (I need to put a popup confirmation) but the script will have modified the nodes animation settings. Exit out of the script and you can then scrub the timeline and see the hdri rotate. Enjoy. :D
animator_builder_03.zip
(5.69 KiB) Downloaded 110 times

Re: HDR spinning script?

Posted: Thu Nov 20, 2014 9:12 am
by smicha
Grimm,

Sorry if I bug this topic, but I thought you could help. Is it possible to render a scene with alpha channel on and as texture environment there would be a movie (avi, mp4, etc..) - like time-lapse? Then the scene would be rendered for each movie frame - each movie frame would be set as a texture environment image. As output we'd have rendered frames for animation.

Re: HDR spinning script?

Posted: Thu Nov 20, 2014 9:24 am
by grimm
smicha wrote:Grimm,

Sorry if I bug this topic, but I thought you could help. Is it possible to render a scene with alpha channel on and as texture environment there would be a movie (avi, mp4, etc..) - like time-lapse? Then the scene would be rendered for each movie frame - each movie frame would be set as a texture environment image. As output we'd have rendered frames for animation.
It might be, but I would have to research it and try some things out to be sure. Off hand I don't think that a movie will work, that is something I haven't tried yet in Octane so I don't know if it will support movie files. I suspect that you will have to dump the individual frames out of them (with numbered file names), then they can be imported frame by frame and set in the node for rendering. I'm pretty sure that a Lua script could be written to do this. :D

Re: HDR spinning script?

Posted: Thu Nov 20, 2014 9:26 am
by smicha
grimm wrote:I suspect that you will have to dump the individual frames out of them (with numbered file names), then they can be imported frame by frame and set in the node for rendering...
That's what I meant :)

Re: HDR spinning script?

Posted: Fri Nov 21, 2014 1:35 am
by Rikk The Gaijin
grimm, I don't want to bother you, so don't break your head over this... For now I'm good using a sphere with the HDR in the emission sloth, and spin that as alembic. Thank you anyway! ;)

Re: HDR spinning script?

Posted: Fri Nov 21, 2014 9:50 am
by bepeg4d
Thanks grimm, pretty cool, i'm rendering a test ani right now :D
it will be useful also for slowly spinning around the clouds in archviz animations ;)
thanks again