Commit Graph

28 Commits

Author SHA1 Message Date
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