fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

Virtual POF Weirdness

Open BMagnu opened this issue 2 years ago • 1 comments

In very specific cirumstances, it seems possible that virtual POF can cause model glitches. It seems to depend on the mission and what else is loaded, but I am not sure how, and it can basically create additional polygons it seems. But it's comparably rare, as in, out of 10 missions I tried, two had these issues.

Basically, the ToDo is to trace the Add Submodel path in virtual pofs, and making sure that everything is memory safe and has no buffer overruns or anything.

BMagnu avatar Oct 09 '23 20:10 BMagnu

Any chance this was probably solved with #5984 ?

MjnMixael avatar Feb 23 '24 15:02 MjnMixael

Good point. It was indeed the last point of that PR,

When replacing textures, it incremented the wrong poly count, causing potentially corrupted geometry and meshes

which ended up fixing this.

BMagnu avatar Apr 10 '24 11:04 BMagnu