Hello,
I'm a beginner in OSL on octane.
How can I make work the OSL closures with the displacement node ?
What output type ?
Should it be scripted and switched the actual displacement node directly into the script OSl ?
Thank you,
Benjamin
OSL Displacement
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Hi Benjamin,
please, have a look at this other discussion here:
viewtopic.php?f=33&t=63905&p=325568&hil ... sl#p325568
The closure variables are not supported in the current implementation of OSL.
Please, have a look also at this site to have more info about the OSL implementation in OctaneRender:
https://docs.otoy.com/osl/
ciao Beppe
please, have a look at this other discussion here:
viewtopic.php?f=33&t=63905&p=325568&hil ... sl#p325568
The closure variables are not supported in the current implementation of OSL.
Please, have a look also at this site to have more info about the OSL implementation in OctaneRender:
https://docs.otoy.com/osl/
ciao Beppe
Octane displacement currently only support image texture as input, but it's possible to bake on the fly any texture graph input in the BakedImageTexture node, including OSL shaders.Benj1 wrote:Hello Beppe,
Thank you for your reply.
The output of "texture" OSL is a color type, why if i put this output at displacement node it doesn't work ?
Benj
Also, in Octane 2018.1, true OSl displacement is possible but only on OSL geometry or VDB levelset surface for the momment.
Pascal ANDRE

