i have simple question
how do i control the number of repeat tiling in mtlx?
thanks ,nir
How do i control the number of repeat tiling in mtlx
1329 4 0- habernir
- Member
- 94 posts
- Joined:
- Offline
- Enivob
- Member
- 2633 posts
- Joined: 6月 2008
- Offline
- habernir
- Member
- 94 posts
- Joined:
- Offline
Enivobthanks for your answer but the mtlxTiledImage its just tiled rate in uv direction and the Realworldsize just control the size of the single square ( am i wrong?)
Use a mtlxTiledImage node and increase the Realworldsize to introduce more copies.
this is the result
i want to control the number of repetition in the u direction
in mtlxImage i make
U Address Mode: periodic
V Address Mode:Constant
and the result its repeating along the u direction like this
but i want to control the number of repeat in the u direction (i want for example do make 2,3 or 4 lines....)
thanks
Edited by habernir - 2023年12月17日 10:58:28
- jsmack
- Member
- 8046 posts
- Joined: 9月 2011
- Offline
- habernir
- Member
- 94 posts
- Joined:
- Offline
jsmackhabernir
but i want to control the number of repeat in the u direction (i want for example do make 2,3 or 4 lines....)
There is no built in mechanism for this. You'll have to get out the math and do it yourself. The clamp node can be used to clamp the scaled u and v values to the desire maximum
thanks. i already know about clamp but i forgot that there is mtlx clamp and thats solved my problem in mtlx
Edited by habernir - 2023年12月17日 15:47:49
-
- Quick Links