Skip to main content
Participant
February 19, 2022
Question

How to do script programming in Substance 3D

  • February 19, 2022
  • 1 reply
  • 324 views

Hi guys,
Thanks for your patience in this post. I am a programmer and a newbie in Adobe Substance 3D.
I want to implement an image twisting and scaling effect by programming (just like scripting in Maya or Blender or Houdini), and would like to learn more about scripting as well.
Would anyone please be happy to show me a tutorial about scripting in Substance Designer? Can this effect be implemented in Substance?
Thanks for your time!

This topic has been closed for replies.

1 reply

Luca Giarrizzo
Community Manager
Community Manager
February 28, 2022

Hello @32123234684mjnh,

 

While there is no way to directly process images using the Substance engine through scripting, you can use the Pixel Processor node to create image effects through a Function graph. This is one of the most complex nodes to master in Designer, yet one of the most powerful, to be sure. The node effectively compiles a shader out of its Functiong graph and runs it on every pixel of an image in parallel.

The graph lets you use constants, variables, algebra and boolan operators, and other prebuilt functions to author images and/or process image inputs. You can learn more about the Pixel processor node in this page of Designer's documentation and get started with this tutorial.

 

Also, you may use the Python API to author graphs and automate some tasks. For existing projects, the SBSCooker and SBSRender tools let you automate publishing Substance 3D asset files and exporting images from the command line.

 

I hope this is helpful!

 

Best regards.

 

Luca Giarrizzo | Quality Engineer - Substance 3D Designer | Adobe
Participant
March 5, 2022

Thanks Luca! I'm soooooory to reply so late. I will try this solution and learn more 😉