Tilt OSL lens

Newtek Lightwave 3D (exporter developed by holocube, Integrated Plugin developed by juanjgon)

Moderator: juanjgon

baltort
Licensed Customer
Posts: 72
Joined: Mon Jul 07, 2014 4:00 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.
User avatar
LightwaveGuru
Licensed Customer
Posts: 487
Joined: Wed Jun 25, 2014 9:34 am
Location: Germany
Contact:

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

That’s got it. Now you can use that poly to control the focus plane.

Looking cool!

J
User avatar
LightwaveGuru
Licensed Customer
Posts: 487
Joined: Wed Jun 25, 2014 9:34 am
Location: Germany
Contact:

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
adkkda
Licensed Customer
Posts: 32
Joined: Tue Aug 06, 2013 3:13 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 ? :)
Lets see if animated GIFs work
Lets see if animated GIFs work
baltort
Licensed Customer
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

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.
User avatar
whersmy
Licensed Customer
Posts: 723
Joined: Thu Aug 30, 2012 7:40 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

x201t - gtx580 - egpu ec
Dell G5 - 16GB - dgpu GTX1060 - TB3 egpu @ 1060 / RTX 4090

Octane Render experiments - ♩ ♪ ♫ ♬
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

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

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.
User avatar
KeeWe
Licensed Customer
Posts: 296
Joined: Wed Nov 27, 2013 11:32 am

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
Post Reply

Return to “Lightwave 3D”