rfm2
22.0
A python-based rewrite of RenderMan for Maya
|
Classes | |
class | TxScriptJob |
Functions | |
def | manager |
def | show_help |
def | parse_maya_scene |
def | get_ext_list |
def | parse_new_maya_scene |
def | append_to_tx_list |
def | get_txmake_preset_names |
def | init |
def | cleanup |
def | show |
def | get_maya_prefs |
def | fix_node_name |
def | get_node_list |
def | get_texture_by_path |
def | invalidate_all_textures |
def | tex_done_closure |
def | register_prefs |
Variables | |
int | __qt_version__ = 5 |
__ui__ = None | |
__txmgr__ = None | |
dictionary | __scriptJobs__ = {} |
Maya adapter for the texture manager.
def rfm2.txmanager_maya.append_to_tx_list | ( | file_path_list | ) |
def rfm2.txmanager_maya.cleanup | ( | ) |
Cleanup when the plugin is un-loaded.
def rfm2.txmanager_maya.fix_node_name | ( | nm | ) |
def rfm2.txmanager_maya.get_ext_list | ( | ) |
def rfm2.txmanager_maya.get_maya_prefs | ( | ) |
Load user preference values from Maya storage and pass them to the active texture manager. Args: - txmgr (TxManager): pointer to the active texture manager.
def rfm2.txmanager_maya.get_node_list | ( | ) |
Returns the list of nodes in the scene that will be inspected for parameters that require texture conversion.
def rfm2.txmanager_maya.get_texture_by_path | ( | input_path, | |
nodeattr, | |||
ipr_mode = False , |
|||
do_dirty_check = True , |
|||
pre_expand = False |
|||
) |
Query the texture manager for a specific input path. Args: - plug (str): the node.attr plug containing the input_path. - input_path (str): The image file name referenced in the plug. - ipr_mode (bool): are we in IPR mode? - do_dirty_check (bool): if false, ignore the dirty check and just return the real texture path. Returns: - Fully qualified path with expanded tokens (all but _MAPID_ which will be \ resolved by the pattern).
def rfm2.txmanager_maya.get_txmake_preset_names | ( | ) |
Returns a list of the txmake preset names known by the txmanager
def rfm2.txmanager_maya.init | ( | ) |
Initialize the texture manager on startup so it may convert images in the background.
def rfm2.txmanager_maya.invalidate_all_textures | ( | ) |
Loop through all the textures in the texture manager and check if they are dirty. If they are, call invalidate texture.
def rfm2.txmanager_maya.manager | ( | ) |
Return the current texture manager instance.
def rfm2.txmanager_maya.parse_maya_scene | ( | ) |
Parse the maya scene to find all referenced textures.
def rfm2.txmanager_maya.parse_new_maya_scene | ( | ) |
def rfm2.txmanager_maya.register_prefs | ( | ) |
Register texture manager prefs in Maya.
def rfm2.txmanager_maya.show | ( | ) |
Opens the texture manager UI.
def rfm2.txmanager_maya.show_help | ( | url | ) |
Delegate help function to maya.
def rfm2.txmanager_maya.tex_done_closure | ( | nodeattr, | |
txfile | |||
) |
int rfm2.txmanager_maya.__qt_version__ = 5 |
dictionary rfm2.txmanager_maya.__scriptJobs__ = {} |
rfm2.txmanager_maya.__txmgr__ = None |
rfm2.txmanager_maya.__ui__ = None |