Page tree

Versions Compared

Key

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

...

Note that at the time of CreateInstanceData, like other shading plugins, Bxdfs are unable to inspect the values of pattern network inputs; therefore, in cases these inputs are provided (i.e: RixParameterList::GetParamInfo() returns k_RixSCNetworkValue) the Bxdf may have no choice but to defer inspection of the inputs until BeginOpacity() or BeginInterior(). At that time, those methods may then choose to return NULL instead.


...

RixBxdf

Once a RixBxdf object is obtained, the integrator may invoke the following methods:

...

  • RixBxdf::GetPresence() to evaluate the geometry presence.
  • RixBxdf::GetOpacity() to evaluate the opacity color.

...


...

Bxdf Evaluation Domain

Bxdf Lobes

Bxdf Sample Validity

Non-Opaque Surfaces

Alpha for Compositing

Installation

RenderMan will search for bxdf plugins on demand, under the the rixplugin searchpath searchpath. The following rib stream will search for a plugin file named MyDiffuse.so

Code Block
Bxdf "MyDiffuse" "diffuse1" "color tint" [0.5 0.5 0.5]

...

If you would like RenderMan for Maya or Katana to recognize your Bxdf and provide a user interface for changing input parameters and connecting output parameters to other nodes, then you will need to create an args file for your bxdf. The args file defines the input and output parameters in XML so that tools like RMS or Katana can easily read them, discover their type, default values, and other information used while creating the user interface for the pattern node. Please consult the Args File Reference for more information.


...

Additional Considerations

Bxdf Evaluation Domain

Bxdf Lobes

Bxdf Sample Validity

Non-Opaque Surfaces

Alpha for Compositing