Posts

Post not yet marked as solved
5 Replies
1.3k Views
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_CodeNext I plan to tackle lighting and applying textures to the model.
Posted
by Bruce D M.
Last updated
.
Post not yet marked as solved
2 Replies
640 Views
There appears to be a memory leak in the render loop of Apple's Hello Triangle sample code. Does anybody know how to fix it?
Posted
by Bruce D M.
Last updated
.