Commit Graph

70 Commits

Author SHA1 Message Date
Stephen M. McQuay 2355deec9f Stubbed out subd.butterfly and added testing script 2012-05-29 17:33:15 -06:00
Stephen M. McQuay e85a99e95a added a simple tetrahedron for initial butterfly implementation tests 2012-05-29 16:47:10 -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 8b540012c1 Fixed some usability issues
- no objects made the buttons disappear
2012-05-08 21:13:25 -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 7d06a7037b didn't like the makefile anymore. goodbye 2012-05-07 23:21:01 -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 ef9485f8a6 documented how to run tests 2012-05-07 23:18:35 -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 4556eb9ad9 updated the blender script
- now it does import/export
    - it shows up in the menus
2012-05-05 20:44:48 -06:00
Stephen M. McQuay f8e1022932 Removed old test file (that keeps popping up...) 2012-05-05 20:44:45 -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 b427c1f31a Added a script to load up a mesh from the json file 2012-04-15 22:22:12 -06:00
Stephen M. McQuay 4fcdd0e454 Added file export for blender operator 2012-04-14 22:31:55 -06:00
Stephen M. McQuay 66754c0d04 updated blender dumper to be an operator. 2012-04-14 22:12:47 -06:00
Stephen M. McQuay 27db460657 changed perms for a module to 644 2012-04-14 21:09:04 -06:00
Stephen M. McQuay 994988fd5a removed another stray file 2012-04-14 21:08:38 -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 c1f7ee46bc updated blender mesh dumper to use bmesh module 2012-03-20 22:47:55 -06:00
Stephen M. McQuay 9521a11854 initial blender mesh dumper 2012-03-20 20:45:34 -06:00
Stephen M. McQuay c2b7cfaf4b added a file to help me not add superfluous files 2012-03-20 20:45:15 -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 84712d5613 forgot to add the file I said I added a few changesets ago 2012-03-19 22:33:23 -06:00
Stephen M. McQuay 12e82529a2 Added a makefile
- this is intended to be used for perfunctory repo cleanups and the like
    - should probably be replaced by some fabric script
2012-03-19 22:33:04 -06:00
Stephen M. McQuay 265f692b8e Removed old test file
- test using unittest can now be found in test.vertex
2012-03-19 22:27:35 -06:00
Stephen M. McQuay 62efeb12b3 cleaned up some pep8/pyflakes violations 2012-03-19 22:18:02 -06:00
Stephen M. McQuay 303dd9e8d0 moved the pdf into the documentation folder 2012-03-19 22:17:50 -06:00
Stephen M. McQuay a5f687bd32 added support for multiple authors in setup.py file ... as best I could figure 2012-03-19 21:53:32 -06:00