Commit Graph

46 Commits

Author SHA1 Message Date
Stephen M. McQuay 285c6c7254 First functioning pass at connectivity.
- added unittests (passing)
    - updated run script to take int for number of subds
2012-07-13 15:33:24 -06:00
Stephen M. McQuay 2b3ab866b2 removed julython test file 2012-07-13 08:43:36 -06:00
Stephen M. McQuay 3f927477e9 added unittest to verify good connectivity generation; should be failing tests 2012-07-13 08:43:08 -06:00
Stephen M. McQuay 70f274e96c test push to julython 2012-07-11 10:17:15 -06:00
Stephen M. McQuay 889cdf201c added inner-face edges and all new faces 2012-06-23 10:50:17 -07:00
Stephen M. McQuay 719bc94e8c first crack at adding edges between new verts 2012-06-22 21:10:15 -07:00
Stephen M. McQuay dee1889d81 started adding edge connectivity 2012-06-22 20:52:02 -07:00
Stephen M. McQuay 6b21fd80cb changed import so it would work 2012-06-08 11:57:22 -06:00
Stephen M. McQuay 7559887e0f update tests to unittest2 (or unittest py2.7) 2012-06-08 11:47:19 -06:00
Stephen M. McQuay a45c84c183 Started adding connectivity generation
- also added a test file in the blender folder
2012-06-07 22:24:52 -06:00
Stephen M. McQuay cfbde60480 added vertex calcs for simple butterfly 2012-05-30 22:57:56 -06:00
Stephen M. McQuay 23f343a608 added Vertex method to allow for += 2012-05-30 22:57:26 -06:00
Stephen M. McQuay d05b5164b2 Updated files to support py3 2012-05-29 17:33:28 -06:00
Stephen M. McQuay 2355deec9f Stubbed out subd.butterfly and added testing script 2012-05-29 17:33:15 -06:00
Stephen M. McQuay 7d46bb64bd raise right error 2012-05-29 13:09:51 -06:00
Stephen M. McQuay 88cfd0f6a6 one of the asserts was incorrect ... perhaps the other one can be removed? 2012-05-18 01:01:23 -06:00
Stephen M. McQuay 7d89a5778b got cc working 2012-05-18 00:59:04 -06:00
Stephen M. McQuay dd6148ef52 fixed some pep8 violations 2012-05-16 00:00:58 -06:00
Stephen M. McQuay 1a317781cf added real tests to the subd.cc.TestCC class 2012-05-15 23:51:48 -06:00
Stephen M. McQuay 71f99ba58d added meaningful subd vert test 2012-05-15 22:57:44 -06:00
Stephen M. McQuay e0460a0b8d trying to spell things more clearly in cc 2012-05-15 17:43:41 -06:00
Stephen M. McQuay d372620283 removed stray pdb call 2012-05-15 17:35:35 -06:00
Stephen M. McQuay 14a5128d8d refined the PolygonMesh constructor 2012-05-15 17:35:00 -06:00
Stephen M. McQuay 66a688fa75 added another Vertex division test 2012-05-15 17:25:11 -06:00
Stephen M. McQuay 544a570629 Changed the Vertex class to inherit from list
- allows for simpler jsonification
2012-05-10 08:51:52 -06:00
Stephen M. McQuay a00f1cb59a cc: update old verts 2012-05-09 23:20:23 -06:00
Stephen M. McQuay 198a7d7ca8 Fixed bug in my CC implementation
- Wasn't calculating faces for a give original vert correctly
    - vertices generated by surf.subd.cc.refine look about right
    - still missing edge and face connectivity
2012-05-09 09:24:26 -06:00
Stephen M. McQuay ba1ec89c27 In the middle of implementing Catmull-Clark 2012-05-09 00:32:34 -06:00
Stephen M. McQuay f69f9e0224 pep8/pyflakes violations 2012-05-07 23:36:12 -06:00
Stephen M. McQuay c324fb281f refactor of Polygon to PolygonMesh 2012-05-07 23:30:36 -06:00
Stephen M. McQuay 6c516e26fc updated the surf.geometry module to better map to blender primatives 2012-05-07 23:21:31 -06:00
Stephen M. McQuay a083621d35 Updated file so that it could pass pep8/pyflakes
- left in borked state
2012-05-07 23:19:54 -06:00
Stephen M. McQuay 166e3719be Added something reasonable for `from surf import *` 2012-05-07 23:18:18 -06:00
Stephen M. McQuay fef3609399 moved tests to be submodule of surf 2012-05-07 23:17:46 -06:00
Stephen M. McQuay d117dacf08 Added sample json files.
- removed the older util.py module
2012-05-07 23:17:29 -06:00
Stephen M. McQuay 475b9dd25d got vertex tests to pass again 2012-05-07 21:06:39 -06:00
Stephen M. McQuay 3e9299d4b7 merge 2012-05-05 19:16:24 -06:00
William Blattman 2bbeeb0b07 not working, but some work done to fix cc methods 2012-04-16 00:11:27 -07:00
Stephen M. McQuay 27db460657 changed perms for a module to 644 2012-04-14 21:09:04 -06:00
Stephen M. McQuay 8c265bf819 Removed some binary files 2012-04-14 21:00:55 -06:00
William Blattman 9a37d67ae7 nothing 2012-04-14 19:35:05 -07:00
Stephen M. McQuay a4d9129d77 Vertex now uses true division instead of casting RHS to float
- updated tests
2012-03-22 10:09:14 -06:00
Stephen M. McQuay 93891b917b Moved documentation, and added more operators to Vertex
- added __neg__
    - added cross for Vertex * Vertex
    - added tests for these
    - moved the cube docstring up into the cube generating function
2012-03-20 07:16:15 -06:00
Stephen M. McQuay 9a5fc54f12 Cleaned up some pep8 violations
- changed camelCase variables to under_case
    - wrapped lines that were longer than 80 chars
    - used @property decorator
    - changed the cc refine test to print before running refine
        - refine seems to be destructive
2012-03-19 22:56:12 -06:00
Stephen M. McQuay 62efeb12b3 cleaned up some pep8/pyflakes violations 2012-03-19 22:18:02 -06:00
Stephen M. McQuay 2f4d648f55 Refactored into modules and test scripts. 2012-03-19 20:38:40 -06:00