HDR spinning script?

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

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:
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

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?
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

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
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

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.
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
grimm
Licensed Customer
Posts: 1332
Joined: Wed Jan 27, 2010 8:11 pm
Location: Spokane, Washington, USA

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
Linux Mint 21.3 x64 | Nvidia GTX 980 4GB (displays) RTX 2070 8GB| Intel I7 5820K 3.8 Ghz | 32Gb Memory | Nvidia Driver 535.171
User avatar
smicha
Licensed Customer
Posts: 3151
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

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 :)
3090, Titan, Quadro, Xeon Scalable Supermicro, 768GB RAM; Sketchup Pro, Classical Architecture.
Custom alloy powder coated laser cut cases, Autodesk metal-sheet 3D modelling.
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
Rikk The Gaijin
Licensed Customer
Posts: 1528
Joined: Tue Sep 20, 2011 2:28 pm
Location: Japan

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! ;)
User avatar
bepeg4d
Octane Guru
Posts: 10468
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

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
Post Reply

Return to “General Discussion”