# Why Dont The Per-object Sampling Overrides Do Anything?

**URL:** https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723
**Category:** Maya
**Tags:** mental-ray
**Created:** [November 30, 2006, 12:47am UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723 "2006-11-30T00:47:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![georgep1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/f1d935/32.png) [@georgep1](https://forum.highend3d.com/u/georgep1)
#### Post date: [November 30, 2006, 12:47am UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723/1 "2006-11-30T00:47:30Z")

</div>

I am trying to increase the sampling on some glossy objects in my scene without increasing the overall sampling in the entire scene. I set the min and max object samples to 2 and 2 in the mental ray section of the attribute editor for my glossy objects, and i set the sample settings to 0 and 1 in the render settings. The problem is when I render the scene comes out looking exactly as it would had i not changed the per object samples on my glossy objects. Whats the deal? why wont this work, and more importantly is there a way to adjust sampling on a per object or per material basis?

---

<div class="post-metadata">

### Author: ![masternull](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/5f9b8f/32.png) [@masternull](https://forum.highend3d.com/u/masternull)
#### Post date: [November 30, 2006, 2:31pm UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723/2 "2006-11-30T14:31:42Z")

</div>

Hi, it is not possible to increase samples on DGS shaders. You can use any maya Shader and turn on reflection blur and increase the sample on those shaders.

---

<div class="post-metadata">

### Author: ![georgep1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/f1d935/32.png) [@georgep1](https://forum.highend3d.com/u/georgep1)
#### Post date: [November 30, 2006, 7:31pm UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723/3 "2006-11-30T19:31:52Z")

</div>

bummer, thanks anyway

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [December 3, 2006, 4:03pm UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723/4 "2006-12-03T16:03:53Z")

</div>

Actually it is totally possible to do what you want. Its just that the globals and overrides work in same range and override each other.

So if you put a override for a object to be 2 4 and your global setting is 0 2 your object will actually get a a override of 2 2. In order for you to be able to put a 2 4 override you'd need to put your globals for 0 4. Off course then you'd also need to override ALL NON overridden things to 0 2manualy. Same applies to the lowest value. The globals override the range you can set.

Theres even a second way of doing this and tehts to use the oversample lens shader wich also could work in similar fashion.

---

<div class="post-metadata">

### Author: ![georgep1](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/f1d935/32.png) [@georgep1](https://forum.highend3d.com/u/georgep1)
#### Post date: [December 11, 2006, 5:36am UTC](https://forum.highend3d.com/t/why-dont-the-per-object-sampling-overrides-do-anything/45723/5 "2006-12-11T05:36:22Z")

</div>

hmmm interesting, thanks again Joojaa.
