OSL Til Shift Lense

Forums: OSL Til Shift Lense
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Re: OSL Til Shift Lense

Postby baltort » Mon Sep 17, 2018 4:42 pm

baltort Mon Sep 17, 2018 4:42 pm
Thanks Milan,

If you believe this one works, then it must be good! :P

I think we have caught the z-flip (lightwave does the same). The factor of 100: is that Octane working in metres and C4D working in centimetres? I'll add a scale factor onto the C4D version if so.

Different aperture values for X and Y? Sounds exciting. Do you mean ramping the aperture size over the UV of the image frame, or just using an elliptical aperture? Both are doable. Both are weird. Bring it on!

J.
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: OSL Til Shift Lense

Postby bepeg4d » Tue Sep 18, 2018 3:57 pm

bepeg4d Tue Sep 18, 2018 3:57 pm
Thanks to Milan, that has corrected again the xpresso, here is a working version of the Tilt OSL Camera for c4doctane:
tiltcameraoslc4d.zip
(87.22 KiB) Downloaded 277 times


Thanks again to James and Milan for sharing this amzing camera... enjoy it!
ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9959
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: OSL Til Shift Lense

Postby KeeWe » Wed Sep 19, 2018 9:46 am

KeeWe Wed Sep 19, 2018 9:46 am
Wow, thanks a lot. Gonna try it out as soon as I have some spare time. Great community work, even platform independent. :)

Edit: just had a quick look at it, what I discovered:

How come the FOV in the Live Viewer doesn't match with the Viewport? See the attached Screenshots:

OSL Cam_01.JPG

No_OSL Cam_01.JPG
6850k // 32 GB // 1080, 1080 Ti, 2080 Ti // Win 10 // C4D 19.068
User avatar
KeeWe
Licensed Customer
Licensed Customer
 
Posts: 279
Joined: Wed Nov 27, 2013 11:32 am

Re: OSL Til Shift Lense

Postby Nando_The_Fly_Design » Wed Sep 19, 2018 5:06 pm

Nando_The_Fly_Design Wed Sep 19, 2018 5:06 pm
Excuse my ignorance @bepeg4d, what is the difference between this OSL camera example and using the C4d tilt camera?

I did the test with the C4D camera and the result is almost identical.

Greetings.

Attached is an example "Octane Camera (FM)":
Attachments
TiltCameraOSL (without expresso FM).rar
(97.32 KiB) Downloaded 197 times
Nando_The_Fly_Design
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Mon Jun 20, 2016 4:39 pm

Re: OSL Til Shift Lense

Postby bepeg4d » Thu Sep 20, 2018 7:50 am

bepeg4d Thu Sep 20, 2018 7:50 am
@KeeWe: yes correct, but I don’t know why, sorry.

@ Nando_The_Fly_Design: have you tried to rotate the focal point in the xpresso rig?
771C007E-BA48-4817-8E97-009CD7407B98.jpeg

ciao Beppe
User avatar
bepeg4d
Octane Guru
Octane Guru
 
Posts: 9959
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy

Re: OSL Til Shift Lense

Postby baltort » Thu Sep 20, 2018 8:45 am

baltort Thu Sep 20, 2018 8:45 am
KeeWe wrote:Wow, thanks a lot. Gonna try it out as soon as I have some spare time. Great community work, even platform independent. :)

Edit: just had a quick look at it, what I discovered:

How come the FOV in the Live Viewer doesn't match with the Viewport? See the attached Screenshots:


Hi KeeWe,

There is a process by which an OSL camera can 'read' the FOV settings of your host camera, but it appears to be broken in Lightwave (not sure about other hosts). To get around this problem, I added a FOV input into the OSL camera. You have to control this directly rather than relying on the host camera providing that info. Have you tried adjusting the OSL FOV to match your C4D camera's FOV?

Cheers,

James.
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: OSL Til Shift Lense

Postby Nando_The_Fly_Design » Thu Sep 20, 2018 10:34 am

Nando_The_Fly_Design Thu Sep 20, 2018 10:34 am
OOOK Understood, @bepeg4d thanks for the patience and for sharing.

Greetings!
Nando_The_Fly_Design
Licensed Customer
Licensed Customer
 
Posts: 20
Joined: Mon Jun 20, 2016 4:39 pm

Re: OSL Til Shift Lense

Postby sbstnc » Fri Jul 19, 2019 11:17 pm

sbstnc Fri Jul 19, 2019 11:17 pm
Does rendering with the OSL lens use more memory in any way?

I can render a high res image with the regular camera - only 4706x6656, which is odd because I thought Octane could render 8kx8k.
But if I try the same resolution with the OSL tiltshift camera (same settings, position, tag settings only difference is slightly rotated plane of focus) C4D hangs and dies.

Mac, 4.04R2, C4DR20.059, recommended Nvidia/CUDA drivers, 2x1080TI and also networked

Scene VRAM is only 3.5gb at that res according to the regular camera render, I can't see what VRAM use is on OSL at that res.
sbstnc
Licensed Customer
Licensed Customer
 
Posts: 120
Joined: Mon Jul 25, 2016 1:21 am

Re: OSL Til Shift Lense

Postby sbstnc » Sat Jul 20, 2019 4:52 am

sbstnc Sat Jul 20, 2019 4:52 am
Narrowed down the problem - I can render a 6k image on one single machine using the OSL tilt shift lens.

If I try to use netrender, the image starts to render, then chunks of it go black and glitched, then the whole image goes black and glitched - at ANY resolution.
So netrender seems to not like the OSL lens. Why would this be?
Netrender is fine on exactly the same shot at any res up to 6k using a regular camera (thin lens). Just not the OSL camera.

Right now I am doing some print stills but this means if I want to use the tilt shift for animation (phase 2 of this project) then I can't make use of render nodes?

Any tips here as to why OSL lens and net render won't play nice would be greatly appreciated.
sbstnc
Licensed Customer
Licensed Customer
 
Posts: 120
Joined: Mon Jul 25, 2016 1:21 am
Previous

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 23 guests

Fri Apr 26, 2024 7:46 pm [ UTC ]