GaryHuan9 / Echo

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

[Feature Request] Add support for PLY files #29

Closed ClemensU42 closed 2 years ago

ClemensU42 commented 2 years ago

Additional context http://paulbourke.net/dataformats/ply/

GaryHuan9 commented 2 years ago

Follow the .ply specification and create a loader for the file format. Additional notes:

The reason that we want a new mesh loader targeting the .ply is to prepare for the incoming .echo scene file. One of the biggest features the .echo file will have is its ability to do lazy loading. Information is loaded at the latest point when they are needed and metadata (such as triangle count from .ply files) will be used to direct PreparedScene construction and other heuristics to better utilize multiple cores on a large scale.