etfdevs / ETe

Improved Wolfenstein: Enemy Territory Engine
GNU General Public License v3.0
56 stars 17 forks source link

Don't draw ladders as clips, fix slick brush drawing #80

Closed Aciz closed 1 year ago

Aciz commented 1 year ago
Aciz commented 1 year ago

There's some issues with angleslick detection as well which I don't really understand why, for example here, the plane normal[2] is 0.61 iirc so it should clearly be drawn.

2022-09-30-115023-railgun

Aciz commented 1 year ago

So clearly in this case, the plane at which the surface is drawn is picked wrong, it is in fact drawing something. Offsetting the drawing more from the surface makes this clear. Unsure if the issue here is in code or map, grabbing these brushes onto a new map will display slicks properly, so I'm kinda learning towards the map being at fault here, especially as looking at the plane intersection point there seems to be something weird going on. Can get 4 different plane angles around this area, including one that's 90 degrees.

image

image

image

image

image