User avatar
By Olivier Cugniet
#204643
Don't wanted to make another "i can't install" post but.... can't resolve my problem by myself.
I want to install the new (00....15) plug-in. Install works, but when i open Maya, some icons in the shelf don't show up, the script editor says " // Error: Parent attribute was not found. // " and when i hit render it says " // Error: Cannot find procedure "maxwellPostSceneLoad". // " or " // Error: Cannot find procedure "mayall". //".

- re-installed maxwell
- re-installed plug-in
- installed microsoft C++ patch

nothing changes :?

so....any help :oops:
User avatar
By Mihnea Balta
#204645
You have to uninstall the old mayall plug-in first. Renaming c:\mayall (or wherever you placed it) to anything else will be enough, but you can also clean up the environment variables that you had to set for it to work (MAYA_PLUG_IN_PATH, MAYA_SCRIPT_PATH, XBMLANGPATH, MAYALL_ROOT).

The new plug-in doesn't provide a shelf anymore, you have to remove that as well if the above steps don't do it automatically.
Last edited by Mihnea Balta on Thu Jan 11, 2007 1:43 pm, edited 1 time in total.
User avatar
By Olivier Cugniet
#204647
Mihnea Balta wrote:You have to uninstall the old mayall plug-in first. Renaming c:\mayall (or wherever you placed it) to anything else will be enough, but you can also clean up the environment variables that you had to set for it to work (MAYA_PLUG_IN_PATH, MAYA_SCRIPT_PATH, XBMLANGPATH, MAYALL_ROOT).

The new plug-in doesn't provide a shelf anymore, you have to remove that as well if the above steps don't do it automatically.
ok, did that first, but the shelf is still there. I'll look how to remove it.

thank's :D
User avatar
By Mihnea Balta
#204648
Click the arrow on the left of the shelves and select "Shelf Editor". The same utility can be found under Window->Settings/Preferences->Shelf Editor.
User avatar
By Olivier Cugniet
#204650
Mihnea Balta wrote:Click the arrow on the left of the shelves and select "Shelf Editor". The same utility can be found under Window->Settings/Preferences->Shelf Editor.

just did it befor reading your post :wink:

evrything works now. Was that shelf that got me wrong :P

thank's to all again :)
By samsam
#204704
Removed :)
Last edited by samsam on Fri Jan 12, 2007 12:30 am, edited 1 time in total.
User avatar
By mverta
#204705
Um, this installer is dirt simple and works just fine - have you tried actually using the plug-in to render things?

The warnings have to do with the auto-update option, and perhaps can't see through your firewall, etc. etc. but don't affect the plug-ins ability to function. I'm sure Mihnea will chime in here in a bit...

_Mike
By samsam
#204713
First systems specs :

Dell 470 - Dual Xeon 2.8's - 2 Gb RAM,Win XP SP2 (32bit), no internet connection - obviously, Maya 7.0 (not 7.01). 4 licences of maxwell all working up until today - been using maxwell since Beta.

Cleared out all my maxwell ENV settings, removed all the maxwell maya shelving, remove all the previous plugins and renderer. Scanned disks for errant files and manually checked everything has gone. No other plugins activatated apart from Mental Ray. Reinstalled the app and the 1.0.15 plugin.

Mike - yes if I load a pre 1.0.15 maxwell scene it renders. But obviously I cant use it to make new scenes as there's no shelf - no materials - no camera definition - no mxs export etc etc - (studio still works fine BTW not that I ever look at it)

Here's my mel script listener window when I attempt to activate the maya plugin -


editMenuUpdate MayaWindow|mainEditMenu;

waitCursor -state on; $ignoreUpdateCallback = true; catch( `loadPlugin "C:/Program Files/Alias/Maya7.0/bin/plug-ins/maxwell.mll"`); updatePluginUI( "17" ); $ignoreUpdateCallback = false; waitCursor -state off;

optionVar -exists maxwellRenderSwatch;

// Result: 0 //

maxwellRegister();

updateRendererUI;

optionVar -exists maxwellAutoCheck;

// Result: 0 //

optionVar -exists maxwellIgnoreVersion;

// Result: 0 //

updatePluginCallback();

maxwellAddRenderGlobalsTabs;

window -exists unifiedRenderGlobalsWindow;

// Result: 0 //

window -exists unifiedRenderGlobalsWindow;

// Result: 0 //

// Warning: Cannot resolve the address 'www.maxwellrender.com' //

maxwellPostSceneLoad();

maxwellAddNodeAttributes("maxwellRenderOptions", "maxwellRenderOptions");

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxFresnelColor`) catch(`addAttr -longName "mxFresnelColor" -at "float3" -usedAsColor -readable false lambert1`); undoInfo -swf on;

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxFresnelColorR`) catch(`addAttr -longName "mxFresnelColorR" -parent "mxFresnelColor" -at "float" -dv 1.0 lambert1`); undoInfo -swf on;

// Error: Parent attribute was not found. //

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxFresnelColorG`) catch(`addAttr -longName "mxFresnelColorG" -parent "mxFresnelColor" -at "float" -dv 1.0 lambert1`); undoInfo -swf on;

// Error: Parent attribute was not found. //

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxFresnelColorB`) catch(`addAttr -longName "mxFresnelColorB" -parent "mxFresnelColor" -at "float" -dv 1.0 lambert1`); undoInfo -swf on;

// Error: Parent attribute was not found. //

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxAbsorptionDist`) catch(`addAttr -longName "mxAbsorptionDist" -at "double" -dv 100 -min 0 -readable false lambert1`); undoInfo -swf on;

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxRoughness`) catch(`addAttr -longName "mxRoughness" -at "double" -dv 100 -min 0 -max 100 -readable false lambert1`); undoInfo -swf on;

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxDispersionEnabled`) catch(`addAttr -longName "mxDispersionEnabled" -at "bool" -dv 0 -readable false lambert1`); undoInfo -swf on;

undoInfo -swf off; if(`objExists lambert1` && !`attributeQuery -node lambert1 -exists mxAbbe`) catch(`addAttr -longName "mxAbbe" -at "double" -dv 50 -readable false lambert1`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxFstop`) catch(`addAttr -longName "mxFstop" -at "double" -dv 5.6 -min 1 -max 64 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxShutterSpeed`) catch(`addAttr -longName "mxShutterSpeed" -at "double" -dv 250 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxIso`) catch(`addAttr -longName "mxIso" -at "double" -dv 100 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxUseShutterAngle`) catch(`addAttr -longName "mxUseShutterAngle" -at "bool" -dv 0 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxShutterAngle`) catch(`addAttr -longName "mxShutterAngle" -at "double" -dv 180 -min 1 -max 360 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxDiaphragmType`) catch(`addAttr -longName "mxDiaphragmType" -at "enum" -enumName "Circular:Polygonal" -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxDiaphragmAngle`) catch(`addAttr -longName "mxDiaphragmAngle" -at "double" -dv 0 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxDiaphragmBlades`) catch(`addAttr -longName "mxDiaphragmBlades" -at "long" -dv 6 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxUseFocusDistance`) catch(`addAttr -longName "mxUseFocusDistance" -at "bool" -dv 0 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists perspShape` && !`attributeQuery -node perspShape -exists mxFocusDistance`) catch(`addAttr -longName "mxFocusDistance" -at "double" -dv 50 -min 0 -max 100000 -readable false perspShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxFstop`) catch(`addAttr -longName "mxFstop" -at "double" -dv 5.6 -min 1 -max 64 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxShutterSpeed`) catch(`addAttr -longName "mxShutterSpeed" -at "double" -dv 250 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxIso`) catch(`addAttr -longName "mxIso" -at "double" -dv 100 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxUseShutterAngle`) catch(`addAttr -longName "mxUseShutterAngle" -at "bool" -dv 0 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxShutterAngle`) catch(`addAttr -longName "mxShutterAngle" -at "double" -dv 180 -min 1 -max 360 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxDiaphragmType`) catch(`addAttr -longName "mxDiaphragmType" -at "enum" -enumName "Circular:Polygonal" -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxDiaphragmAngle`) catch(`addAttr -longName "mxDiaphragmAngle" -at "double" -dv 0 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxDiaphragmBlades`) catch(`addAttr -longName "mxDiaphragmBlades" -at "long" -dv 6 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxUseFocusDistance`) catch(`addAttr -longName "mxUseFocusDistance" -at "bool" -dv 0 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists topShape` && !`attributeQuery -node topShape -exists mxFocusDistance`) catch(`addAttr -longName "mxFocusDistance" -at "double" -dv 50 -min 0 -max 100000 -readable false topShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxFstop`) catch(`addAttr -longName "mxFstop" -at "double" -dv 5.6 -min 1 -max 64 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxShutterSpeed`) catch(`addAttr -longName "mxShutterSpeed" -at "double" -dv 250 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxIso`) catch(`addAttr -longName "mxIso" -at "double" -dv 100 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxUseShutterAngle`) catch(`addAttr -longName "mxUseShutterAngle" -at "bool" -dv 0 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxShutterAngle`) catch(`addAttr -longName "mxShutterAngle" -at "double" -dv 180 -min 1 -max 360 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxDiaphragmType`) catch(`addAttr -longName "mxDiaphragmType" -at "enum" -enumName "Circular:Polygonal" -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxDiaphragmAngle`) catch(`addAttr -longName "mxDiaphragmAngle" -at "double" -dv 0 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxDiaphragmBlades`) catch(`addAttr -longName "mxDiaphragmBlades" -at "long" -dv 6 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxUseFocusDistance`) catch(`addAttr -longName "mxUseFocusDistance" -at "bool" -dv 0 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists frontShape` && !`attributeQuery -node frontShape -exists mxFocusDistance`) catch(`addAttr -longName "mxFocusDistance" -at "double" -dv 50 -min 0 -max 100000 -readable false frontShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxFstop`) catch(`addAttr -longName "mxFstop" -at "double" -dv 5.6 -min 1 -max 64 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxShutterSpeed`) catch(`addAttr -longName "mxShutterSpeed" -at "double" -dv 250 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxIso`) catch(`addAttr -longName "mxIso" -at "double" -dv 100 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxUseShutterAngle`) catch(`addAttr -longName "mxUseShutterAngle" -at "bool" -dv 0 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxShutterAngle`) catch(`addAttr -longName "mxShutterAngle" -at "double" -dv 180 -min 1 -max 360 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxDiaphragmType`) catch(`addAttr -longName "mxDiaphragmType" -at "enum" -enumName "Circular:Polygonal" -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxDiaphragmAngle`) catch(`addAttr -longName "mxDiaphragmAngle" -at "double" -dv 0 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxDiaphragmBlades`) catch(`addAttr -longName "mxDiaphragmBlades" -at "long" -dv 6 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxUseFocusDistance`) catch(`addAttr -longName "mxUseFocusDistance" -at "bool" -dv 0 -readable false sideShape`); undoInfo -swf on;

undoInfo -swf off; if(`objExists sideShape` && !`attributeQuery -node sideShape -exists mxFocusDistance`) catch(`addAttr -longName "mxFocusDistance" -at "double" -dv 50 -min 0 -max 100000 -readable false sideShape`); undoInfo -swf on;

HfResetScriptJobs;

autoUpdateAttrEd;

statusLineUpdateInputField;

At a loss to know what to do now.
User avatar
By Mihnea Balta
#204720
The warning is just that - a warning. It means that it can't automatically check for updates at startup. If you don't have a (permanent) Internet connection on that machine, you can go Window -> Rendering Editors -> Maxwell -> Maxwell settings and turn off the "Check automatically" option. Aside from auto-updates, the rest of the plug-in works fine without Internet access.

The "parent attribute not found" errors are due to a Maya 7 bug. We've only seen this bug when running Maya 7 under XP64, it's the first time we're seeing it happen on a 32-bit OS. Since so far it has only showed up on XP64, and Maya 7 doesn't work under XP64 anyway (huge refresh problems, unusable UI), finding a workaround was not a priority. However, the only problem that results from this (aside from the annoying error messages) is that you won't be able to control the Reflectance 90 color used when translating native Maya shaders (Lambert, Phong etc.), it will always default to white. Everything else works and if you want to use Maxwell to its full power you should be using Maxwell materials anyway. We'll try to see if we can quickly find a way to work around the bug or at least suppress the error message.

This is not an update to the old (mayall) plug-in. It's a complete rewrite. The shelf is gone. The Maxwell camera is gone. Everything has been redesigned to fit Maya more closely. For a very good introduction, watch Mike Verta's movies, which can be found in the main "Maxwell Render" forum.

Exporting MXS files works - you do it from File -> Export, as is natural.

Materials can be created in the same way you create all other materials. Right click an object and select assign new material, pick it from the left-hand side list in Hypershade, pick it from a Multilister menu etc.

Custom Maxwell attributes have been added on the relevant Maya objects. For example, if you open a camera attribute editor window, you'll find a "Maxwell" rollup containing F-Stop, Shutter speed, ISO and other settings.

You didn't have to go through all that pain cleaning up stuff, simply deleting c:\mayall would have done the trick. I mentioned this at least 4 times in this forum so far (once in this thread, above).

I'm going to refrain from making comments on the use of the word "obviously".
By samsam
#204752
Mihnea - thank you for clarifying various points.

Some apologies on my part - I guess I was expecting the plugin to work the same way as before. When it threw up all those error messages I decided that it wasn't working.

Now I've re-racked my thinking and have approached the new maya plugin with fresh eyes, it all seems fine.

I'm not sure what you are trying to avoid saying at the end of your post, but if you are inferring by omission that I'm using cracks then the answer is no, it's all fully paid for & licenced. :) - I just don't trust leaving any of my work machines connected to the internet these days :(
User avatar
By Mihnea Balta
#204802
I was referring to this, but nevermind:
samsam wrote: Mike - yes if I load a pre 1.0.15 maxwell scene it renders. But obviously I cant use it to make new scenes as there's no shelf
User avatar
By Olivier Cugniet
#204804
well, just to say that the new plug-in is working fine on my system now, after this funky install problem. And this plug-in is GREAT ! i can now really imagine working and render directly from Maya, even with my poor Maya6.5 :wink: :lol:

thank's NL team :wink:
SS Pinto Bean

Hi Tommy, Great stuff - love it~! Thanks for pos[…]

Never No More Studio Lighting

Hello Mark! Very good tips about the camera setti[…]

Will there be a Maxwell Render 6 ?

https://community.sketchucation.com/category/49/wi[…]

Sadly, this lack of a response demonstrates a mori[…]