I am an amateur coder and write programs for fun. I have recently set myself the task of learning Metal. In this endeavor I found the gap between Apple's "Hello Triangle" sample code and the "Deferred Lighting" sample code to be rather large. I found it a challenge to get a simple 3D model up and visible on the display. Finally I produced a simple program which defines vertex data for the five platonic solids and displays them in a MTKView. I was thinking others might be interest in seeing how I approached this problem. I have uploaded the XCode project to github where it is available for download. I hope others in the same boat as I was a week ago might benefit from this. Also, I would be receptive to any criticism. If I am doing something dumb I would like to know about it.
https://github.com/BDMackenzie/Metal_Sample_Code
Next I plan to tackle lighting and applying textures to the model.