Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Reflections, only in certain objects (https://simplymaya.com/forum/showthread.php?t=24870)

mrSimon 31-01-2007 09:03 AM

Reflections, only in certain objects
 
I have a sphere that I'd like to be visible in reflections of certain objects, but not others.

How can I configure this?

j5ive 31-01-2007 09:07 AM

Make the none reflecting objects lamberts.

mrSimon 31-01-2007 09:10 AM

Quote:

Originally posted by j5ive
Make the none reflecting objects lamberts.
I cant do that. The object I want to hide from the reflection is an IBL sphere.

It is being used to light everything else, and reflections are displayed through them. I want to disable it for mirrors and reflective floors, so I can composite everything together in After Effects.

j5ive 31-01-2007 09:13 AM

You can turn off it's visiblity under the render attributes then I think that should do it.

mrSimon 31-01-2007 09:13 AM

Quote:

Originally posted by j5ive
You can turn off it's visiblity under the render attributes then I think that should do it.
I have already done this so the object is not rendered unless its in a reflection.

Disabling the reflection option would also disable this for ALL objects though, and I only want to do this for my 'mirror' cube.

I am looking for some kind of 'per object reflection relationship editor'

mrSimon 31-01-2007 09:29 AM

Any idea anybody, or is this just not possible?

To clarify, my scene is like this:

IBL Sphere
Mirror
Charecter

And reflections

WANT Charecter -> IBL Sphere
DONT WANT Mirror -> IBL Sphere
WANT Mirror -> Charecter -> IBL Sphere

Radical Edward 31-01-2007 10:33 AM

you might be able to do it with render layers, I'm just thinking how....

Dann 31-01-2007 10:51 AM

When you say IBL sphere, what ar you referring to? Did you put a shader on a sphere, or are you using true IBL in the render global settings? If it's just a textured sphere, then you should haev no problem doing this with render layers, and setting layer overrides for the reflections.

mrSimon 31-01-2007 10:55 AM

Quote:

Originally posted by Dann
When you say IBL sphere, what ar you referring to? Did you put a shader on a sphere, or are you using true IBL in the render global settings? If it's just a textured sphere, then you should haev no problem doing this with render layers, and setting layer overrides for the reflections.
I was using a sphere that emits photons, but now I've switched to the in-built IBL functionality, and I'm getting much better results.

Theres still something I need to figure out though, and thats how to get a 'reflection mask'. I'll have a search in the forum archives, see if its been brought up before.

And might I just say, Dann, you are god.

EDIT: Cant find anything about render masks..
I just need to produce a black and white image that displays where a reflection is for use in compositing software.

Dann 31-01-2007 11:02 AM

If you create a render layer with a useBackground shader as a material override, turn off shadowing on the shader and make sure that shader's reflections are on, it will render only the reflections with alpha channels. That might be what you're asking for, but I'm not sure.

FYI... flattery will you you everywhere

mrSimon 31-01-2007 11:12 AM

So far so good, but I'm getting quite large soft areas around the edges of my cubes. Whats going on?

http://img386.imageshack.us/img386/6506/helpsf8.jpg

mrSimon 31-01-2007 12:02 PM

Regarding the passes, I got round this by rendering them using Maya Software, and seperate 'Directional lights'.

Much quicker and simpler.


All times are GMT. The time now is 09:58 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018