OSL Displacement

Generic forum to discuss Octane Render, post ideas and suggest improvements.
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
Post Reply
Benj1
Licensed Customer
Posts: 29
Joined: Sat Dec 18, 2010 6:58 pm

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
User avatar
bepeg4d
Octane Guru
Posts: 10461
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

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
Benj1
Licensed Customer
Posts: 29
Joined: Sat Dec 18, 2010 6:58 pm

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
calus
Licensed Customer
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

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
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.

Also, in Octane 2018.1, true OSl displacement is possible but only on OSL geometry or VDB levelset surface for the momment.
Pascal ANDRE
Benj1
Licensed Customer
Posts: 29
Joined: Sat Dec 18, 2010 6:58 pm

Thank you ! I'm going to check that.
Post Reply

Return to “General Discussion”