V-Ray multimatte with V-Ray blend material?

587 views
Skip to first unread message

Steve Davy

unread,
Feb 28, 2014, 5:16:59 PM2/28/14
to Maya Group
Is there a way to get the blend material and the multimatte pass to work together?

I have three layered basic materials going through a blend material. The top two have basic transparency mapping for some simple text on top of the base material.

Is there any way to get a multimatte pass that will give me mattes for these top two layers? Because the material ID is added to the SG group V-Ray is obviously only looking at the shading group for the blend material, not the individual shaders piped into it.

Or, is there a better way entirely to set something like this up in V-Ray?

matt estela

unread,
Feb 28, 2014, 6:00:54 PM2/28/14
to maya...@googlegroups.com
I've only been using vray for a couple of weeks, but could you use the vraytex element for this? 

Assuming you have maps or procedurals driving the text, and others for the material blend, run them all into a layered texture, use solid red/green/blue layers, drive each layers alpha with your maps to get what you need, connect that layered texture to your vraytex element?

--
You received this message because you are subscribed to the Google Groups "maya_he3d" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maya_he3d+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Steve Davy

unread,
Feb 28, 2014, 6:22:08 PM2/28/14
to Maya Group
Interesting idea Matt, will give it a shot... I assume you mean the extraTex render pass?


Date: Sat, 1 Mar 2014 10:00:54 +1100
Subject: Re: [maya_he3d] V-Ray multimatte with V-Ray blend material?
From: ma...@tokeru.com
To: maya...@googlegroups.com

Steve Davy

unread,
Feb 28, 2014, 6:54:02 PM2/28/14
to Maya Group
Doesn't seem to work, either as a material or a layered texture. I think this is something to do with the way the ExtraTex pass works, i.e. it's applied universally to the scene (which is great when rendering, say, the dirt map as an AO pass as it includes displacement etc.) But not so much for this.

I think the path of least resistance is another render pass.

But if anyone knows if there IS a way to do this I'm all ears. There's several people posted this question on the interwebs, none of them got an answer which makes me think you must workaround this.


Date: Sat, 1 Mar 2014 10:00:54 +1100
Subject: Re: [maya_he3d] V-Ray multimatte with V-Ray blend material?
From: ma...@tokeru.com
To: maya...@googlegroups.com

matt estela

unread,
Mar 1, 2014, 3:18:26 AM3/1/14
to maya...@googlegroups.com
It was a rainy afternoon here, so I had a play. You can get it via objectids, but not from the multimatte. Looks like a bug which vlado said they've fixed in their internal builds early last year, but I can't see it in the public trial. When I get to work on monday I'll see if its fixed in the daily builds.

Meanwhile, this guy has added it as a feature to his vray toolkit. Can't see it listed explicitly on the site, but in the vray forums he has a screenshot of it working.



30 day trial, 69 euro to buy, seems pretty good, has lots of other cool features.


matt estela

unread,
Mar 1, 2014, 3:25:47 AM3/1/14
to maya...@googlegroups.com
Oh, there's this script I found from rob nederhorst, you select your blend materials, and it'll create split out render elements for each input. It only does beauty splits though, not mattes.

matt estela

unread,
Mar 1, 2014, 3:35:41 AM3/1/14
to maya...@googlegroups.com
Ok, that feature is definitely in deex's vray arsenal:


"- automatic material ID (work with blend material) (nothing is created in your scene, all is created on the fly during rendering)"

still, it bugs me that its not built in... I'm gonna keep playing. :)



matt estela

unread,
Mar 1, 2014, 4:00:12 AM3/1/14
to maya...@googlegroups.com
AHA!!   Got it. Links, example scene here, on the looooong overdue update/overhaul of the maya wiki... anyone who wants to create an account and help me port content over from the old wiki appreciated!



Steve Davy

unread,
Mar 2, 2014, 3:48:09 PM3/2/14
to Maya Group
Just had a quick look over your Wiki Matt, thanks for putting it together. Couldn't agree with your comments about V-Ray versus MR more :)

FYI, there is a "Hide Render View" checkbox in V-Ray that stops the Maya render view window from popping up when you render a frame. Unfortunately, it doesn't always seem to work.

Personally, while there are some great things about the V-Ray frame buffer, I feel it's missing a few key features that the Maya native one has, including the ability to set test resolution and an easy drag and render region functionality. So I tend to use both windows all the time anyway (test res set in the Maya window carries over to the VFB).


From: ma...@tokeru.com
Date: Sat, 1 Mar 2014 20:00:12 +1100

Subject: Re: [maya_he3d] V-Ray multimatte with V-Ray blend material?

matt estela

unread,
Mar 2, 2014, 5:10:59 PM3/2/14
to maya...@googlegroups.com
Yeah I have that checked too, the renderview still pops up despite all my protests. No big deal. By sliding it offscreen so that only the menus is visible, that means I can do the things the VFB doesn't (as you say, drive the test res, set the snapshotted camera, and start IPR if I want). 

Having gotten used to the adjustable exposure/gamma/lut stuff working at Animal (we used houdini's mplay as our framebuffer), it was the first thing that gave me chest pains when I came back to vanilla maya. Those features alone mean I love vray to little bits.


SEQUENZ | Lars Gerstenmaier

unread,
Mar 3, 2014, 5:24:06 AM3/3/14
to maya...@googlegroups.com

Great! Thanks Matt. Quite useful for our current job!

Steve Davy

unread,
Mar 3, 2014, 11:08:15 PM3/3/14
to Maya Group
One thing I lurrrve about the VFB is that it doesn't lock up the Maya UI, so you can be rendering into it and still interact with Maya. That alone is worth the price of admission...


From: ma...@tokeru.com
Date: Mon, 3 Mar 2014 09:10:59 +1100
Reply all
Reply to author
Forward
0 new messages