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

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}
 

Detailed Description

Define and build VP2 geometry overrides.

Function Documentation

def rfm2.vp.pxr_light.create_from_class (   cls)
Closure to return a fully configured creator() static method.

Returns:
    object: the configured static method.

+ Here is the caller graph for this function:

def rfm2.vp.pxr_light.make_geo_class (   desc,
  dagcls 
)
Create a dynamic class for the VP2 light/lightfilter representation.

+ Here is the call graph for this function:

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.

Variable Documentation

dictionary rfm2.vp.pxr_light.GEO_CLS
Initial value:
1 = {
4  'disk': rfm2.vp.geo.disk.Disk,
10  'ramp': rfm2.vp.geo.ramp.Ramp,
11  'rect': rfm2.vp.geo.rect.Rect,
14 }
Definition: vertex_array.py:55
Definition: rounded_rect.py:46
Definition: frustum.py:86
Definition: r_outside.py:62
Definition: r_inside.py:59
Definition: projective_frustum.py:126
Definition: arrow.py:57
Definition: sphere.py:55
Definition: archive.py:68
Definition: ramp.py:52
Definition: disk.py:57
Definition: rect.py:60
list rfm2.vp.pxr_light.STOCK_SHADERS
Initial value:
1 = ['k3dSolidShader',
2  'k3dBlinnShader',
3  'k3dDefaultMaterialShader',
4  'k3dSolidTextureShader',
5  'k3dCPVFatPointShader',
6  'k3dColorLookupFatPointShader',
7  'k3dShadowerShader',
8  'k3dFatPointShader',
9  'k3dThickLineShader',
10  'k3dCPVThickLineShader',
11  'k3dDashLineShader',
12  'k3dCPVDashLineShader',
13  'k3dStippleShader',
14  'k3dThickDashLineShader',
15  'k3dCPVThickDashLineShader',
16  'k3dDepthShader',
17  'k3dCPVSolidShader',
18  'k3dIntegerNumericShader',
19  'k3dFloatNumericShader',
20  'k3dFloat2NumericShader',
21  'k3dFloat3NumericShader',
22  'k3dPointVectorShader']
dictionary rfm2.vp.pxr_light.STOCK_SHADERS_IDX = {name: eval('omr.MShaderManager.%s' % name) for name in STOCK_SHADERS}