rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
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 |
Implement various functions to upgrade a scene to rfm 22.
def rfm2.utils.scene_updater.convert_displays | ( | log = rfm_log().debug | ) |
Convert displays and AOVs from previous RenderMan for Maya.
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.
def rfm2.utils.scene_updater.delete_old_rman_nodes | ( | log = rfm_log().debug | ) |
Delete old RenderMan 21.x nodes from scene
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.
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.
def rfm2.utils.scene_updater.update_scene | ( | log = rfm_log().debug | ) |
Run all updating functions on the current scene.
list rfm2.utils.scene_updater.NODE_NAMES_21 |
tuple rfm2.utils.scene_updater.WHITE = (1.0, 1.0, 1.0) |