Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Older scenes may have issues with migration, areas of note are the PxrRamp, subdivision settings, and AOVs. The following python script can correct these or they can be run individually depending on your scene's needs or included features from RenderMan 21. We do not run this script on import to avoid performance problems loading large or complex scenes. Instead these are provided to the user to use as needed.

Code Block
import rfm2.utils.scene_updater
rfm2.utils.scene_updater.update_scene()

...

 

Individual Scripts

Older Maya scenes that had PxrRamp nodes in it may break. To fix, you can run this python script in the script editor – 

Code Block
import rfm2.utils.scene_updater
rfm2.utils.scene_updater.update_pxrramp_nodes()

Older scenes may have incorrect geometry settings and can be updated specifically using the below python script – 

Code Block
import rfm2.utils.scene_updater
rfm2.utils.scene_updater.convert_subdivs()

Older scenes with AOVs may fail to show in the new UI, the following script can solve this issue – 

Code Block
import rfm2.utils.scene_updater
rfm2.utils.scene_updater.convert_displays()