Commit Graph

135 Commits

Author SHA1 Message Date
Trammell hudson
d6f1056f2f
restore the perspective computatoin 2018-03-03 16:12:49 -05:00
Trammell hudson
a907622981
fix some disappearing line issues 2018-03-03 14:27:54 -05:00
Trammell hudson
eae31edb38
quiet down the output 2018-03-03 14:21:07 -05:00
Trammell hudson
8ae1fbf612
hidden wireframe works, change v3 api a little bit 2018-03-03 14:14:06 -05:00
Trammell hudson
a356ac6490
split tri.h into tri.c for test purposes 2018-03-02 20:00:51 -05:00
Trammell hudson
ea48ff38dc
stdlib for claloc 2018-03-02 20:00:32 -05:00
Trammell hudson
e04a5c9f37
split triangle and segment into separate headers 2018-03-01 23:00:01 -05:00
Trammell hudson
38fd7d66ff
adjust parameters and scale x, y and z 2018-03-01 22:59:31 -05:00
Trammell hudson
a9a5eaf59d
scale and flip 2018-02-28 22:23:40 -05:00
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