https://github.com/btipling/blockens-3d
A project to learn 3D GPU programming using Metal
https://github.com/btipling/blockens-3d
Last synced: over 1 year ago
JSON representation
A project to learn 3D GPU programming using Metal
- Host: GitHub
- URL: https://github.com/btipling/blockens-3d
- Owner: btipling
- License: apache-2.0
- Created: 2016-08-19T12:07:34.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-04T07:17:53.000Z (almost 10 years ago)
- Last Synced: 2025-03-16T01:39:43.085Z (over 1 year ago)
- Language: Swift
- Size: 73.2 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blockens-3d
Blockens-3d project to learn 3D GPU programming and 3D math using Metal

I learned about vertex and matrix math from several books and online resources but mostly from [3D Math Primer for Graphics and Game Development](https://www.amazon.com/Math-Primer-Graphics-Game-Development-ebook/dp/B008KZU548/)
## This project features:
* Keyboard controls for controlling the 3D cube.
* An orthographic projection
* Translation, rotation transforms and model-view rendering.
* I learned about wind order and culling and how the order of vertices dictate which side of a shape is the front.
* Stencil depth, and various other 3D related aspects.
## Controls:
* Rotation: W, A, S, D, F, B
* Zoom: + -
* Translation: Up, Down, Left, Right, O, I
* Manipulate the far point with [ and ]
* Manipulate the near point with < and >
Video:
[](https://www.youtube.com/watch?v=QxUyue2qm2s)