rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | Rect |
Variables | |
list | POS = [[-0.5, 0.5, 0.0], [0.5, 0.5, 0.0], [0.5, -0.5, 0.0], [-0.5, -0.5, 0.0]] |
list | UV = [[1.0, 0.0], [0.0, 0.0], [0.0, 1.0], [1.0, 1.0]] |
list | IDX = [0, 3, 1, 2] |
Generate a disk for viewport 2. Rect is texturable. json args: - width (float): rect width - height (float): rect height. - axis (int): 0=x, 1=y, 2=z - position (list): Rect position in local space.
list rfm2.vp.geo.rect.IDX = [0, 3, 1, 2] |
list rfm2.vp.geo.rect.POS = [[-0.5, 0.5, 0.0], [0.5, 0.5, 0.0], [0.5, -0.5, 0.0], [-0.5, -0.5, 0.0]] |
list rfm2.vp.geo.rect.UV = [[1.0, 0.0], [0.0, 0.0], [0.0, 1.0], [1.0, 1.0]] |