qbism / q2tools-220

Quake 2 map compiler tools with v220 map support, automatic phong, enhancements, and fixes.
GNU General Public License v2.0
61 stars 20 forks source link

Fixed: texture rotation stored in UVaxis was ignored when applying origin brush offset. #5

Closed m-x-d closed 6 years ago

m-x-d commented 6 years ago

Also some unnecessary cleanups in TexinfoForBrushTexture, TexinfoForBrushTexture_UV, ParseBrush and ParseMapEntity...

qbism commented 6 years ago

Great! Should origfix default to "true" (as kmqbsp3 does), or just removed as a toggle? Is there any case that it messes up textures elsewhere in a map?

m-x-d commented 6 years ago

No clue. I'm using v220 map format and my fix applies origin offset regardless of the origfix setting. I haven't extensively tested it, but it seemed to work as expected in all test cases I threw at it...

Making a binary release and promoting the tools among those few, who are still interested in Q2 mapping might help in uncovering more issues :)