Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this example we will demonstrate how you can write your own shader node using the RenderMan Shading Language that is fully working within Softimage Render Tree, without the need of any SDK or compilation tools. This simple shader will be based on a lambertian model with AOV channels for "ambient",  "raw diffuse" and albedo. You will also be able to choose the shading color (image connection will be possible). If you are too impatient, you see a video that shows how this shader is created and debugged live in Softimage's render view.

 

Info

To fully understand this tutorial, you will need some scripting knowledge (in this case Python) and some basic knowledge of the Softimage SDK. But you do not need any compiler or developer's SDK installed, everything you need is in the 3Delight for Softimage package.

...

Now that we have provided Softimage with an interface for our shader, we have to write the actual shader code. For more information on the RendeMan Shading Language used by 3Delight, please read the 3Delight User's Manual (chapter called “The Shading Language”). The first think you have to do is to create a file named lambertian.sl using your favorite text editor. This file need to be located inside your c:/tmp folder (we could assign any directory in the python script above).

...