Commit Graph
100 Commits
Author SHA1 Message Date
Chris Hodapp 8146d4fea8 Sierpinski ish thing working 2020-10-02 11:38:53 -04:00
Chris Hodapp 35daf01b8a Add some more notes 2020-10-01 16:25:00 -04:00
Chris Hodapp 0ba914a7a3 More (slow) pyramid progress 2020-10-01 14:29:04 -04:00
Chris Hodapp f2ae9f051e Small progress with pyramid example 2020-10-01 12:56:40 -04:00
Chris Hodapp 6b8a7b8bc6 Half-working pyramid example & roll back DCEL crap 2020-10-01 12:46:43 -04:00
Chris Hodapp 545b7c9a60 Meh, kind of over trying to roll my own subdivision crap 2020-06-16 16:15:02 -04:00
Chris Hodapp 701b1df915 Finally got this bloody subdivision method working. I think. 2020-06-12 23:42:03 -04:00
Chris Hodapp 6c7b9695af Internal refactor (as part of subdiv) in parametric_mesh 2020-06-06 23:43:38 -04:00
Chris Hodapp fe31de5af3 Fixed boundary behavior for parametric_mesh 2020-06-06 22:33:54 -04:00
Chris Hodapp 729baf5aa3 Add some notes; restore more complex parametric example 2020-06-06 16:50:25 -04:00
Chris Hodapp 41ea254537 Possibly the actual actual bug fix 2020-06-06 16:23:19 -04:00
Chris Hodapp 6a3a19db21 Fixed a few more bugs in parametric_mesh. More remain... 2020-06-06 11:06:45 -04:00
Chris Hodapp 39072e0c30 Fix pesky-ass bug in DCEL (I think). Debug statements remain. 2020-06-06 00:18:36 -04:00
Chris Hodapp dbaadea466 Fix bug in DCELMesh.add_face 2020-06-05 21:39:55 -04:00
Chris Hodapp 3ed8678bbb Finally got my DCEL generating manifold meshes. 2020-05-25 11:51:10 -04:00
Chris Hodapp 8d35c7bf1d Add a check function to DCELMesh 2020-05-25 09:20:46 -04:00
Chris Hodapp 6bb170c7ff Half-made DCEL; half-broken continuous transform thingy 2020-05-24 22:43:32 -04:00
Chris Hodapp f2f8b833e2 Added some (30% broken, disabled) subdivision in parametric_mesh 2020-05-17 12:08:07 -04:00
Chris Hodapp fa001f47d4 Very rudimentary test of parametric, continuous transform 2020-05-16 23:53:45 -04:00
Chris Hodapp b17e4a1df6 Clean up some notes, try adding randomness to example 2020-05-16 13:20:13 -04:00
Chris Hodapp d868674b45 Import some constants I should have imported months ago 2020-05-16 09:52:19 -04:00
Chris Hodapp 0e54d48f7b Remove superfluous clone() 2020-05-15 19:27:59 -04:00
Chris Hodapp f23947331b Added some (tentative) things to rule_fn macro 2020-05-14 16:41:30 -04:00
Chris Hodapp 7b04b91746 Add some macros to make things less verbose 2020-05-14 15:41:15 -04:00
Chris Hodapp b7da8bea41 Change name of 'vmap' to 'arg_vals' to fit with MeshFunc 2020-05-13 15:02:22 -04:00
Chris Hodapp ce3ca34b70 Modify vec_indexed! syntax a little 2020-05-13 14:08:57 -04:00
Chris Hodapp a6449a2b94 Finally closed off geometry in 'barbs' example 2020-05-13 13:34:19 -04:00
Chris Hodapp 70463e0dfd 'barbs' example is almost done, but geometry needs closed 2020-05-13 12:11:11 -04:00
Chris Hodapp 586e5095bd Closer now on 'barbs' example 2020-05-13 11:34:42 -04:00
Chris Hodapp 5641a9c96e Progress with barbs example 2020-05-12 19:14:57 -04:00
Chris Hodapp 19988a0b35 One example is building and running, mostly 2020-05-12 18:47:29 -04:00
Chris Hodapp 7626f1a089 Mesh stuff ugly-refactored but untested 2020-05-12 15:46:03 -04:00
Chris Hodapp 0ad03ac77d Add scratch work before refactor. Examples in this rev are likely broken. 2020-05-11 14:34:40 -04:00
Chris Hodapp 10d5314157 Some more notes on limitations 2020-05-11 14:32:47 -04:00
Chris Hodapp 6677f73ab3 Add .idea stuff 2020-05-11 14:31:47 -04:00
Chris Hodapp 6857fb6aee More phone-cord-looking very stress-testy nested examples 2020-04-20 22:27:41 -04:00
Chris Hodapp 3c707aff9b Made a funky phone-cord looking thingy in twisty_torus 2020-04-20 22:07:43 -04:00
Chris Hodapp 5a222dcc93 Added a happy accident? 2020-04-20 18:45:21 -04:00
Chris Hodapp 270435c4d6 Beat my head into a wall some more on twisty_torus 2020-04-20 18:18:18 -04:00
Chris Hodapp e0baea62cc Made a (half-broken and ugly) twisty torus 2020-04-19 22:16:01 -04:00
Chris Hodapp 537dcd2f44 Migrated some examples.rs stuff to tests in lib.rs 2020-04-18 12:11:59 -04:00
Chris Hodapp 7b7482175f Restore some settings in twist() 2020-04-12 22:48:41 -04:00
Chris Hodapp 0d0bed918a Misc refactor & notes update 2020-04-12 15:05:07 -04:00
Chris Hodapp 4fe289083b Remove some oddities in ramhorn_branch 2020-04-06 15:34:45 -04:00
Chris Hodapp c19e65b962 Fixed another bug in to_mesh_iter!
This was a more minor bug - but a bug that was making it produce
non-manifold geometry.
2020-04-06 10:38:30 -04:00
Chris Hodapp aba2e24e26 My ramhorn_branch example finally works. It's just ugly.
Also, might be generating non-manifold geometry in certain cases.
2020-04-05 22:33:21 -04:00
Chris Hodapp 5f27239525 Semi-sensible refactor for ramhorn_twist? 2020-04-05 18:22:22 -04:00
Chris Hodapp bddedfd9f4 Restore old test 2020-04-05 12:17:40 -04:00
Chris Hodapp 8f8bca9c2f Fix to_mesh_iter bug 2020-04-05 12:15:29 -04:00
Chris Hodapp e9a6f1f840 Documented a bug in to_mesh_iter via ram_horn_twist 2020-04-05 10:54:33 -04:00
Chris Hodapp 05a0aed8eb Rule now has, again, a type param 2020-04-05 00:00:29 -04:00
Chris Hodapp bd7105e333 Update some notes 2020-04-04 16:35:02 -04:00
Chris Hodapp 4c0ef2abca Remove comment, change test count 2020-04-01 22:09:04 -04:00
Chris Hodapp cf6ae348c3 Add timing stuff 2020-04-01 21:43:35 -04:00
Chris Hodapp 89c0a5f3ae Wrapped mesh in Rc<...> but don't know if it helps 2020-04-01 21:40:01 -04:00
Chris Hodapp 9c941aac99 Convert ramhorn example 2020-04-01 17:22:54 -04:00
Chris Hodapp 1df037fc9d Some performance notes 2020-04-01 17:22:43 -04:00
Chris Hodapp bffd8a8d79 Small cleanup with util function 2020-04-01 12:57:34 -04:00
Chris Hodapp 84711d67c0 Make Transform struct 2020-04-01 12:03:13 -04:00
Chris Hodapp e26b528464 Some cleanliness cleanups 2020-03-31 16:57:58 -04:00
Chris Hodapp 45ab4ed9e0 Added helper function to avoid juggling of indices 2020-03-31 15:30:25 -04:00
Chris Hodapp 558bd062d9 Fixed twist(), though it's now ugly 2020-03-27 23:46:29 -04:00
Chris Hodapp 21ce55d141 Add hacky example of (incorrect) double spiral in twist() 2020-03-27 23:00:24 -04:00
hodapp 96f8004df2 More refactoring of twist() 2020-03-27 19:26:06 -04:00
Chris Hodapp f8f2d4ac31 Closure-ified my Twist example 2020-03-27 18:22:40 -04:00
Chris Hodapp 02cfa49bd7 Some shuffling around from last commit 2020-03-26 14:01:48 -04:00
Chris Hodapp 7a6d29da81 Made an actual working example! 2020-03-26 10:20:54 -04:00
Chris Hodapp 83053ca8bb Add another failed example 2020-03-21 19:08:07 -04:00
Chris Hodapp 75025fb79b Add some more broken code. See scratch.rs for what does work. 2020-03-14 12:10:51 -04:00
hodapp 4df6b8442c Add (non-building) attempt at using closures again 2020-03-10 21:25:50 -04:00
Chris Hodapp 7714f743d5 Add utility function to transform Vec<Vertex> 2020-03-08 14:34:44 -04:00
Chris Hodapp cf9124d04c Commit version of Twist I tried in Blender 2020-03-08 11:11:31 -04:00
Chris Hodapp 7a770bb533 Added some parameters to Twist 2020-03-07 22:24:37 -05:00
Chris Hodapp 7564cf69d0 Rewrite one signature slightly 2020-03-07 21:22:39 -05:00
Chris Hodapp 9746adf39c Twist: closed beginning & end properly.
Yes, it checks out as a manifold mesh too.
2020-03-07 18:53:15 -05:00
Chris Hodapp 84b7bd0b21 Small refactor 2020-03-07 17:26:34 -05:00
Chris Hodapp 2c9a273540 Fix small bug in Twist 2020-03-06 19:15:08 -05:00
Chris Hodapp 111933c30e Some more notes and tried other examples with to_mesh_iter 2020-03-06 15:38:25 -05:00
Chris Hodapp 52914b2588 Fixed final_geom bug in to_mesh_iter
...but then found that to_mesh probably has the same bug
2020-03-06 14:59:53 -05:00
Chris Hodapp 94dabbee25 Got rid of EmptyRule 2020-03-06 10:36:17 -05:00
Chris Hodapp 7fd89b63b8 Add some more docs 2020-03-06 08:54:08 -05:00
Chris Hodapp 2fe37fc569 Mesh connection bug fixed! Just need to say why... 2020-03-05 21:58:57 -05:00
hodapp 313aa6203f Revert some of 120ede4b 2020-03-04 20:47:13 -05:00
Chris Hodapp 13279f61ed Add a note 2020-03-01 22:38:37 -05:00
Chris Hodapp 120ede4b1b Try some restructuring that wasn't the problem? 2020-03-01 22:18:39 -05:00
Chris Hodapp 6a8f0e14c8 Progressed with to_mesh_iter (still not quite working) 2020-03-01 19:32:45 -05:00
Chris Hodapp cfae58bed6 My crap finally builds, though it's still wrong 2020-03-01 18:49:15 -05:00
Chris Hodapp 2dd056ad4a Scratch work 2020-02-29 10:47:44 -05:00
Chris Hodapp 4c626f6358 Trying type parameters instead 2020-02-27 21:51:34 -05:00
Chris Hodapp b454588f41 Added some helpers in util.rs 2020-02-23 20:54:24 -05:00
Chris Hodapp beff9d587b Fixed (ish) twist example 2020-02-22 20:25:09 -05:00
Chris Hodapp 56803bccf3 Added (broken) twist() example from Python 2020-02-22 19:16:52 -05:00
hodapp 58d83a03e6 Misc doc updates 2020-02-22 16:14:19 -05:00
hodapp 00a766bd24 Updated some more docs 2020-02-22 13:43:55 -05:00
hodapp 751df8274f Misc fix from last commit; move something to a reference 2020-02-22 12:11:42 -05:00
Chris Hodapp e37d49f7e0 Replaced 3-tuple with rule::Child; wrote some docs 2020-02-22 11:15:50 -05:00
Chris Hodapp c594538644 Fixed ram_horn example, slight refactor on to_mesh 2020-02-22 08:26:27 -05:00
Chris Hodapp 436cb0bbc4 Added some really badly-written mapping... fix it later 2020-02-21 22:34:07 -05:00
Chris Hodapp 751f772897 Fixed some examples, then broke them further.
I need to add in some sort of parent vertex mapping layer.
2020-02-21 21:46:26 -05:00
Chris Hodapp 19de80da81 Fixed curve_horn_* example a bit (still has 180 degree issue) 2020-02-21 20:31:20 -05:00