GtkRadiant icon indicating copy to clipboard operation
GtkRadiant copied to clipboard

90/45 degrees + texture fit doesn't work

Open Grab11 opened this issue 8 years ago • 5 comments

It doesn't work with all degrees(minus 180/-180) http://imgur.com/a/AxmAl

Grab11 avatar Jun 16 '17 19:06 Grab11

any updates?

Grab11 avatar Aug 25 '17 12:08 Grab11

The corresponding code for it is: https://github.com/TTimo/GtkRadiant/blob/master/radiant/surfaceplugin.cpp#L240 https://github.com/TTimo/GtkRadiant/blob/master/radiant/brush.cpp#L3615

Pan7 avatar Aug 25 '17 21:08 Pan7

Does it work if you set all values to zero?

Pan7 avatar Aug 25 '17 21:08 Pan7

From my experience, rotating a texture + fitting works completely randomly, sometimes. Horizontal or vertical stretch might be correct, but other is always messed up, no matter the angle. Only 0/180/-180 degree rotation + fit works consistently. Workaround is to use patches when angled surfaces need texture fitting, though sometimes that's not an option. Models also work fine for some stuff.

Aciz avatar Aug 25 '17 22:08 Aciz

Does it work if you set all values to zero?

What values? Fitting works only with "Rotate 0". It also works with "Rotate 180" but then texture is mirrored and it looks like after "Rotate 0" which is not good either. All other fitting is broken.

Grab11 avatar Aug 26 '17 09:08 Grab11