Page 1 of 2

Procedural geometric shapes

PostPosted: Thu Jan 28, 2021 10:58 am
by philipni
Hello all.
Is there a way to achieve procedurally generated texture shapes, as SQUARE, CIRCLE, TRIANGLE, PENTAGON or ELSE?
Stuff that is possible to do in Substance Designer through mathematical nodes and shape nodes.

If not, will that be implemented sometime along in the development?

As using image texture (jpg png tiff etc...) in the workflow saturates the memory pretty fast, and cuts resolution in close ups, I was looking into the procedural Octane textures.
But it looks very limited to some noises and checkers.

I tried to create on a simple polygon plane a simple square with white borders, using checkers... But I'm hitting a wall.

I think maybe with OSL texture that will be possible.
But I can't find any simple tutorial or guide about the OSL thing.


tnx all for reading

Re: Procedural geometric shapes

PostPosted: Thu Jan 28, 2021 10:42 pm
by BK
philipni wrote:Hello all.
Is there a way to achieve procedurally generated texture shapes, as SQUARE, CIRCLE, TRIANGLE, PENTAGON or ELSE?
Stuff that is possible to do in Substance Designer through mathematical nodes and shape nodes.

If not, will that be implemented sometime along in the development?

As using image texture (jpg png tiff etc...) in the workflow saturates the memory pretty fast, and cuts resolution in close ups, I was looking into the procedural Octane textures.
But it looks very limited to some noises and checkers.

I tried to create on a simple polygon plane a simple square with white borders, using checkers... But I'm hitting a wall.

I think maybe with OSL texture that will be possible.
But I can't find any simple tutorial or guide about the OSL thing.


tnx all for reading


Hi Phil,

Thank you so much for the post.

Would you please try the attached sample file and let us know if it works?
It looks like the OSL texture works better using OFM ORBX material.

cheers
ProceduralOSLShapes.zip
(12.29 KiB) Downloaded 189 times

Re: Procedural geometric shapes

PostPosted: Fri Jan 29, 2021 7:54 am
by philipni
@Bk

thank you! I'll try today and will let you know how it goes.

PS:
I'm not a programmer, but from what I saw playin a little bit around with OSL it looks like a completely possible solution to create a set of tools to be integrated in octane, to create procedural nodes like in Substance Designer. (I could be wrong)

Re: Procedural geometric shapes

PostPosted: Fri Jan 29, 2021 2:55 pm
by philipni
BK wrote:..........

Hi Phil,

Thank you so much for the post.

Would you please try the attached sample file and let us know if it works?
It looks like the OSL texture works better using OFM ORBX material.

cheers
ProceduralOSLShapes.zip


I send you all my gratitude BK!
Your OSL shader work's marvels.



I really see all this OSL development that was completely obscure to me as a new way to bring Substance Designer like functionalities to Octane. Really nice.

Big tnx

Re: Procedural geometric shapes

PostPosted: Mon Feb 01, 2021 7:35 am
by pxlntwrk
Hi,
that sounds super interesting,
I don't have Maya installed on my machine, Could you share the osl files only ? please.

thank you in advance

Re: Procedural geometric shapes

PostPosted: Mon Feb 01, 2021 7:50 am
by philipni
pxlntwrk wrote:Hi,
that sounds super interesting,
I don't have Maya installed on my machine, Could you share the osl files only ? please.

thank you in advance

Second reply in this post from BK :)
Zip file?

Re: Procedural geometric shapes

PostPosted: Mon Feb 01, 2021 7:53 am
by pxlntwrk
philipni wrote:Second reply in this post from BK :)
Zip file?

thank you for the answer, but it is a Maya file that I cannot open because the software is not installed on my machine.
Can you just copy me the .osl codes?

thank you in advance

Re: Procedural geometric shapes

PostPosted: Mon Feb 01, 2021 10:08 am
by philipni
pxlntwrk wrote:
philipni wrote:Second reply in this post from BK :)
Zip file?

thank you for the answer, but it is a Maya file that I cannot open because the software is not installed on my machine.
Can you just copy me the .osl codes?

thank you in advance

Ha... I'm sorry I don't know how to do it.
The easiest would be for BK to post it.

Re: Procedural geometric shapes

PostPosted: Mon Feb 01, 2021 10:10 am
by pxlntwrk
OK thanks a lot,
hoping that BK will read these lines ...

thanks

Re: Procedural geometric shapes

PostPosted: Wed Feb 03, 2021 4:25 am
by BK
philipni wrote:
BK wrote:..........

Hi Phil,

Thank you so much for the post.

Would you please try the attached sample file and let us know if it works?
It looks like the OSL texture works better using OFM ORBX material.

cheers
ProceduralOSLShapes.zip


I send you all my gratitude BK!
Your OSL shader work's marvels.


I really see all this OSL development that was completely obscure to me as a new way to bring Substance Designer like functionalities to Octane. Really nice.

Big tnx



Hi Phil,

Thank you so much for creating this post!
We are happy to hear it worked :)

cheers