Ah, duh on my part once again, I should really read your posts once, then another time, then a third time just to make sure I properly understand it ![]()
Thanks again for the knowledge!
Ah, duh on my part once again, I should really read your posts once, then another time, then a third time just to make sure I properly understand it ![]()
Thanks again for the knowledge!
Don’t worry - we are here to help you ![]()
Fell free to ask any questions that you need to clear for yourself.
Much appreciated Svetlozar, you’re a brilliant addition to the forum!
Caleb, you found my thread! I am still a bit fuzzy on this too.
I believe what we found out is that the “Max Depth” setting on the globals sets all materials to whatever you have set there (regardless if they actually need none at all). It is not a clamp in the sense that “you can go lower, but don’t exceed this value”, but it’s a “use this many bounces for all materials”. I believe is what we found out.
-Colin
Pretty sure I understand what you are saying, but does that explain the images? Why should the global 25 make any difference in the image if the material is already set to 25?
That is a good question. I’m still not 100% on the answer I got to this question honestly.
What dont you understand about it? There is a global max depth setting which overrides all of your materials.
Are you looking at those through a piece of glass which doesnt have the refraction depth set to 25? If you’ve got something with a value of 25 behind something with a value of 2, it will only use the 2.
Cubiclegangster is right , something is wrong with the image with Global Max Depth OFF , if all materials refraction depth is 25 I would expect to see image similar to the second one.
Is it possible to attach this scene ?
Being a new day with a somewhat refreshed brain I’ve found what is likely to be the problem - the mirror behind it - had a reflection depth of 5. So I guess the glasses were turning black because they were reflecting back and forth with the mirror. I’ll attach the scene anyway, in case you want to see.
In attached scene I’m leaving mirror depth at 5 (which causes problems) and global depth unchecked (which, when checked, fixes it).
Caleb
maxDepthProblem.zip (6.23 MB)
Right, so the result of this is that the Global Max Depth setting doesn’t really mean “maximum possible depth” - it actually forces everything to use the specified value. Is that right? In that case it should really be just called “Global Depth Override”.
Is this correct?
Alex - Correct.
Thanks mate. I think we could start some kind of Sticky thread with these things noted down. I’m going to start collecting your posts in a handy file, I think…! Running through your DMC thread now. Extremely useful, thanks.
I’m a bit paranoid about it yet, there’s still a few bits like dof and motion blur that I’d like to talk to the chaos guys about more to make sure I’m not misleading anyone. The nice thing is the approach is in some ways procedural, so it’d be possible to script a lot of it. Vlado’s talking about some extra sample information passes too which’ll make things even clearer.
Yes - this is correct, and it is written in our help documentation - but for some reason most of the people think that this option clamps depth value not that it overrides them.
Max depth - enables the user to limit globally the reflection/refraction depth. When this is unchecked, the depth is controlled locally by the materials/maps. When this option is checked, all materials and maps use the depth specified here.
I think it’s the naming of the feature Svetlozar - “Max” depth would seem to indicate setting a limit of the maximum ray depth can go to, Something like “ray depth override” might make more sense when read as a parameter in the vray ui?
Absolutely. It’s clear in the manual but the naming of this tool within Vray itself leads to confusion, as can be seen! I think it should be renamed.
Definitely. I couldn’t agree more.
sorry I feel like I’m nit picking but this topic has been quite interesting to me
“enables the user to limit globally the reflection/refraction depth”
limit - “a point or level beyond which something does not or may not extend or pass”
but the option is more of a hard set number.
I think that first line in the manual about max depth needs a bit of massaging to help better understand the option. Possibly, “enables the user to set a global reflection/refraction depth”
I agree it needs a change. I had no idea that it set the minumum as well as maximum until reading this thread. I think just removing the word “max” would help clarify that issue a lot.