Commit Graph

126 Commits

Author SHA1 Message Date
Trammell hudson 8b8097253c
the perspective transform finally looks right 2018-02-28 22:07:51 -05:00
Trammell hudson 78de86f4a8
proper camera and perspective transform 2018-02-28 21:15:06 -05:00
Trammell hudson d48ffe52b4
fix list insertion bug and try to trim to a viewport 2018-02-28 21:14:52 -05:00
Trammell hudson 9c44ea9c58
prune small triangles 2018-02-28 18:02:53 -05:00
Trammell hudson c7504c0541
getoptified and made fov parameter 2018-02-27 13:13:58 -05:00
Trammell hudson 060a4d472d
proper lookat and perspective matrix 2018-02-27 08:21:49 -05:00
Trammell hudson 7391a667fe
transform and perspective works with lookat function, not sure about anything else 2018-02-26 23:30:39 -05:00
Trammell hudson d78175a07a
fix case where both segments must be infront 2017-10-16 19:46:08 -04:00
Trammell hudson d78914bd17
make the filtering adjustable 2017-10-07 15:23:49 -04:00
Trammell hudson 742240b078
removed dead debugging code, retained s->src for now 2017-10-07 15:14:31 -04:00
Trammell hudson 72634d0f11
replaced tri_inside with tri_find_z and it works! 2017-10-07 15:05:02 -04:00
Trammell hudson 8e82fb44c6
both inside case fixes 2017-10-07 14:29:37 -04:00
Trammell hudson fd64a1947d
compute coplanar-ness using the XYZ space triangles, not the camera projceted ones 2017-10-07 12:21:25 -04:00
Trammell hudson 5d9e0b3673
make backface and coplanar optional 2017-10-07 11:59:53 -04:00
Trammell hudson f2fe56eb86
it almost works. so close 2017-10-01 17:37:12 -04:00
Trammell hudson ae46476d09
lots of hacks, but it is starting to work 2017-10-01 14:52:43 -04:00
Trammell hudson d321a1e86d
splitting segments almost works 2017-09-28 21:52:15 -04:00
Trammell hudson 39dbd843f7
min/max functions 2017-09-28 21:52:06 -04:00
Trammell hudson 36aba4db78
z-sorted list of triangles 2017-09-27 08:19:21 -04:00
Trammell hudson a3815d7c4e
enable backface culling 2017-09-26 22:59:09 -04:00
Trammell hudson 6c13b35255
ignore dep files 2017-09-26 21:37:43 -04:00
Trammell hudson 5431c81f6a
started on hidden wireframe renderer 2017-09-26 21:37:22 -04:00
Trammell Hudson f1902ea0b7 getoptified, made show_model an optoin 2015-05-04 21:23:45 -04:00
Trammell Hudson 4237a942ce getoptified 2015-05-04 21:10:38 -04:00
Trammell Hudson 70caae1411 unify hole size 2015-05-04 20:31:32 -04:00
Trammell Hudson d292ac755e unify spacing 2015-05-03 19:21:11 -04:00
Trammell Hudson 85fabf505e allow either model or build plate output 2015-05-03 19:21:05 -04:00
Trammell Hudson 0829677f36 build plate 2015-05-03 17:46:51 -04:00
Trammell Hudson 85bc5f4846 corner points are in the right spot now 2015-05-03 17:14:20 -04:00
Trammell Hudson 95a03c11fc generate cylinders around each corner 2015-05-03 15:12:32 -04:00
Trammell Hudson 20c000492f project 3d into 3d (broken?) 2015-05-03 15:12:01 -04:00
Trammell Hudson 58de31c6cb rework corners program to import the STL and drill holes into it 2015-05-03 13:59:18 -04:00
Trammell Hudson 59fcdf949c mounting holes, rather than pegs 2015-03-07 17:45:25 -05:00
Trammell Hudson 976248e5f6 remove pegs, shift to origin 2015-03-07 13:20:12 -05:00
Trammell Hudson 95574e3530 size tweaks 2015-03-07 13:19:36 -05:00
Trammell Hudson d670c051af Merge branch 'master' of github.com:osresearch/papercraft 2015-03-07 12:47:49 -05:00
Trammell Hudson a8383cced0 move corners to inside of the face, rather than end-caps. 2015-02-22 17:32:06 -05:00
Trammell Hudson 0c3a89ff0f disable dot message 2015-02-22 15:10:51 -05:00
Trammell Hudson cae0923a93 increase eps 2015-02-16 15:00:26 -05:00
Trammell Hudson e34c2e2911 tweak sizes 2015-02-15 19:09:36 -05:00
Trammell Hudson f5f498010b tweak distances to match 2015-02-15 17:24:16 -05:00
Trammell Hudson 362f1bcc2e generate square slots 2015-02-15 16:57:37 -05:00
Trammell Hudson 07cf132687 generate inset polygon and mounting holes 2015-02-15 16:17:25 -05:00
Trammell Hudson f2031577f0 generate inset polygon and mounting holes 2015-02-15 16:17:08 -05:00
Trammell Hudson b5210c4d65 move inset into stl_3d 2015-02-15 16:13:32 -05:00
Trammell Hudson a6a08bf10a multmatrix works for faces! 2015-02-15 16:03:51 -05:00
Trammell Hudson a70a9e56d6 allow start vertex to be set 2015-02-15 16:03:41 -05:00
Trammell Hudson c2bc3de94e move sign into v3.h 2015-02-15 14:59:45 -05:00
Trammell Hudson 5b69edf5c4 move refframe into stl_3d 2015-02-15 14:55:43 -05:00
Trammell Hudson 2c416c81d8 move face tracing into stl_3d.c 2015-02-15 14:35:42 -05:00