Animated tiled camera

Forums: Animated tiled camera
Forum for OctaneRender Lua scripting examples, discussion and support.

Animated tiled camera

Postby bepeg4d » Sun Jan 29, 2017 3:49 pm

bepeg4d Sun Jan 29, 2017 3:49 pm
Animated tiled camera
TiledCameraAni_1.02.lua
(18.69 KiB) Downloaded 333 times

Screen%20Shot%202016-10-16%20at%2019.18.06.jpg
Screen%20Shot%202016-10-16%20at%2019.18.06.jpg (19.92 KiB) Viewed 5110 times

The idea is to create an animation of big frame buffers divided into tiles to be ready to be sent to ORC. As a side effect, in v2, is useful also for removing the frame buffer limitation on VRAM . The script works only with Thin Lens and Panoramic camera node.
Basically it creates an animator for the shift parameter, after have changed some parameters like fov and resolution of a Thin lens Camera node. The user define the number of tiles per axis (from 2 to 89) and the script creates the animation. Vignetting and Post processing will be disabled, if present. If the camera is a Panoramic Camera node, the script automatically creates an animator of the panoramic type in Cube map mode (v3 only) with 6 frames if mono or 12 frames if stereo with Samsung Gear VR resolution (1536x1536). The final node graphs have the render target output ready to be connected to a render job node.
Note, if Autofocus is active, the script will stop asking to remove the option and choose focus point before executing the script again.
I hope to have added all the necessary conditions for making it workable correctly in all the situations :roll:
To assemble all the tiles in Photoshop, I use this modified old java script founded on the Adobe forum:
mergeTiledImages3.js.zip
(2.28 KiB) Downloaded 259 times

Screen Shot 2017-01-29 at 16.41.58.jpg
Screen Shot 2017-01-29 at 16.41.58.jpg (19.88 KiB) Viewed 5110 times

Create an empty document with the final resolution, run the script, locate the folder with the rendered frmes and click on Process. Unfortunately it doesn't work with Cube Map VR frames.
ciao beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 6019
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Animated tiled camera

Postby smicha » Thu Feb 16, 2017 8:41 pm

smicha Thu Feb 16, 2017 8:41 pm
I must try it asap - seems to be a kick ass script!
Win7, Modo 10.1, Octane for Modo and Sketchup, nVidia latest, TITAN+3x780 6GB, 2600K, P8P67WS, 32GB, 1350W
SMH10, EK, Airplex_480, SR1_560, 20xNB_PL2, 2xD5, Aquaero 6XT
build-log http://render.otoy.com/forum/viewtopic.php?f=9&t=42540
User avatar
smicha
Licensed Customer
Licensed Customer
 
Posts: 3133
Joined: Wed Sep 21, 2011 4:13 pm
Location: Warsaw, Poland

Re: Animated tiled camera

Postby oscartung » Tue Oct 23, 2018 6:44 am

oscartung Tue Oct 23, 2018 6:44 am
I use this script all the time for big renders thanks. However when lens shift is used on the original renders, the output is shifted, is there a way around this?
oscartung
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Wed May 21, 2014 5:33 pm

Re: Animated tiled camera

Postby bepeg4d » Mon Oct 29, 2018 4:16 pm

bepeg4d Mon Oct 29, 2018 4:16 pm
Hi,
happy to hear that you find my script useful.
Please, try with the attached new version, it should have solved the shift issue, and also works with v4:
tiledcameraani_1.03.lua
(18.83 KiB) Downloaded 20 times

Looking forward for your feedback,
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 6019
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: Animated tiled camera

Postby oscartung » Mon Nov 05, 2018 5:02 am

oscartung Mon Nov 05, 2018 5:02 am
Hi Thank you so much for the update, the script is working in 4.0, however the lens shift problem is still not working on my side
oscartung
Licensed Customer
Licensed Customer
 
Posts: 49
Joined: Wed May 21, 2014 5:33 pm

Return to Lua Scripting


Who is online

Users browsing this forum: No registered users and 1 guest

Wed Dec 12, 2018 11:15 pm [ UTC ]