Tilt OSL lens

Forums: Tilt OSL lens
Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

Re: Tilt OSL lens

Postby baltort » Mon Sep 03, 2018 7:47 pm

baltort Mon Sep 03, 2018 7:47 pm
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.
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: Tilt OSL lens

Postby LightwaveGuru » Mon Sep 03, 2018 8:01 pm

LightwaveGuru Mon Sep 03, 2018 8:01 pm
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)...

Image

snip lwguru
http://www.neotek.laboratories.de or http://www.youtube.com/c/Lightwaveguru or http://www.facebook.com/safarifx 4x Titan X 12 GB watercooled / 6x 2080 ti air cooled / 2x 980 ti watercooled
User avatar
LightwaveGuru
Licensed Customer
Licensed Customer
 
Posts: 487
Joined: Wed Jun 25, 2014 9:34 am
Location: Germany

Re: Tilt OSL lens

Postby baltort » Mon Sep 03, 2018 9:14 pm

baltort Mon Sep 03, 2018 9:14 pm
That’s got it. Now you can use that poly to control the focus plane.

Looking cool!

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

Re: Tilt OSL lens

Postby LightwaveGuru » Mon Sep 03, 2018 10:23 pm

LightwaveGuru Mon Sep 03, 2018 10:23 pm
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
http://www.neotek.laboratories.de or http://www.youtube.com/c/Lightwaveguru or http://www.facebook.com/safarifx 4x Titan X 12 GB watercooled / 6x 2080 ti air cooled / 2x 980 ti watercooled
User avatar
LightwaveGuru
Licensed Customer
Licensed Customer
 
Posts: 487
Joined: Wed Jun 25, 2014 9:34 am
Location: Germany

Re: Tilt OSL lens

Postby adkkda » Tue Sep 04, 2018 7:15 am

adkkda Tue Sep 04, 2018 7:15 am
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 ? :)

TILT.gif
Lets see if animated GIFs work
User avatar
adkkda
Licensed Customer
Licensed Customer
 
Posts: 32
Joined: Tue Aug 06, 2013 3:13 am

Re: Tilt OSL lens

Postby baltort » Tue Sep 04, 2018 9:36 am

baltort Tue Sep 04, 2018 9:36 am
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 :D

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.
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: Tilt OSL lens

Postby whersmy » Tue Sep 04, 2018 9:41 am

whersmy Tue Sep 04, 2018 9:41 am
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. :)
Octane 2022.1.1 nv535.98
mac pro g5| pentium g2030 iGPU| maximus extreme V| 2x gtx590 - 8gb - SSD - win7-x64- 1500W Silverstone|
x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments
User avatar
whersmy
Licensed Customer
Licensed Customer
 
Posts: 723
Joined: Thu Aug 30, 2012 7:40 am

Re: Tilt OSL lens

Postby KeeWe » Fri Sep 07, 2018 1:08 pm

KeeWe Fri Sep 07, 2018 1:08 pm
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
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: Tilt OSL lens

Postby baltort » Tue Sep 11, 2018 10:35 am

baltort Tue Sep 11, 2018 10:35 am
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! :D

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.
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: Tilt OSL lens

Postby KeeWe » Wed Sep 12, 2018 3:44 pm

KeeWe Wed Sep 12, 2018 3:44 pm
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
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
PreviousNext

Return to Lightwave 3D


Who is online

Users browsing this forum: No registered users and 28 guests

Sat Apr 27, 2024 5:07 am [ UTC ]