-
Notifications
You must be signed in to change notification settings - Fork 1
Home
haggi edited this page Jan 25, 2016
·
14 revisions
Overview of a renderer implementation: Look here.
Overview of the rendering procedures in mayaToCommon and related plugins:
First the plugin (e.g. mayatolux.mll) is loaded by the user. Then the plugin main procedure is executed:
- render nodes e.g. luxGlobals are loaded
- shader nodes are registered including their override nodes
- some globals are initialized
- the swatches renderer is registered
- for Maya2016 and up the new material preview renderer is registered (material preview page).
- the renderer is registered with the help of a python script
Then the plugin is loaded and waits for user actions. Normally we have three default situations where the plugin starts to work if:
- a shader swatch needs to be rendered
- a Maya2016 and up material preview needs to be calculated
- a UI/IPR/batch rendering is triggered
Swtach and material preview are automatically called by maya itself, the UI/IPR etc process is triggered by a click on the buttons in the render windows. The procedures which will be called are defined in the renderer registration python script.