Page 2 of 3
Re: Tilt OSL lens
Posted: Mon Sep 03, 2018 7:47 pm
by baltort
Ha ha! I have found one of the problems. I’ve been looking at your posts on my phone which appears to have cropped off 80% of your images. Now that I can see what you’ve actually posted, things are looking much better!
Try rotating the plane around the horizontal and vertical axes. If the plane is square on to the camera then a tilt lens behaves the same as a normal lens. It’s only when the focus plane isn’t parallel to the image plane that you’ll see the quirkyness of a tilt lens.
J.
Re: Tilt OSL lens
Posted: Mon Sep 03, 2018 8:01 pm
by LightwaveGuru
baltort wrote:
Try rotating the plane around the horizontal and vertical axes. If the plane is square on to the camera then a tilt lens behaves the same as a normal lens. It’s only when the focus plane isn’t parallel to the image plane that you’ll see the quirkyness of a tilt lens.
J.
Hi James,
lol

yes! ok...
here a example with the same "rotated" plane...you can see it now if you take a look to the head of the ship and then to the background (the dry dock)...
snip lwguru
Re: Tilt OSL lens
Posted: Mon Sep 03, 2018 9:14 pm
by baltort
That’s got it. Now you can use that poly to control the focus plane.
Looking cool!
J
Re: Tilt OSL lens
Posted: Mon Sep 03, 2018 10:23 pm
by LightwaveGuru
baltort wrote:That’s got it. Now you can use that poly to control the focus plane.
Looking cool!
J

Thanks to you for the OSL script...i love to play with the hottest stuff!
snip lwguru
Re: Tilt OSL lens
Posted: Tue Sep 04, 2018 7:15 am
by adkkda
Very nice render LightwaveGuru. Big fan of your stuff!
Also nice spotting about the node disconnecting and needing a recompile.
Is that a bug James or a feature ?

- Lets see if animated GIFs work
Re: Tilt OSL lens
Posted: Tue Sep 04, 2018 9:36 am
by baltort
Looks great, Al.
Let's call the breaking of all the input connections on scene reload as a feature. It gives everyone a chance to reconnect the nodes and spend a moment contemplating how cool free plug-ins are
I think the issue it in Lightwave itself.
Juan, can you take a look when you get a chance? I suspect OSL nodes are difficult to suspend to and from disk because LW doesn't know what the inputs are without compiling the OSL each time.
Cheers,
J.
Re: Tilt OSL lens
Posted: Tue Sep 04, 2018 9:41 am
by whersmy
Nice work guys!
I remember a script we could use where basically real lenses could be simulated. The right f-stop, exposure, aperture, FOV was calculated right away. Would be plain amazing to have this with OSL.

Re: Tilt OSL lens
Posted: Fri Sep 07, 2018 1:08 pm
by KeeWe
Guys, any chance to transfer this to the C4D Plugin. Well, I know its possible, but can someone explain it for me who has absolutely no knowledge about OSL?:D
Re: Tilt OSL lens
Posted: Tue Sep 11, 2018 10:35 am
by baltort
Hi KeeWe,
Unfortunately, I have knowledge of OSL but not of C4D. I don't have a copy of it and I don't have an octane plug-in for it... Maybe someone would like to donate one!
What's the issue with using this in C4D at the moment? Is there an equivalent way of connecting the position and world vectors of a null into the camera?
Cheers,
James.
Re: Tilt OSL lens
Posted: Wed Sep 12, 2018 3:44 pm
by KeeWe
Yep, the problem is setting up a control rig. I posted it over in the c4d section, maybe someone with more xpresso knowledge than me can help me out.
viewtopic.php?f=30&t=68764