Commit graph

180 commits

Author SHA1 Message Date
0875028e48 [Metaballs] Renderer requires a delegate 2017-08-05 09:31:51 -07:00
fd2f2251bf [Metaballs] Clean up declaration of Vertex data 2017-08-05 09:30:55 -07:00
5c37010229 [MetaballsKit] Reset the parametersBuffer as needed 2017-08-05 09:30:09 -07:00
d08f4a7e23 [MetaballsKit] Better error handling 2017-08-05 09:29:50 -07:00
0c175acc79 [MetaballsKit] Center balls added to the field 2017-08-05 09:29:13 -07:00
eff20b8b93 [Metaballs] A few misc changes to the ViewController's field property
Also set the delegate of the renderer.
2017-08-05 09:05:27 -07:00
463246df36 [Metaballs] A Metal graphics pipeline that builds and runs but crashes 2017-08-05 09:04:43 -07:00
b52e16debe [MetaballsKit] sampleTexture is public 2017-08-05 09:03:55 -07:00
b7a30c46ae [MetaballsKit] Sort out runtime errors 2017-08-04 22:24:15 -07:00
e971d0dbca [Metaballs] The ViewController is the bridge between the Field and the Renderer 2017-08-04 21:16:07 -07:00
ea3638d12c [Metaballs] Remove all AppDelegate code
It all went to the ViewController
2017-08-04 21:12:35 -07:00
22fbaed88c [MetaballsKit] Fix up didSet responder for Field.size 2017-08-04 21:10:52 -07:00
da5c664ee6 [MetaballsKit] Finish off Metal compute stuff for the simulation 2017-08-04 08:06:33 -07:00
467f9d4123 [MetaballsKit] Get the Metal setup stuff straightened out 2017-08-02 08:08:56 -07:00
0aab90b693 [MetaballsKit] Implement sampling kernel 2017-08-01 19:13:20 -07:00
cacdba4555 [Metaballs] Remove sampling kernel from Metal file 2017-08-01 19:01:43 -07:00
2b409afc2d [MetaballsKit] Add a metal file to the framework 2017-08-01 19:01:20 -07:00
3ddc484037 [MetaballsKit] Put a bunch of Metal stuff in the Field class 2017-08-01 19:01:03 -07:00
2e70c76fb0 [MetaballsKit] Make Field a class 2017-08-01 07:54:29 -07:00
fda6890669 Link MetaballsKit with MetalKit 2017-08-01 07:54:04 -07:00
99739a5d63 [Metaballs] Fragment shader, stubs for vertex and sample shaders 2017-07-30 20:40:10 -07:00
fc57f865f2 [MetaballsKit] Make Field.size public and filter balls that lie outside the size when it changed 2017-07-30 15:53:10 -07:00
ee7bd497cc [Metaballs] Sort out the Metal kernel declaration 2017-07-30 15:52:40 -07:00
4023e17b15 [Metaballs] Add empty Renderer file to project 2017-07-30 15:24:34 -07:00
b971f6bcce [Metaballs] Make ViewController.view an MTKView 2017-07-30 15:22:29 -07:00
d915bae8cd [Metaballs] Add empty shader file to app 2017-07-30 15:22:01 -07:00
e994708218 [Metaballs] Remove all the menus 2017-07-30 14:48:17 -07:00
0dd6604fce [MetaballsKit] Make Field initializer public 2017-07-30 14:47:59 -07:00
440ed1b3f3 Rough implementation of the metaballs simulation in MetaballsKit 2017-07-30 14:29:58 -07:00
2099749071 Initial Commit 2017-07-30 14:04:39 -07:00