tge-was-taken / GFD-Studio

P3D, P4D, P5D & Persona 5 Model Editor
61 stars 27 forks source link

Async GAP Processing and Faster Texture Preview (and other things) #66

Closed DeathChaos25 closed 8 months ago

DeathChaos25 commented 8 months ago

Retargetting, Converting and Rescaling GAP functionality has all been made async, which is much much more faster now, the new code also does not cause issues like the old async code did.

Reworked the texture drawing/decoding code to ditch SetPixel in favor of using LockBits for better performance on bigger resolution textures and on lower end systems.

Fixed scale not applying in animation preview.

Added an exception to meshes with flag bit5 so that they do not render (this is used by meshes that do not render in the games such as the weird spikes found in the character joints)

Added a new import option (enabled by default as it is harmless) to automatically generate the GFD Helper ID properties if they are missing.