Itoo Software Forum

Author Topic: uvw XFORM OFFSET  (Read 404 times)

manel_reig

  • Newbie
  • *
  • Posts: 25
uvw XFORM OFFSET
« on: July 21, 2021, 08:18:38 PM »
Hello,
I am having problems mapping simple objects objects. What I want to achieve is not to have the same mapping in the two faces (A and B from image) I have tried with the UVW Xform node, but it does not work the way one would expect and I do not find the way to map the object correctly...



thanks



« Last Edit: July 21, 2021, 08:54:02 PM by manel_reig »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1990
Re: uvw XFORM OFFSET
« Reply #1 on: July 22, 2021, 11:22:13 AM »
Hi,

Thanks for the question. The UVW XForm operator is designed to randomise the rotation, tiling and offset of UVW on a per-segment basis. I'm afraid it isn't possible to adjust UVWs per face, element or material ID. One solution therefore might be to adjust the UVW mapping on the base geometry so that A and B don't share the same UVW coordinates. In that way, you can still use the UVW Offset operator to randomise the offset if that's what you'd like to achieve.



I hope that helps, please let me know if you have further questions
Paul
Paul Roberts
iToo Software

manel_reig

  • Newbie
  • *
  • Posts: 25
Re: uvw XFORM OFFSET
« Reply #2 on: July 22, 2021, 07:04:02 PM »
hello Paul,

thanks for the answer.

Sadly for what you say I think the only possibility to achive what I want (continuity on mapping coordinates on final railclone object) it is to map the railclone object afterwards.

The original object is already mapped in a way that A and B surface do not share same mapping coordinates. But then, the resulting railclone object obviously has no continuity on the UVW mapping coordinates. I always have to map the railclone objects afterwards, but I was just trying to see if there is a way to not waste time on that and let railclone do the mapping.

Randomaizing coordinates by element is also no solution, as I am trying to get continuity on the mapping coordinates. Also using the "box mapping" on each element should do the trick, but with that I get same coordinates on both surfaces...so the question is, is there a way to achieve continuity and different UVW mapping coordinates in both surfaces?

EDIT:
ok, I realised that that happens when the elemnt in question is aligned in "bottom" on the y axes...if it is center, they share half of them and "top" are different, at least for this element size ::)

BOTTOM



CENTER



FRONT



any ideas?


thank you
« Last Edit: July 22, 2021, 07:36:31 PM by manel_reig »

Paul Roberts

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1990
Re: uvw XFORM OFFSET
« Reply #3 on: July 23, 2021, 10:51:53 AM »
Thanks for the extra information. I didn't realise you were using automatic box mapping before. In that case, my recommendation would be to assign a different material ID to those sides and then create a multi-sub object material that allows you to modify the offset of the materials separately.



I hope that helps,
Paul
Paul Roberts
iToo Software

manel_reig

  • Newbie
  • *
  • Posts: 25
Re: uvw XFORM OFFSET
« Reply #4 on: July 23, 2021, 03:29:58 PM »
thank you Paul, that is a good idea..sorry but sometimes I feel kind of dumb when dealing with railclone