# random texture per element from sequnce

**URL:** <https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766>\
**Category:** General\
**Created:** [July 27, 2020, 2:23pm UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766 "2020-07-27T14:23:56Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikhalenko](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mikhalenko/32/32317_2.png) [@Mikhalenko](https://forums.chaos.com/u/Mikhalenko)\
**Post date:** [July 27, 2020, 2:23pm UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/1 "2020-07-27T14:23:56Z")

</div>

Hello  
I have a question. How can I load sequence of textures that can be randomly placed per elements of object or materialID. Similar to VrayMultiSubTex, but without loading each texture from sequence to separate VrayBitmap  
Thanks,  
Andrei

---

<div class="post-metadata">

**Author:** ![Mikhalenko](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mikhalenko/32/32317_2.png) [@Mikhalenko](https://forums.chaos.com/u/Mikhalenko)\
**Post date:** [July 30, 2020, 8:04am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/2 "2020-07-30T08:04:38Z")

</div>

@_Lele may be you know solution?🙂 I know you know 🙂

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [July 30, 2020, 9:59am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/3 "2020-07-30T09:59:34Z")

</div>

Oh, you mean something like “use frames from sequence”?

---

<div class="post-metadata">

**Author:** ![Mikhalenko](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mikhalenko/32/32317_2.png) [@Mikhalenko](https://forums.chaos.com/u/Mikhalenko)\
**Post date:** [July 30, 2020, 11:22am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/4 "2020-07-30T11:22:47Z")

</div>

> [@\_Lele](#):
>
> Oh, you mean something like “use frames from sequence”?

Exactly 🙂

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [July 30, 2020, 11:24am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/5 "2020-07-30T11:24:45Z")

</div>

Mmmh, i can’t think of a way (besides scripting, but that will produce many loaders.).  
It’s a request i’m passing on to the devs. 🙂

---

<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:** [July 30, 2020, 11:28am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/6 "2020-07-30T11:28:38Z")

</div>

Really interesting method for texture randomization. Are you planning to convert video files to image sequence and then reuse it as a texture maps?

---

<div class="post-metadata">

**Author:** ![Mikhalenko](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mikhalenko/32/32317_2.png) [@Mikhalenko](https://forums.chaos.com/u/Mikhalenko)\
**Post date:** [July 30, 2020, 11:35am UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/7 "2020-07-30T11:35:41Z")

</div>

> [@tashko.zashev](#):
>
> Really interesting method for texture randomization. Are you planning to convert video files to image sequence and then reuse it as a texture maps?

Actually no. I planning use Substance Designer that generate texture variation during timeframe, so I will have sequence of the textures. Or for example, I have cutout peoples, that have name “people\_001” “people\_002”, so using sequnce I can randomly place them just loading in one vrayBitmap

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [July 30, 2020, 12:06pm UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/8 "2020-07-30T12:06:54Z")

</div>

It’s a function that nuke has too, tucked away in the ContactSheet node.  
There, i can use frames as inputs, and it will lay out the sequence for me, saving on connecting one input per frame.  
There is a definite reduction in clutter, and an amelioration of the workflow (thanks to the instancing of the loader).  
Likely, from the point of view of memory at rendertime, it is not going to be a noticeable difference (i.e. the loaders weigh little compared to the actual images they load, so reducing their number will not be a big gain per se.).

---

<div class="post-metadata">

**Author:** ![Mikhalenko](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/mikhalenko/32/32317_2.png) [@Mikhalenko](https://forums.chaos.com/u/Mikhalenko)\
**Post date:** [July 30, 2020, 12:12pm UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/9 "2020-07-30T12:12:59Z")

</div>

I suppose that not very hard function. If 3ds max was Houdini 🙄 I would just add sting attribute per element/face/whanever I want, and say for textre look at this attribute and take number that correspond to frame number. Similar that can be done in max with objects and user properties

---

<div class="post-metadata">

**Author:** ![\_Lele](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/_lele/32/49986_2.png) [@\_Lele](https://forums.chaos.com/u/_Lele)\
**Post date:** [July 30, 2020, 12:18pm UTC](https://forums.chaos.com/t/random-texture-per-element-from-sequnce/99766/10 "2020-07-30T12:18:01Z")

</div>

> [@Mikhalenko](#):
>
> If 3ds max was Houdini 🙄

I giggled.  
Nervously.
