Page 1 of 1
OSL Render Boole
Posted: Thu May 16, 2019 7:23 pm
by mpazera
Does anyone ever tried to create a render boole effect with OSL and Octane?
I have to render some heavy slice effects and render-time boolean might be my only option.
Any ideas?
Re: OSL Render Boole
Posted: Fri May 17, 2019 4:24 pm
by frankmci
Looks like some folks have been working on this with OSL in Blender and getting some decent results.
https://blender.stackexchange.com/quest ... osl-shader
Re: OSL Render Boole
Posted: Fri May 17, 2019 8:16 pm
by mpazera
Thanks for the link.
Unfortunately while I was learning OSL basics I've found out that Octane's implementation does not support some basic functionality, like getattribute("geom:name", name).
Or I'm missing something?
If that's the case then OSL in Octane is useless for something like render boole.
I want to be wrong about this.
Re: OSL Render Boole
Posted: Wed May 22, 2019 4:59 pm
by frankmci
I know close to zero about OSL, other than to kluge some things together by trial and error, but from what I see in the supported attributes available to
getattribute()
https://docs.otoy.com/osl/extras/#global-attributes
I think you are probably correct.
