Page 1 of 1

convert to Octane OSL

Posted: Sun Mar 20, 2022 1:01 pm
by ramone163
It is possible to convert this OSL to Octane OSL?
https://github.com/gkmotu/OSL-Shaders/b ... ceFlow.osl

Re: convert to Octane OSL

Posted: Mon Mar 21, 2022 11:26 am
by jobigoud
Here you go:
SubstanceFlow.osl
(3.74 KiB) Downloaded 156 times
I added some boilerplate math at the top to replace the includes.

Re: convert to Octane OSL

Posted: Mon Mar 21, 2022 11:55 am
by ramone163
jobigoud wrote:Here you go:
SubstanceFlow.osl
I added some boilerplate math at the top to replace the includes.
Thank you.
Faced with an issue: Some lags during rendering. And it's looks like two textures overlapping.

https://www.dropbox.com/s/xhipnyf7h549u ... 134730.gif

Re: convert to Octane OSL

Posted: Mon Mar 21, 2022 2:08 pm
by jobigoud
I'm not seeing these artifacts in standalone 2021.1. Maybe it's version or plug-in specific?

Re: convert to Octane OSL

Posted: Mon Mar 21, 2022 3:26 pm
by ramone163
jobigoud wrote:I'm not seeing these artifacts in standalone 2021.1. Maybe it's version or plug-in specific?
3ds Max 2022 OctaneRender 2021.1.3 - 12.14

Re: convert to Octane OSL

Posted: Mon Mar 21, 2022 5:48 pm
by ramone163
jobigoud wrote:I'm not seeing these artifacts in standalone 2021.1. Maybe it's version or plug-in specific?
Standalone - same lags:
https://dl.dropboxusercontent.com/s/xsu ... 194424.gif

Re: convert to Octane OSL

Posted: Thu Mar 24, 2022 12:13 pm
by jobigoud
Here is my test scene. Does it work for you?

Could you share a simplified version of your scene showing the problem?
substanceflow.orbx
(31.83 KiB) Downloaded 107 times