Page 1 of 2

OSL cameras

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

Cheers,

J.

Re: OSL cameras

Posted: Tue Mar 13, 2018 5:11 pm
by juanjgon
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

Re: OSL cameras

Posted: Tue Mar 13, 2018 5:46 pm
by baltort
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.

Re: OSL cameras

Posted: Mon Mar 19, 2018 10:45 pm
by juanjgon
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

Re: OSL cameras

Posted: Mon Mar 19, 2018 11:11 pm
by juanjgon
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

Re: OSL cameras

Posted: Tue Mar 20, 2018 11:00 am
by baltort
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.

Re: OSL cameras

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

Thanks for reporting these issues with it!
-Juanjo

Re: OSL cameras

Posted: Wed Sep 26, 2018 8:39 am
by sjonsjine
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

Re: OSL cameras

Posted: Wed Sep 26, 2018 10:03 am
by juanjgon
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

Re: OSL cameras

Posted: Thu Sep 27, 2018 7:00 am
by sjonsjine
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