# Max Depth setting

**URL:** <https://forums.chaos.com/t/max-depth-setting/44213>\
**Category:** Issues\
**Created:** [February 13, 2013, 9:47pm UTC](https://forums.chaos.com/t/max-depth-setting/44213 "2013-02-13T21:47:59Z")\
**Posts on this page:** 14\
**Page:** 3

<div class="post-metadata">

**Author:** ![zeronovestudio](https://avatars.discourse-cdn.com/v4/letter/z/e95f7d/32.png) [@zeronovestudio](https://forums.chaos.com/u/zeronovestudio)\
**Post date:** [March 7, 2013, 5:50pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/41 "2013-03-07T17:50:14Z")

</div>

> [@Simulating atmospheric scattering](https://forums.chaos.com/t/simulating-atmospheric-scattering/40687/3):
>
> 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”

totally agree, for me is the word “limit” that drove us on the wrong way

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [March 8, 2013, 11:58am UTC](https://forums.chaos.com/t/max-depth-setting/44213/42 "2013-03-08T11:58:46Z")

</div>

Thank you very much for your feedback guys.  
I’ll inform our Devs Team about your request.

---

<div class="post-metadata">

**Author:** ![svetlozar.draganov](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/svetlozar.draganov/32/53004_2.png) [@svetlozar.draganov](https://forums.chaos.com/u/svetlozar.draganov)\
**Post date:** [March 18, 2013, 7:55am UTC](https://forums.chaos.com/t/max-depth-setting/44213/43 "2013-03-18T07:55:44Z")

</div>

Hello guys,

I just want to inform you that “Max Depth” parameter name is changed to “Override Depth”.  
Thank you very much for your feedback.

---

<div class="post-metadata">

**Author:** ![alexyork](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/alexyork/32/271382_2.png) [@alexyork](https://forums.chaos.com/u/alexyork)\
**Post date:** [March 18, 2013, 9:38am UTC](https://forums.chaos.com/t/max-depth-setting/44213/44 "2013-03-18T09:38:52Z")

</div>

> [@svetlozar\_draganov](#):
>
> Hello guys,
> 
> I just want to inform you that “Max Depth” parameter name is changed to “Override Depth”.  
> Thank you very much for your feedback.

Brilliant as always. Frankly this is why we’ve moved over from MR to VRay. Issues like this get fixed so quickly.

---

<div class="post-metadata">

**Author:** ![bigbossfr](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bigbossfr/32/50480_2.png) [@bigbossfr](https://forums.chaos.com/u/bigbossfr)\
**Post date:** [March 18, 2013, 10:42am UTC](https://forums.chaos.com/t/max-depth-setting/44213/45 "2013-03-18T10:42:46Z")

</div>

> [@svetlozar\_draganov](#):
>
> Hello guys,
> 
> I just want to inform you that “Max Depth” parameter name is changed to “Override Depth”.  
> Thank you very much for your feedback.

Hi,  
And it is possible to have a global “clamp depth” please ? (i am on Maya)  
Like :  
- reflection clamp depth  
- refraction clamp depth

?

Thanks

---

<div class="post-metadata">

**Author:** ![tashko.zashev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/tashko.zashev/32/275280_2.png) [@tashko.zashev](https://forums.chaos.com/u/tashko.zashev)\
**Post date:** [March 18, 2013, 12:26pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/46 "2013-03-18T12:26:44Z")

</div>

Hi Bigbossfr,

There is the same option for V-Ray for Maya in “Global switches” - Global max depth  
Or you probably mean the “Cutoff threshold” option for the V-Ray materials?

---

<div class="post-metadata">

**Author:** ![Dariusz\_Makowski\_Dadal](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dariusz\_Makowski\_Dadal](https://forums.chaos.com/u/Dariusz_Makowski_Dadal)\
**Post date:** [March 18, 2013, 2:18pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/47 "2013-03-18T14:18:50Z")

</div>

> [@bigbossfr](#):
>
> Hi,  
> And it is possible to have a global “clamp depth” please ? (i am on Maya)  
> Like :  
> - reflection clamp depth  
> - refraction clamp depth
> 
> ?
> 
> Thanks

+1 on that request !

Separate refl/refr control… and if I set it to 0… please make it just render black. Not like MR renders it.. just ignores the object and renders whats behind it… or let us chose if we want to see through or get black object(or the diffuse color)

Also would a Specular depth make any sense? I would not mind getting more control over that parameter too…

Thanks, bye.

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 18, 2013, 3:09pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/48 "2013-03-18T15:09:48Z")

</div>

Specular depth? Is specular not just a kind of fake that goes along with reflection passed a certain point? It’s more like a focussed diffuse more so than a raytraced reflection so is depth considered at all?

---

<div class="post-metadata">

**Author:** ![bigbossfr](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/bigbossfr/32/50480_2.png) [@bigbossfr](https://forums.chaos.com/u/bigbossfr)\
**Post date:** [March 18, 2013, 3:15pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/49 "2013-03-18T15:15:48Z")

</div>

> [@tashko.zashev](#):
>
> Hi Bigbossfr,
> 
> There is the same option for V-Ray for Maya in “Global switches” - Global max depth  
> Or you probably mean the “Cutoff threshold” option for the V-Ray materials?

In Maya, we have a “Max Depth” , but it is like 3dsMax, it is an “Override Depth”.  
I want to have 4 more features in render global :  
- reflection clamp depth  
- refraction clamp depth  
- gi clamp depth  
- shadow clamp depth

Something where we can “clamp/limit” the depth of reflection/refraction/gi/shadows globally (for speed).

Imagine we have 3 materials :  
1) One with reflection depth to 10  
2) One with reflection depth to 5  
3) One with reflection depth to 2

If i set my “reflection clamp depth” to 5, for the final render, i will have :  
1) Depth to 5  
2) Depth to 5  
3) Depth to 2

My render will be faster.

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 18, 2013, 3:25pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/50 "2013-03-18T15:25:16Z")

</div>

I’ll definitely weigh in for all the refraction and shadow depth!

On the GI clamp depth Big boss (Also what’s your real name - I feel weird calling you big boss 😄) how would you see the clamp working? With Light cache working backwards and calculating all of the bounces from the camera back to a light source would there be any major benefit? You’d be doing the work to calculate every single bounce but then throwing out all this work to limit everything to just a certain bounce. It’d work fine with using brute force for secondary but we already have controls over how many bounces we have with this, Irradiance map is only one bounce so clamping isn’t an option, and then light cache is really quick anyway?

---

<div class="post-metadata">

**Author:** ![Dariusz\_Makowski\_Dadal](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dariusz\_Makowski\_Dadal](https://forums.chaos.com/u/Dariusz_Makowski_Dadal)\
**Post date:** [March 18, 2013, 4:19pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/51 "2013-03-18T16:19:39Z")

</div>

> [@joconnell](#):
>
> Specular depth? Is specular not just a kind of fake that goes along with reflection passed a certain point? It’s more like a focussed diffuse more so than a raytraced reflection so is depth considered at all?

As far as I remember from what Vlado told me their specular is more of a part of reflection. So if you want physically accurate render then you need it. My idea is so that if I disable reflections on my object so I only get diffuse+shadow. It would be nice if I also could have an option to add Specular to that since more often I’d like to retouch Diffuse + Specular together rather than having them separate.

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 18, 2013, 4:35pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/52 "2013-03-18T16:35:10Z")

</div>

Oh I get you. Yep I remember Vlado saying the same thing where spec is more like diffuse reflection, and the two parts of the raytraced and non-raytraced parts are both added to simulate the soft and the sharp parts of the reflection. what confused me is that since specular doesn’t have a bounce depth as such, there’d be no real need for it. You’d be able to do this with the trace reflection option turned off on your materials but perhaps the specular also gets turned off if you disable reflections in the global switches? Must do a quick test!

Yep - just did a quick test and turning off reflections / refractions in the globals still leaves detail behind in the spec element.

---

<div class="post-metadata">

**Author:** ![Dariusz\_Makowski\_Dadal](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@Dariusz\_Makowski\_Dadal](https://forums.chaos.com/u/Dariusz_Makowski_Dadal)\
**Post date:** [March 18, 2013, 4:38pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/53 "2013-03-18T16:38:00Z")

</div>

Oh really?! Thats great! Last time I was testing it was 5 months ago so I was not sure but in that case wiiiiiiiiii +1 for chaos being epic.

Thanks, bye.

---

<div class="post-metadata">

**Author:** ![joconnell](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/joconnell/32/36063_2.png) [@joconnell](https://forums.chaos.com/u/joconnell)\
**Post date:** [March 18, 2013, 4:41pm UTC](https://forums.chaos.com/t/max-depth-setting/44213/54 "2013-03-18T16:41:08Z")

</div>

Yep - It’s maybe a little bit less intuitive since the spec is linked in with the reflection glossiness so you might need to go softer than you think with the reflections to get the data you want.

[Previous page](https://forums.chaos.com/t/max-depth-setting/44213.md?page=2)
