OSL cameras

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

Moderator: juanjgon

OSL cameras

Postby baltort » Tue Mar 13, 2018 3:17 pm

baltort Tue Mar 13, 2018 3:17 pm
Are these supported yet? I can't seem to get the camera node to work...

Cheers,

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

Re: OSL cameras

Postby juanjgon » Tue Mar 13, 2018 5:11 pm

juanjgon Tue Mar 13, 2018 5:11 pm
Yes, at least in theory. If you want to attach a sample scene with the OSL code that doesn't work, I could take a look at it here.

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: OSL cameras

Postby baltort » Tue Mar 13, 2018 5:46 pm

baltort Tue Mar 13, 2018 5:46 pm
Hi Juanjo,

I can't get any scene to respond to an OSL camera. Here's a simple OSL cam that should override the viewing position to [0,0,0]. It compiles correctly, but still responds to the LW camera position and appears to be showing DOF, which is not what I expected!.

Cheers,

James.
Attachments
osl camera scene.zip
(229.38 KiB) Downloaded 189 times
baltort
Licensed Customer
Licensed Customer
 
Posts: 72
Joined: Mon Jul 07, 2014 4:00 pm

Re: OSL cameras

Postby juanjgon » Mon Mar 19, 2018 10:45 pm

juanjgon Mon Mar 19, 2018 10:45 pm
Hi,

I'm just now checking this issue. The problem can be related to the IPR rendering. Have you tried your osl camera rendering the scene with F9/F10 to see if you get the expected result?

Thanks,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: OSL cameras

Postby juanjgon » Mon Mar 19, 2018 11:11 pm

juanjgon Mon Mar 19, 2018 11:11 pm
Forget it, don't waste your time. I think that the OSL camera feature is broken in the current plugin build. I'll work on it for the next release.

Thansk,
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: OSL cameras

Postby baltort » Tue Mar 20, 2018 11:00 am

baltort Tue Mar 20, 2018 11:00 am
Hi Juanjo,

I figured it might be! Thanks for taking a look. I look forward to having a proper play with it when it's fixed.

All the best,

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

Re: OSL cameras

Postby juanjgon » Wed Mar 21, 2018 11:19 pm

juanjgon Wed Mar 21, 2018 11:19 pm
The OSL camera feature has been fixed for the next build.

Thanks for reporting these issues with it!
-Juanjo
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: OSL cameras

Postby sjonsjine » Wed Sep 26, 2018 8:39 am

sjonsjine Wed Sep 26, 2018 8:39 am
juanjgon wrote:The OSL camera feature has been fixed for the next build.

Thanks for reporting these issues with it!
-Juanjo


Hi Juanjo,

Someone provide me with a texture apertue cam. osl but how do I implement this in octane/lightwave?

Thanks!

Freddy
sjonsjine
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Mon Mar 01, 2010 11:20 am
Location: Amsterdam

Re: OSL cameras

Postby juanjgon » Wed Sep 26, 2018 10:03 am

juanjgon Wed Sep 26, 2018 10:03 am
In theory, you should be able to use this OSL camera code loading it in the LightWave plugin OSL node configured as Camera node type, as you can see in the attached image. Be aware that currently any string parameter must be hard coded in the OSL code because LightWave doesn't have a proper string node type yet.

Thanks,
-Juanjo
Attachments
2018_09_26-12_02_34.jpg
User avatar
juanjgon
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 8867
Joined: Tue Jan 19, 2010 12:01 pm
Location: Spain

Re: OSL cameras

Postby sjonsjine » Thu Sep 27, 2018 7:00 am

sjonsjine Thu Sep 27, 2018 7:00 am
juanjgon wrote:In theory, you should be able to use this OSL camera code loading it in the LightWave plugin OSL node configured as Camera node type, as you can see in the attached image. Be aware that currently any string parameter must be hard coded in the OSL code because LightWave doesn't have a proper string node type yet.

Thanks,
-Juanjo


I can't find this, where do I have to look?

Thanks!!

Freddy
sjonsjine
Licensed Customer
Licensed Customer
 
Posts: 189
Joined: Mon Mar 01, 2010 11:20 am
Location: Amsterdam
Next

Return to Lightwave 3D


Who is online

Users browsing this forum: No registered users and 12 guests

Fri Apr 19, 2024 2:03 pm [ UTC ]