Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Contents

The PxrOSL Pattern node is a useful way to create and prototype OSL patterns from inside Maya.

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

When you first open the node you'll see the representation above. If you expand the Source Code rollout you'll find a handy example built-in to the node.

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

Compile - Compile the current code to a .oso file for rendering (we needs this stel from the .osl form)
Reload Source File - External edits to the file can be loaded from the saved/updated .osl file

The plus and minus icons are to expand and shrink the editor area.

The Parameters rollout will populate given a correct .oso file.