Page 1 of 1

Hidden to GI + hidden to camera-reflections-refractions.

Posted: Tue Mar 09, 2010 7:25 pm
by Fernando Tella
I'm posting this because I'm a bit confused about how "hidden to GI" and "hidden to camera + hidden to reflections/refractions" options are working.

Let's see some images about something similar to a pool scene where I removed two walls to see what happens under the water:

1.- A very subdivided plane with some noise applied with a water material; object hidden to GI:
Image

2.- A copy of the same plane with a material made to simulate caustics (no real caustics or refraction involved); this object is hidden to camera and to reflections/refractions:
Image

3.- Both objects together; hidden to GI object is located a bit above hidden to camera/reflections/refractions one; this is almost the result I expected (notice the real reflected caustics on the wall are missing):
Image

4.- This is the same scene as point 3 but hidden to GI object is under the other one; this is what I find odd as I expected the same as 3:
Image

Is this ok? Is it a bug?

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Tue Mar 09, 2010 10:49 pm
by tom
Fernando Tella wrote:Is this ok? Is it a bug?
No, not a bug. Because the object above (hidden to reflection/refraction) won't let the rays pass through. ;)

-edit: Sorry, not Hidden to GI, I meant "Hidden to reflection/refraction" as corrected above

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Wed Mar 10, 2010 11:22 am
by Fernando Tella
Well, it let's the rays go through in the first image.

The object hidden to camera has something like an AGS material applied; there are no refracted rays.

I'm pretty sure it didn't work like that in 1.7; I'm trying to use this method with MW2 materials: http://www.maxwellrender.com/forum/view ... s&start=30

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Wed Mar 10, 2010 12:22 pm
by Fernando Tella
Here go two images that will explain it more clearly:
Image

Image

Objects hidden to GI don't understand light going through layer clipping. Again, is it ok?

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Fri Mar 12, 2010 12:45 pm
by Fernando Tella
:?:

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Fri Mar 12, 2010 4:59 pm
by tom
Edited my first reply. ;) What about the setup of leaf scene?

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 15, 2010 1:43 pm
by Fernando Tella
This is the leaf material:
http://www.ftella.com/links/Leaf.zip

In the last image the leaf plane is vertical making a dihedral; half the plane is above the water plane level (hidden to GI) and half is below.
The rays that go through the clipped part cast shadows on the floor of the pool when they go through the water object (hidden to GI).

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 15, 2010 2:09 pm
by Fernando Tella
tom wrote:Edited my first reply.
The object hidden to reflection/refraction should not block anything as it is not refracting light at all; it is an opaque object and it has a caustics-like texture acting as a clipmap to let the light through. It has the same problem as the leaf, the clipping still generates shadows when the rays goes through this hidden to GI objects.

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 15, 2010 2:23 pm
by tom
Fernando Tella wrote:it is an opaque object and it has a caustics-like texture acting as a clipmap to let the light through
Well, but I didn't know this. So, you're right. Checking your scene ASAP ;) Thanks!

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 15, 2010 2:40 pm
by Fernando Tella
Thank you Tom
tom wrote:Well, but I didn't know this.
Hey! This is what I wrote above the second image:
a material made to simulate caustics (no real caustics or refraction involved)
That should be enough, right? :P I think I should have been more specific. :lol:

Do you want me to send you the scene? It's pretty easy to reproduce.

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 15, 2010 4:06 pm
by tom
Fernando Tella wrote:That should be enough, right? :P I think I should have been more specific. :lol:
You're right! Sometimes, it's not easy grabbing the details in between daily mess, sorry. :mrgreen:

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Mon Mar 29, 2010 10:49 pm
by tom
Fernando, this should be fixed in 2.0.3. Could you please confirm?

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Tue Mar 30, 2010 4:09 pm
by Fernando Tella
Yep!

Everything is ok now:

Image


Thanks a lot Tom (and the rest of the crew too of course).

Re: Hidden to GI + hidden to camera-reflections-refractions.

Posted: Tue Mar 30, 2010 7:02 pm
by tom
Thanks to you Fernando!