Ray Depth Help

General questions about Indigo, the scene format, rendering etc...
PhilBo
Posts: 87
Joined: Tue Oct 03, 2006 2:09 pm
Location: Michigan, USA

Ray Depth Help

Post by PhilBo » Fri Oct 13, 2006 2:55 am

I am rendering some glassware from my laboratory. I have black areas in my render that in other software indicate that I'm not shooting a large enough ray depth. In Yafray or Blender I have gotten these areas to look correctly by increasing the Ray depth, so I know it can be done with this model.

I have tried tweaking the <max_depth> parameter, but it doesn't appear to be changing anything. I started at 1000 and have tried 2000 all the way up to 10000.

Is there another parameter that I need to adjust at the same time? What am I missing?

Thanks for any help that can be given.

Phil

TjGk
Posts: 10
Joined: Sun Sep 17, 2006 8:00 am
Location: Rochester, NY
Contact:

Post by TjGk » Fri Oct 13, 2006 4:57 am

Indigo is unbiased, so there is no ray depth option. I think that some of your glassware may be intersecting the table it's on or something like that.

PhilBo
Posts: 87
Joined: Tue Oct 03, 2006 2:09 pm
Location: Michigan, USA

Post by PhilBo » Fri Oct 13, 2006 5:06 am

So what does the max depth parameter do then?

I have a render that I have been working on for a long time. It is a rack of glass panels that are all about 1/2 inch apart. There is a black square that shows up after the 6th panel or so because the depth was not set deep enough. I could not get it to go away with Blender, but after I increased the depth high enough, Yafray was finally able to get past the 6th plate of glass and go through to the end (15 panels of glass.)

I have tried to render this setup with Indigo, and I get the same artifact. If I move the camera so that I am not looking through all 15 panes, then there is no issue.

It just seems that the light isn't getting all the way through all the panes and is making it so that after a certain number, the rest are simply black.

PhilBo
Posts: 87
Joined: Tue Oct 03, 2006 2:09 pm
Location: Michigan, USA

Post by PhilBo » Fri Oct 13, 2006 7:06 am

I figured it out!

I disabled the bidirectional setting (using Blender -> Indigo script) and now it works perfectly.

If I had 7 very thin cubes upright spaced 1/4 inch apart, they were all clear. If I added number 8, it would render black.

Hope this helps someone who struggles with something similar in the future.

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Fri Oct 13, 2006 7:30 am

hi PhilBo

try to reenable bidir-pt and set "max_num_consec_rejections" up to "1000" in the infile.txt.
I make similar tests atm - i'll post them later

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Fri Oct 13, 2006 10:15 am

I have done some test with the max_num_consec_rejections
option and 2 mirrors:

Image
Image
Image
Image
Image

Anim gif:
Image

A question to nick: what exactly is the difference between
"max_num_consec_rejections" and "max_depth"?
they behave similar with this scene - but they do not the same.

User avatar
Kosmokrator
Posts: 1141
Joined: Sat Jul 29, 2006 11:52 am
Location: Greece-Athens

Post by Kosmokrator » Fri Oct 13, 2006 10:19 am

8) excellent test!!! 8)

thnx
1)Core i7 965XE stock CLOCK ,PSU:CHIEFTEC 850W
M/B ASUS P6T DELUXE,WATERCOOLING ZALMAN RESERATOR 2
MEMORY:6GB CORRSAIR @1600,Ati HD 4870x2,
MONITOR:LG 1950SQ,CASE:THERMALTAKE SOPRANO

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Fri Oct 13, 2006 10:58 am

which version was that? i was trying to pull off the same thing in .5 and i couldent get it to work (knowing me i could have easily faced the polly the wrong way but..)
Yes i know, my spelling sucks

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Fri Oct 13, 2006 11:01 am

indigo 0.6t4

mirror:

Code: Select all

    <material>
        <name>mirror</name>
        <phong>
            <fresnel_scale>1</fresnel_scale>
            <diffuse>1 1 1</diffuse>
            <specular>1 1 1</specular>
            <exponent>1000000</exponent>
        </phong>
    </material>

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Fri Oct 13, 2006 11:03 am

manitwo wrote:indigo 0.6t4

mirror:

Code: Select all

    <material>
        <name>mirror</name>
        <phong>
            <fresnel_scale>1</fresnel_scale>
            <diffuse>1 1 1</diffuse>
            <specular>1 1 1</specular>
            <exponent>1000000</exponent>
        </phong>
    </material>
thank you!
Yes i know, my spelling sucks

PhilBo
Posts: 87
Joined: Tue Oct 03, 2006 2:09 pm
Location: Michigan, USA

Post by PhilBo » Mon Oct 16, 2006 9:04 am

Thanks for the hard work and the mirror example. Unfortunately, it did not help my situation at all. It is exactly the same with 1000 or 10,000 max rejections.

Is there anything else that I should be changing in the material or in the scene to ensure that the camera can go through all 15 glass plates (besides turning off bidirectional?)

User avatar
Zom-B
1st Place 100
Posts: 4701
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Mon Oct 16, 2006 9:28 am

@ manitwo

nice test dude...

how about including this pictures together with some more detailed info
(If nick dropes some lines about your question) to the dokumentation?

Think about it :wink:
polygonmanufaktur.de

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Tue Oct 17, 2006 1:34 am

Yes i also thought about that.
Should i change something ?
If you think it's ok i'll rerender this pics (render all with the same
amount of time) for a better comparison.
Also ... if someone is interested in i would share this simple scene.

PhilBo
Posts: 87
Joined: Tue Oct 03, 2006 2:09 pm
Location: Michigan, USA

Post by PhilBo » Tue Oct 17, 2006 1:47 pm

Here is what I'm talking about.

Here is with Bidirectional on and 1000 max rejections
Image

Notice the black area in the middle?

Here is the same scene with 10,000 max rejections
Image

Notice that the black area didn't go away?

Here is the same scene with 1000 max rejections but with bidirectional set to false.
Image

Now the black areas in the middle are gone and the glass looks correct.

Can anyone shed light on this?

User avatar
eman7613
Posts: 597
Joined: Sat Sep 16, 2006 2:52 pm

Post by eman7613 » Tue Oct 17, 2006 5:42 pm

i could be wrong, but wouldent the first 3 examples be more corect in the real world? it seems taht you want something that is just transparent, not reflective.
Yes i know, my spelling sucks

Post Reply
19 posts

Who is online

Users browsing this forum: No registered users and 1 guest