GaryHuan9 / Echo

An awesome ray traced 3D renderer build in C# from scratch!
MIT License
18 stars 3 forks source link

[Feature Request] Optimizing and documenting the PolygonFileFormatReader #44

Closed ClemensU42 closed 2 years ago

ClemensU42 commented 2 years ago

Is your feature request related to a problem? Please describe. Looking at the PolygonFileFormatReader, there are a lot of things that can be improved in terms of performance, readability and documentation.

Describe the solution you'd like The PolygonFileFormatReader should be able to load the default blender monkey head in less than 10ms, maybe in even less time

GaryHuan9 commented 2 years ago

Issue looks good! Yes we definitely need the optimization. Single mesh sizes are regularly in the millions of triangles range so we need to be able to load them fast.