rfm2  22.0
A python-based rewrite of RenderMan for Maya
 All Classes Namespaces Files Functions Variables Pages
rfm2.vp.geo.lightfilters Namespace Reference

Functions

def rod_compute
 
def blocker_compute
 
def barn_compute
 
def ramp_compute
 

Detailed Description

Replacement methods for lightfilters.

Light filter geometry is defined in geometry json files and can specify methods
overriding the base class like so:

    "class_methods": {
"compute": {
    "module": "rfm2.vp.geo.lightfilters",
    "function": "rod_compute"
}
    }

In this example, the lightfilter's "compute" method of the MPxNode-based class
will be set to rfm2.vp.geo.lightfilters.rod_compute.

You can declare as many functions as needed.

Function Documentation

def rfm2.vp.geo.lightfilters.barn_compute (   cls,
  plug,
  block 
)
def rfm2.vp.geo.lightfilters.blocker_compute (   cls,
  plug,
  block 
)
update the instance's bbox member variable when an input value changes.
def rfm2.vp.geo.lightfilters.ramp_compute (   cls,
  plug,
  block 
)

+ Here is the call graph for this function:

def rfm2.vp.geo.lightfilters.rod_compute (   cls,
  plug,
  block 
)
update the instance's bbox member variable when an input value changes.