Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography


Featured Threads
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(18 replies)
  Jokes!
(499 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  The Life of a Sea Turtle - Tutorial by mrgrotey
(146 replies)
  So what are you working on? =)
(4917 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  spam alert!!!
(4592 replies)
  three cheers to maxforums...
(219 replies)
  101 Things you didnt know in Max...
(197 replies)
  A Face tutorial from MDB101 :D
(95 replies)
  Maxforums.org Members Gallery
(516 replies)
  SON OF POST YOURSELF
(634 replies)
  Dub's Maxscript Tutorial Index
(119 replies)


Vray - Matte/Shadow shadows and reflections pass
show user profile  xandos
Hi guys, I have an environment which I have already rendered out, and want to composite a character over the op. The tricky bit is that the floor is a bit reflective, so it would be great if in the character pass I could include shadows AND reflections. I have tried using the VRayMtlWrapper, changing to matte surface, playing with Alpha contribution (reading suggested -1.0) and checking shadows etc. The problem is, that it seems to only have an alpha channel for shadows, and reflections are ignored? ie you only get reflections where there are shadows...

Could anyone suggest the best way for me to go about this?

Many thanks for reading!

Here's a picture illustrating the problem, basically I wan the reflection to have some sort of alpha...

read 7621 times
7/5/2010 1:00:51 PM (last edit: 7/5/2010 1:29:46 PM)
show user profile  xandos
Just in case anyone needed to know how to do this, I wound up doing it as a render layer without alpha, just white materials to pick up the shadows and reflections, and then composite it on as a multiply layer..
read 7591 times
7/6/2010 5:32:43 PM (last edit: 7/6/2010 5:32:43 PM)
show user profile  Joey Parker Jr.
Good solution. This has been an issue with VRay all along.
 photo 2012-sig_small3_zpsbd114b69.png

read 7582 times
7/6/2010 6:29:30 PM (last edit: 7/6/2010 6:29:30 PM)
show user profile  Clemente
Just brainstorming... if you're doing a still image (not an animation) you could render your character or object that you want a reflection of and create the reflection in Photoshop. You can do this by duplicating the character layer, mirroring it (over the horizontal) and then adding a gradient mask and lowering the opacity...
read 7567 times
7/6/2010 10:28:52 PM (last edit: 7/6/2010 10:28:52 PM)
show user profile  Bolteon
worst idea ever.


---


i dont see this so much as a problem with vray but rather people just being lazy about making another pass (no you should never combine shadow and reflection passes together as a single render unless your doing some good trickery with render elements).

just turn the reflective objects to matte objects, and render against black. then comp.



-Marko Mandaric


-------------------------------------------
. : D o t 3 S t u d i o s : .
-------------------------------------------

read 7563 times
7/6/2010 10:36:41 PM (last edit: 7/6/2010 10:41:21 PM)
show user profile  Joey Parker Jr.
"just turn the reflective objects to matte objects, and render against black. then comp."

OK How do I save just the reflection from this render so that someone can drop it into another scene
with a different color bkgd and have it look real?

 photo 2012-sig_small3_zpsbd114b69.png

read 7557 times
7/6/2010 11:01:16 PM (last edit: 7/6/2010 11:01:16 PM)
show user profile  Bolteon
that would go something like this:


render the bg (main object set hidden)
render the shadow (object not visible to camera, bg set to matte object with alpha of -1 with shadows on; the shadow is your alpha)
render reflection pass (bg as a matte object [not shadow and alpha] with the main object invisible to camera but visible to reflection)
render the object (bg set to matte object or invisible to camera if it doesn't clip the main object)

always remember to render on black no matter what the pass it (as in the env color should be set to black in max)

then your comp goes (top to bottom):


main object
shadow
reflection
bg



boooyaaa. that's how the big boys do it.



-Marko Mandaric


-------------------------------------------
. : D o t 3 S t u d i o s : .
-------------------------------------------

read 7549 times
7/6/2010 11:30:16 PM (last edit: 7/6/2010 11:35:49 PM)
show user profile  Joey Parker Jr.
Thanks! I shall give that a try.
 photo 2012-sig_small3_zpsbd114b69.png

read 7546 times
7/6/2010 11:33:38 PM (last edit: 7/6/2010 11:33:38 PM)
show user profile  xandos
Thanks Bolteon, I guess I was being lazy trying to get both in one pass (It's in stereo so every pass is two passes anyway)... It worked but it's not that clean, yours does indeed seem like the way to do it...
read 7531 times
7/7/2010 1:59:28 PM (last edit: 7/7/2010 1:59:28 PM)
show user profile  del3d
Sticky?
read 7527 times
7/7/2010 2:18:27 PM (last edit: 7/7/2010 2:18:27 PM)
show user profile  Clemente
Wow... I nearly lost some of my forehead as the solution wizzed over my head at top speed. You guys are wicked smaaat (as they say in Good Will Hunting).
read 7496 times
7/9/2010 4:27:15 AM (last edit: 7/9/2010 4:27:15 AM)
show user profile  Joey Parker Jr.
Thanks again to Bolts. Worked out perfectly.
 photo 2012-sig_small3_zpsbd114b69.png

read 7394 times
9/8/2010 12:22:03 AM (last edit: 9/8/2010 12:22:03 AM)
show user profile  Bolteon
cheers, glad you nailed it.



-Marko Mandaric


-------------------------------------------
. : D o t 3 S t u d i o s : .
-------------------------------------------

read 7381 times
9/8/2010 1:53:09 AM (last edit: 9/8/2010 1:53:09 AM)
#Maxforums IRC
Open chat window


Support Maxforums.org