FORUMS: list search recent posts

Use background issue

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Ben van Hamelen
Use background issue
on Aug 18, 2011 at 8:40:29 am

Hi there,

I ran into a bit of trouble. I've set up a fairly simple scene of a lightbulb shot to pieces in Maya 2012. For compositing purposes, I put it on a plane with a use background shader (every value of the basic attributes except shadow matte turned all the way to 0) applied to it. Besides that I have a camera set up with the environment set to pure white. FG & raytracing on, rgba output, IBL set up, everything.

But whatever I try, I still get black reflections on my lightbulb. Ugly ones.

Without alpha: http://i55.tinypic.com/fb41u.jpg (very obvious)
With alpha: http://i54.tinypic.com/2u56zac.png (less obvious on the glass, but still very obvious on the metal)

What am I missing here? This can't be that hard to get right without doing so in post?

Regards,

Ben van H.

http://www.fireinthesole.com/


Return to posts index

Steve Sayer
Re: Use background issue
on Aug 18, 2011 at 2:29:12 pm

Unfortunately, the manual has this to say:
When raytracing refractions through a useBackground shader, artifacts may appear on the useBackground shaded surface. To workaround, set the “refractions” attribute of the refracted object’s shader to off.
So it looks like you might have to separate shadows from refractions, and/or choose a method other than the Use Background Shader. Note that with any shader, you can map the 'matte opacity' attribute to build your own alpha channel. Still, the separate render passes might be less trouble.

Hope that helps.

-Steve


Return to posts index

Ben van Hamelen
Re: Use background issue
on Aug 19, 2011 at 8:06:17 am

Alright, not as easy a solution as I hoped for, but hey, it's Maya ;)

Thanks for your reply, gonna play around some more!

Regards,

Ben van H.

http://www.fireinthesole.com/


Return to posts index


Steve Sayer
Re: Use background issue
on Aug 19, 2011 at 2:06:54 pm

Yeah, it's a bit disappointing.

I'd actually started writing a response about how you just had to increase the number of reflection and refraction rays, but then figured I'd better actually test it... was surprised to discover the same limitation you've run into.

I wonder if mental ray might be a solution...?

Sorry I couldn't be of more help.

-Steve


Return to posts index

Ben van Hamelen
Re: Use background issue
on Aug 19, 2011 at 3:10:18 pm

I found somekind of workaround. I wanted my white environment to show on my model, yet still have shadows. So I used the same plane and the same use background shader.

Then I went into the plane's render stats and unchecked the 'visible in reflections' and 'visible in refractions' boxes. Now it's standing in 'the eternal white' having a shadow, but not showing the ground it stands on.

It's not 100% realistic, but it works for this project: http://i55.tinypic.com/p3wia.png

PS: I rendered in MR both with the old and the new method.

http://www.fireinthesole.com/


Return to posts index

Steve Sayer
Re: Use background issue
on Aug 19, 2011 at 4:05:01 pm

Oh, good call! Sorry, I wish I'd thought of that.

Nice render.

-Steve


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]