Page 2 of 2
Re: OSL Til Shift Lense
Posted: Mon Sep 17, 2018 4:42 pm
by baltort
Thanks Milan,
If you believe this one works, then it must be good!
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.
Re: OSL Til Shift Lense
Posted: Tue Sep 18, 2018 3:57 pm
by bepeg4d
Thanks to Milan, that has corrected again the xpresso, here is a working version of the Tilt OSL Camera for c4doctane:
Thanks again to James and Milan for sharing this amzing camera... enjoy it!
ciao Beppe
Re: OSL Til Shift Lense
Posted: Wed Sep 19, 2018 9:46 am
by KeeWe
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:
Re: OSL Til Shift Lense
Posted: Wed Sep 19, 2018 5:06 pm
by Nando_The_Fly_Design
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)":
Re: OSL Til Shift Lense
Posted: Thu Sep 20, 2018 7:50 am
by bepeg4d
@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?
ciao Beppe
Re: OSL Til Shift Lense
Posted: Thu Sep 20, 2018 8:45 am
by baltort
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.
Re: OSL Til Shift Lense
Posted: Thu Sep 20, 2018 10:34 am
by Nando_The_Fly_Design
OOOK Understood, @bepeg4d thanks for the patience and for sharing.
Greetings!
Re: OSL Til Shift Lense
Posted: Fri Jul 19, 2019 11:17 pm
by sbstnc
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.
Re: OSL Til Shift Lense
Posted: Sat Jul 20, 2019 4:52 am
by sbstnc
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.