# Want To Create Random Mat and Tex Variation on VrayProxy

**URL:** <https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859>\
**Category:** General\
**Created:** [May 21, 2015, 1:52pm UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859 "2015-05-21T13:52:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixela](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/pixela/32/2876_2.png) [@pixela](https://forums.chaos.com/u/pixela)\
**Post date:** [May 21, 2015, 1:52pm UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/1 "2015-05-21T13:52:01Z")

</div>

Hi everyone,

As in the title, I Want To Assign Different Mat on VrayProxy objects.  
(create random material and texture variation through object and material ID- or any other way that I am not aware of)

Can’t assign object ID or mat ID on Vray Proxy.

Anyone know a possible solution ?  
Thank you.

---

<div class="post-metadata">

**Author:** ![Vizioen](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vizioen/32/59355_2.png) [@Vizioen](https://forums.chaos.com/u/Vizioen)\
**Post date:** [May 21, 2015, 2:26pm UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/2 "2015-05-21T14:26:32Z")

</div>

> [@On another topic](https://forums.chaos.com/t/47428/10):
>
> Hi everyone,
> 
> As in the title, I Want To Assign Different Mat on VrayProxy objects.  
> (create random material and texture variation through object and material ID- or any other way that I am not aware of)
> 
> Can’t assign object ID or mat ID on Vray Proxy.
> 
> Anyone know a possible solution ?  
> Thank you.

I doubt you didn’t think of this, so it’s possible this isn’t what you’re looking for, but what about Forest Color with Forestpack? [http://docs.itoosoft.com/display/FORESTPACK/Forest+Color](http://docs.itoosoft.com/display/FORESTPACK/Forest+Color)

---

<div class="post-metadata">

**Author:** ![RotemS](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@RotemS](https://forums.chaos.com/u/RotemS)\
**Post date:** [May 21, 2015, 2:29pm UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/3 "2015-05-21T14:29:10Z")

</div>

If I understand you correctly, you can do it with VrayInstancer and VrayMultiSubTex map.

See Vlado’s last comment in this thread:

[http://forums.chaosgroup.com/showthread.php?80915-Forest-with-VRayInstancer](http://forums.chaosgroup.com/showthread.php?80915-Forest-with-VRayInstancer)

---

<div class="post-metadata">

**Author:** ![pixela](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/pixela/32/2876_2.png) [@pixela](https://forums.chaos.com/u/pixela)\
**Post date:** [May 22, 2015, 6:18am UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/4 "2015-05-22T06:18:51Z")

</div>

> [@On another topic](https://forums.chaos.com/t/47434/5):
>
> I doubt you didn’t think of this, so it’s possible this isn’t what you’re looking for, but what about Forest Color with Forestpack? [http://docs.itoosoft.com/display/FORESTPACK/Forest+Color](http://docs.itoosoft.com/display/FORESTPACK/Forest+Color)

> [@On another topic](https://forums.chaos.com/t/47148/431):
>
> If I understand you correctly, you can do it with VrayInstancer and VrayMultiSubTex map.
> 
> See Vlado’s last comment in this thread:
> 
> [http://forums.chaosgroup.com/showthread.php?80915-Forest-with-VRayInstancer](http://forums.chaosgroup.com/showthread.php?80915-Forest-with-VRayInstancer)

Thanks for the replies. My proxy object is not a tree or a forest but it is an architectural element which will be placed on specific coordinates (not random) but will be repeated many times.  
So particle flow, vray instancer/particle flow, multiscatter, forrest pack is not an option for me.

I solved the problem. I was using a script to assign object ID on my proxy objects and this scripts probably didn’t work properly yesterday. Today when I use a different script, I was able to assign random Object ID to my instanced proxy.

---

<div class="post-metadata">

**Author:** ![RotemS](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@RotemS](https://forums.chaos.com/u/RotemS)\
**Post date:** [May 22, 2015, 6:54am UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/5 "2015-05-22T06:54:59Z")

</div>

You could also make use of the render id which is naturally random.

---

<div class="post-metadata">

**Author:** ![pixela](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/pixela/32/2876_2.png) [@pixela](https://forums.chaos.com/u/pixela)\
**Post date:** [May 22, 2015, 7:16am UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/6 "2015-05-22T07:16:08Z")

</div>

Where is the RenderID parameter for a geometry located?  
Is it hidden to the user and does only Vray read it?

---

<div class="post-metadata">

**Author:** ![RotemS](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@RotemS](https://forums.chaos.com/u/RotemS)\
**Post date:** [May 22, 2015, 7:48am UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/7 "2015-05-22T07:48:39Z")

</div>

I don’t believe it is changeable by the user. It’s generated at render time and is unique per node (up to some limit).

---

<div class="post-metadata">

**Author:** ![Art48](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@Art48](https://forums.chaos.com/u/Art48)\
**Post date:** [May 22, 2015, 8:11am UTC](https://forums.chaos.com/t/want-to-create-random-mat-and-tex-variation-on-vrayproxy/53859/8 "2015-05-22T08:11:45Z")

</div>

MultiSubTex by Render ID.
