rfm2  22.0
A python-based rewrite of RenderMan for Maya
rfm2.utils.scene_updater Namespace Reference

Functions

def update_pxrramp_nodes (log=rfm_log().debug)
 
def convert_subdivs (log=rfm_log().debug)
 
def convert_displays (log=rfm_log().debug)
 
def delete_old_rman_nodes (log=rfm_log().debug)
 
def update_scene (log=rfm_log().debug)
 
def rman_needs_update ()
 

Variables

tuple WHITE = (1.0, 1.0, 1.0)
 
list NODE_NAMES_21
 

Detailed Description

Implement various functions to upgrade a scene to rfm 22.

Function Documentation

◆ convert_displays()

def rfm2.utils.scene_updater.convert_displays (   log = rfm_log().debug)
Convert displays and AOVs from previous RenderMan for Maya.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ convert_subdivs()

def rfm2.utils.scene_updater.convert_subdivs (   log = rfm_log().debug)
Search scene for polygons and convert old RenderMan subdiv attributes
to the new subdiv attributes.
+ Here is the caller graph for this function:

◆ delete_old_rman_nodes()

def rfm2.utils.scene_updater.delete_old_rman_nodes (   log = rfm_log().debug)
Delete old RenderMan 21.x nodes from scene
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rman_needs_update()

def rfm2.utils.scene_updater.rman_needs_update ( )
Check if the scene needs to be migrated from 21.x to 22.x and runs the
migration functions if not in batch mode.
+ Here is the call graph for this function:

◆ update_pxrramp_nodes()

def rfm2.utils.scene_updater.update_pxrramp_nodes (   log = rfm_log().debug)
Search scene for PxrRamp nodes and update them to use
the new colorRamp parameters.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update_scene()

def rfm2.utils.scene_updater.update_scene (   log = rfm_log().debug)
Run all updating functions on the current scene.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ NODE_NAMES_21

list rfm2.utils.scene_updater.NODE_NAMES_21
Initial value:
1 = ['renderManRISGlobals',
2  'rmanBakeGlobals',
3  'rmanFinalGlobals',
4  'rmanFinalOutputGlobals',
5  'rmanRerenderRISGlobals',
6  'rmanRerenderRISOutputGlobals']

◆ WHITE

tuple rfm2.utils.scene_updater.WHITE = (1.0, 1.0, 1.0)