Ray Depth Help
Ray Depth Help
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
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
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.
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.
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.
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.
- Kosmokrator
- Posts: 1141
- Joined: Sat Jul 29, 2006 11:52 am
- Location: Greece-Athens
indigo 0.6t4
mirror:
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!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>
Yes i know, my spelling sucks
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?)
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?)
Here is what I'm talking about.
Here is with Bidirectional on and 1000 max rejections

Notice the black area in the middle?
Here is the same scene with 10,000 max rejections

Notice that the black area didn't go away?
Here is the same scene with 1000 max rejections but with bidirectional set to false.

Now the black areas in the middle are gone and the glass looks correct.
Can anyone shed light on this?
Here is with Bidirectional on and 1000 max rejections

Notice the black area in the middle?
Here is the same scene with 10,000 max rejections

Notice that the black area didn't go away?
Here is the same scene with 1000 max rejections but with bidirectional set to false.

Now the black areas in the middle are gone and the glass looks correct.
Can anyone shed light on this?
Who is online
Users browsing this forum: No registered users and 1 guest