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

Texture projection still not 100% accurate to valve-220 #24

Closed FifthElphant closed 1 year ago

FifthElphant commented 1 year ago

Skewed faces either broken or not support currently it seems

images and example map attached

1 2 q2test.zip .

qbism commented 1 year ago

Quark has their own format that no compiler tool supports AFAIK. Or please send a link to a qbsp3 that does. Open this test map in Trenchbroom to see what I mean. (edit: And does the .map file look correct reimported into Quark?)

qbism commented 1 year ago

The standard v220 face format: ( x1 y1 z1 ) ( x2 y2 z2 ) ( x3 y3 z3 ) TEXTURE_NAME [ tx1 ty1 tz1 toffs1 ] [ tx2 ty2 tz2 toffs2 ] rotation scaleX scaleY

Quark, with three extra numbers for each face: ( 192 80 -64 ) ( 192 -192 -64 ) ( 192 -192 0 ) e2u3/floor2_6 [ 0.00000 1.00000 0.00000 0.00000 ] [ 0.00000 0.00000 -1.00000 0.00000 ] 0 1.00000 1.00000 0 0 0