V-Sekai / godot-pmx

Import MikuMikuDance PMX files for Godot
MIT License
22 stars 2 forks source link

Refactor adding of vertices #1

Closed seanlynch closed 3 years ago

seanlynch commented 3 years ago

Tested on Windows with some other changes to get it to compile that I haven't included. Appears to be exactly as broken as the original, but it should be a bit faster and use less GPU memory since it only adds each vertex once per index and then reindexes instead of adding all vertexes to each surface.

fire commented 3 years ago

Superseded by: https://github.com/V-Sekai/godot-pmx/pull/2