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
787 4 0- habernir
- Member
- 85 posts
- Joined:
- Offline
- Enivob
- Member
- 2537 posts
- Joined: June 2008
- Offline
- habernir
- Member
- 85 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 - Dec. 17, 2023 10:58:28
- jsmack
- Member
- 7771 posts
- Joined: Sept. 2011
- Offline
- habernir
- Member
- 85 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 - Dec. 17, 2023 15:47:49
-
- Quick Links