Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: FO3538 on March 25, 2019, 11:04:09 AM

Title: Scaled segment on 2Darray and distorted UV
Post by: FO3538 on March 25, 2019, 11:04:09 AM
Hello,

I have an issue that has been bugging me the whole morning, and I have the feeling that I am missing something very obvious.
I have created a 2d array in order to build a stone wall. The wall should have random stone sizes so that the joints do not align. In order to do that, I transformed the Xscale of the start segment by a random ratio. But my problem is that my UV becomes stretched (img1).
So I decided to enable apply box mapping to straighten the uvs but my uvs on the side of the stone has the wrong orientation. I can rotate the uvs but in the wrong plane. (img2)

What am i missing?

img1
(https://i.imgur.com/wlI4e6J.jpg)
img2
(https://i.imgur.com/6PHHPkq.jpg)
Title: Re: Scaled segment on 2Darray and distorted UV
Post by: Michal Karmazín on March 26, 2019, 11:28:23 AM
Hi,

The rotation of applied box mapping is due to the rotation of the Generator. As the object isn’t very complex, adding the UVW Map (Unwrap UVW) modifier over the RC object would be the easiest and quickest way. If you want to keep instancing, using another material ID for these faces and rotating the texture within the material would be the preferable option.

Hope that helps.

Best regards,