Procedural geometric shapes

Forums: Procedural geometric shapes
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Procedural geometric shapes

Postby philipni » Thu Jan 28, 2021 10:58 am

philipni Thu Jan 28, 2021 10:58 am
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
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: Procedural geometric shapes

Postby BK » Thu Jan 28, 2021 10:42 pm

BK Thu Jan 28, 2021 10:42 pm
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 183 times
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1318
Joined: Mon Oct 31, 2016 7:54 pm

Re: Procedural geometric shapes

Postby philipni » Fri Jan 29, 2021 7:54 am

philipni Fri Jan 29, 2021 7:54 am
@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)
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: Procedural geometric shapes

Postby philipni » Fri Jan 29, 2021 2:55 pm

philipni Fri Jan 29, 2021 2:55 pm
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
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: Procedural geometric shapes

Postby pxlntwrk » Mon Feb 01, 2021 7:35 am

pxlntwrk Mon Feb 01, 2021 7:35 am
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
:::::::::::::::::
pxlntwrk.net
User avatar
pxlntwrk
Licensed Customer
Licensed Customer
 
Posts: 436
Joined: Sat Mar 23, 2013 2:21 pm
Location: France

Re: Procedural geometric shapes

Postby philipni » Mon Feb 01, 2021 7:50 am

philipni Mon Feb 01, 2021 7:50 am
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?
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: Procedural geometric shapes

Postby pxlntwrk » Mon Feb 01, 2021 7:53 am

pxlntwrk Mon Feb 01, 2021 7:53 am
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
:::::::::::::::::
pxlntwrk.net
User avatar
pxlntwrk
Licensed Customer
Licensed Customer
 
Posts: 436
Joined: Sat Mar 23, 2013 2:21 pm
Location: France

Re: Procedural geometric shapes

Postby philipni » Mon Feb 01, 2021 10:08 am

philipni Mon Feb 01, 2021 10:08 am
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.
philipni
Licensed Customer
Licensed Customer
 
Posts: 24
Joined: Wed Aug 06, 2014 4:39 pm

Re: Procedural geometric shapes

Postby pxlntwrk » Mon Feb 01, 2021 10:10 am

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

thanks
:::::::::::::::::
pxlntwrk.net
User avatar
pxlntwrk
Licensed Customer
Licensed Customer
 
Posts: 436
Joined: Sat Mar 23, 2013 2:21 pm
Location: France

Re: Procedural geometric shapes

Postby BK » Wed Feb 03, 2021 4:25 am

BK Wed Feb 03, 2021 4:25 am
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
Kind Regards

bk3d
BK
OctaneRender Team
OctaneRender Team
 
Posts: 1318
Joined: Mon Oct 31, 2016 7:54 pm
Next

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 9 guests

Tue Apr 16, 2024 7:29 am [ UTC ]