Hi, I have a problem.
If I delete the 4 mental ray nodes in an easy scene this way works for me.
miDefaultFramebuffer
mentalrayGlobals
mentalrayItemsList
miDefaultOptions
But I have a character with xgen hair, (with this I make never any render scene) if I delete the 4 mental ray nodes, maya 2017 still say me the same error messages. After I started 1 by 1 delete the nodes, and I notices if I delete some xgen nodes the error messages disappear.
for example:
expression2
xgmr:xgen_geo1
If I delete "expression2" and keep "xgmr:xgen_geo1" error messages disappear.
If I delete "xgmr:xgen_geo1" and keep "expression2" error messages disappear.
This is very weird...
But I think this node need for xgen and I not see any mental ray connection...
The script editor:
requires -nodeType "mentalrayFramebuffer" -nodeType "mentalrayOptions" -nodeType "mentalrayGlobals" -nodeType "mentalrayItemsList" -nodeType "xgen_geo" -dataType "byteArray" "Mayatomr" "2016.0 - 3.13.1.10 ";
# mental ray for Maya 2017
// mental ray for Maya: using startup file C:/Program Files/NVIDIA Corporation/mentalray 3.14 for Maya 2017//maya.rayrc.
# mental ray for Maya: setup
# mental ray for Maya: initialize
# Error: line 1: initializePlugin function failed (Mayatomr) #
requires -nodeType "xgmPalette" -nodeType "xgmDescription" -nodeType "xgmMakeGuide" -nodeType "xgmSubdPatch" -nodeType "xgmSplineGuide" -dataType "xgmGuideData" -dataType "igmDescriptionData" "xgenToolkit" "1.0";
// Warning: file: C:\Users\ANDOR\Documents\maya\2017\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'MASH_Audio.filename' is invalid or is not designated 'usedAsFilename'. //
// Warning: file: C:\Users\ANDOR\Documents\maya\2017\prefs\filePathEditorRegistryPrefs.mel line 9: filePathEditor: Attribute 'svgToPoly.svgFilepath' is invalid or is not designated 'usedAsFilename'. //
requires "stereoCamera" "10.0";
updateRenderOverride;
// Warning: line 0: Unrecognized node type for node 'mentalrayItemsList'; preserving node information during this session. //
// Warning: line 0: Unrecognized node type for node 'mentalrayGlobals'; preserving node information during this session. //
// Warning: line 0: Unrecognized node type for node 'miDefaultOptions'; preserving node information during this session. //
// Warning: line 0: Unrecognized node type for node 'miDefaultFramebuffer'; preserving node information during this session. //
// Warning: line 0: Unrecognized node type for node 'xgmr:xgen_geo2'; preserving node information during this session. //
// Warning: line 0: Unrecognized node type for node 'xgmr:xgen_geo1'; preserving node information during this session. //
// Error: line 0: The transform '|Lady_Hair_collection|Lady_Eyebrow_description|xgmr:geoshader' has no 'migs' attribute. //
// Error: line 0: The transform '|Lady_Hair_collection|Lady_Eyebrow_description|xgmr:geoshader' has no 'migs' attribute. //
// Error: line 0: The transform '|Lady_Hair_collection|Lady_Eyelash_description|xgmr:geoshader' has no 'migs' attribute. //
// Error: line 0: The transform '|Lady_Hair_collection|Lady_Eyelash_description|xgmr:geoshader' has no 'migs' attribute. //
// Warning: line 1997: The default image may not be modified. Use the -i/image flag instead. //
import maya.app.general.mentalRayNotAvailableDialog as mrnad ; mrnad.show()
// Error: line 1: (mental ray) : couldn't initialize mental ray due to an authentication error. License expired? //
// Warning: line 0: Errors have occurred while reading this scene that may result in data loss.
Output:
mental ray for Maya 2017
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
V2Renderer : OGS WARNING: param types don't match: cosinePower 0
This scene made in Maya 2016, so how could I rid off mental ray from this? (although I never used mental ray 🙂 )