PDA

View Full Version : Mix20Layer not rendering


anderc4
09-22-2009, 02:50 AM
Hello, I am trying to do the trick of using a blinns reflectivity on an SSS shader, and the mix20layer was recommended. But for some reason it won't render, when I hit the render button nothing happens not even a warning... hmm I tried using the JS MultiLayers node as well with the same effect. Does anyone have a good solution for this trick not using these nodes, or know what my problem could be??? Thanks for your help!

Also I'm using Maya 2009 (I'm not sure if this is important info or not because the Mix20Layer is kind of old)

poorawaste
09-22-2009, 04:27 AM
You can try using the mib_color_mix. Or you can use this:
http://www.djx.com.au/blog/2007/11/21/exploring-mentalray-phenomena/

anderc4
09-22-2009, 04:56 AM
hmm I'm not sure that will work, the mib_color_mix doesn't have a screen option which is what I need to get the reflectivity of the blinn. Also the SSS doesn't seem to carry through that node. Any other suggestions?

ph2003
09-22-2009, 05:14 AM
try use mix8layer instead.
mix20layer doesnt work for me too but mix8layer did on 2009.

hope it helps.

anderc4
09-22-2009, 05:45 AM
Do you have a link? I can't seem to find a download for it... D:


edit: nvm found it haha

http://www.creativecrash.com/maya/downloads/shaders/c/mix8-layer-for-mentalray

anderc4
09-22-2009, 06:05 AM
Alright so I just got this error in the script editor. At least I got an error this time haha. I'm pretty sure I installed it correctly or am I missing something?

// Warning: (Mayatomr.Custom) : /Applications/Autodesk/maya2009/Maya.app/Contents/mentalray/include/mix8layer.mi: no shader library specified nor found in search path, expect manual loading //


Also does it matter if I'm on a mac?

tharrell
09-22-2009, 07:03 AM
If you're on a Mac, you'll need to get the Universal .so that I compiled for Mix20 from Pixero's site. It's in a big .zip halfway down the page. Look for my name and dig out the appropriate .so for either mix20 or JS_MultiLayers.

http://www.pixero.com/downloads_mr.html

The .so files in most of his shader .zip packages are still powerPC only.

Mental Ray shaders are not only picky about platform, but also flavor (32/64 bit, ppc vs intel chips etc)

All things being equal, I strongly recommend going for JS_MultiLayers or the phenomena listed above. You might find yourself in a corner years down the road not being able to recompile mix8 or mix20. I love the ctrl.shaders to death, but I live in a cross-platform world. No source code means I won't touch 'em for real work, particularly if you ever need to render on a Mac.

JS_MultiLayers is almost identical to Mix20, and the source is freely available to pick apart. In addition, it's really not hard to learn to compile the stuff on your own if you're in a pinch.

But it's a tough lesson... if you're working cross-platform don't ever assume that a shader you're working with is available or works the same on other platforms. Mac and Linux 64 builds are still pretty rare, and Mac 64-bit builds will be even more rare once Autodesk gets around to 64-bit support.

--T

SreckoM
09-22-2009, 08:20 AM
Do you use 64bit or 32 bit Maya, you must use compatible shader version also. I am using mix8layer 64 bit version (only 64 bit available) grabbed form mymentalray.com. It works on Maya 2010 without problems.

anderc4
09-22-2009, 04:40 PM
Yeah! Thanks a bunch for the help, the Universal.so works fine! I still get that error in the script editor, but hey it renders fine so I'm not worried. Thanks again! :D

CGTalk Moderation
09-22-2009, 04:40 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.