Commit graph

17 commits

Author SHA1 Message Date
6bcdc867c4 Recompute pixelGeometry after resize 2018-10-12 17:29:08 -07:00
1ed5f0bf6e Orthographic projectify the vertexes 2018-10-12 17:15:33 -07:00
6dc175c39d Render triangles as wireframes, instead of rendering lines 2018-10-11 16:54:57 -07:00
cb8afac46f Comments about what's going on 2018-10-11 16:45:01 -07:00
e212a338d7 Load contents of previous pass before rendering geometry 2018-10-11 16:40:29 -07:00
7a14ac461e Execute a pass for rendering marching squares
(This just renders the geometry of the field the pixel pipeline draws onto so far)
2018-10-11 16:28:22 -07:00
03923bdd7e Add marching squares pipeline and configure it 2018-10-11 16:06:05 -07:00
a755a4f3de Pass in pixel format instead of whole view 2018-10-11 16:00:59 -07:00
3808463e55 Move pipelineState into pixelPipeline
Move configuration to its own method
2018-10-11 11:26:09 -07:00
80d4e6f043 Rearrange render pass encoding so that presentation and commit() are outside the encoder if block 2018-10-11 11:15:10 -07:00
81e90f3349 TODO: Idk what this does 2018-10-11 10:58:01 -07:00
8f1e1335bd Use the simd types where I can 2018-10-07 19:32:29 -07:00
5caa763a99 Fix compiler errors after update to Swift 4.2 2018-10-05 13:45:37 -07:00
9f5b7c7cb5 Convert to Swift 4.2 2018-10-05 13:38:32 -07:00
a07bced808 [kit] Create Metal library from Kit bundle, rather than main bundle 2017-08-24 17:59:18 -07:00
6b663f92e8 [kit] Shuffle things around so delegate doesn't have to be given in init()
Classes that use the Renderer might not be ready to assign themselves as delegate when the Renderer is initialized
2017-08-18 09:03:01 -07:00
c226d7e72e [app,kit] Move Renderer and shaders to the Kit 2017-08-16 22:07:30 -07:00
Renamed from Metaballs/Renderer.swift (Browse further)