Decal problems


(Makro) #1

I’ve tried them in two maps but I can’t seem to get them to work. The shape of the projection is fine, but it’s not textured properly. BSP gives this:

2.5.7:

Mat: [ -0.005488 0.031250 -0.011890 38.556099 ] [ 0.016927 0.016927 -0.015625 39.052082 ] Theta: 89.964371 (50.057073)
XYZ: -792.000000 -1312.000000 160.000000 ST: 0.000000 0.937500 ST(t): 0.000002 0.937501
Bad texture matrix! (B) (-0.665852, 0.062501) != (0.000000, 0.062500)
Bad texture matrix! © (9.834148, 5.750001) != (10.500000, 0.062500)
Mat: [ -0.005488 0.031250 -0.011890 38.556099 ] [ 0.016927 0.016927 -0.015625 39.052082 ] Theta: 89.964371 (50.057073)
XYZ: -792.000000 -1312.000000 160.000000 ST: 0.000000 0.937500 ST(t): 0.000002 0.937501
Bad texture matrix! (B) (9.834148, 5.750001) != (10.500000, 0.062500)
Bad texture matrix! © (10.500002, 6.625001) != (10.500000, 0.937500)

2.5.8:

Mat: [ -0.005488 0.031250 -0.011890 38.556099 ] [ 0.016927 0.016927 -0.015625 39
.052082 ] Theta: 89.964371 (50.057073)
XYZ: -792.000000 -1312.000000 160.000000 ST: 0.000000 0.937500 ST(t): 0.000002 0.937501
Bad texture matrix! (B) (-0.665852, 0.062501) != (0.000000, 0.062500)
Bad texture matrix! © (9.834148, 5.750001) != (10.500000, 0.062500)
Mat: [ -0.005488 0.031250 -0.011890 38.556099 ] [ 0.016927 0.016927 -0.015625 39.052082 ] Theta: 89.964371 (50.057073)
XYZ: -792.000000 -1312.000000 160.000000 ST: 0.000000 0.937500 ST(t): 0.000002 0.937501
Bad texture matrix! (B) (9.834148, 5.750001) != (10.500000, 0.062500)
Bad texture matrix! © (10.500002, 6.625001) != (10.500000, 0.937500)

Any ideas ?


(ydnar) #2

Due to my crappy math skills, only square or rectangular projections work. Trapezoid or parallelogram (or other distorted quads) will not work.

Hence the error spooge, sorry.

y


(Makro) #3

Ahh, I see. I was trying to create a fake shadow shaped as a parallelogram, heh. Any chance this could change in the future ? :smiley: