You are viewing RenderMan 22 documentation which is not the current release. You may view the current documentation by visiting the home page.

Page tree

Versions Compared

Key

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

...

The PxrOSL Pattern node is a useful way to create and prototype OSL patterns from inside Maya. It's excellent for playing around with options and controls.

Info

We only support OSL patterns (textures for shading) and not closures (materials).

...

You can see the source path under Compile and Reload buttons.

Info

The naming here is very important.

  • shader sample_osl_pattern is defined in the OSL Code.
  • The name defined in the OSL Code must match the name of the .osl Source File Path
  • The file path must be populated manually and must also match the name of the OSL Code with the compiled .oso extension

If you fail to have the correct names you will get a warning and bad behavior.

 

Compile - Compile the current code to a .oso file for rendering

...