rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | Vp2ShaderCache |
class | LightTracker |
class | VP2LightDesc |
class | VP2Item |
class | PxrLightGeometryOverride |
Functions | |
def | maya_useNewAPI |
def | create_from_class |
def | make_geo_class |
def | register_prefs |
Variables | |
dictionary | GEO_CLS |
list | STOCK_SHADERS |
dictionary | STOCK_SHADERS_IDX = {name: eval('omr.MShaderManager.%s' % name) for name in STOCK_SHADERS} |
Define and build VP2 geometry overrides.
def rfm2.vp.pxr_light.create_from_class | ( | cls | ) |
Closure to return a fully configured creator() static method. Returns: object: the configured static method.
def rfm2.vp.pxr_light.make_geo_class | ( | desc, | |
dagcls | |||
) |
Create a dynamic class for the VP2 light/lightfilter representation.
def rfm2.vp.pxr_light.maya_useNewAPI | ( | ) |
The presence of this function tells Maya that the plugin produces, and expects to be passed, objects created using the Maya Python API 2.0.
def rfm2.vp.pxr_light.register_prefs | ( | ) |
Register viewport light prefs in Maya.
dictionary rfm2.vp.pxr_light.GEO_CLS |
list rfm2.vp.pxr_light.STOCK_SHADERS |
dictionary rfm2.vp.pxr_light.STOCK_SHADERS_IDX = {name: eval('omr.MShaderManager.%s' % name) for name in STOCK_SHADERS} |