Commit Graph

25 Commits

Author SHA1 Message Date
Trammell hudson 26307b897d
filter on the height as well 2018-03-03 20:24:51 -05:00
Trammell hudson d6f1056f2f
restore the perspective computatoin 2018-03-03 16:12:49 -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 e04a5c9f37
split triangle and segment into separate headers 2018-03-01 23:00:01 -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 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 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 5431c81f6a
started on hidden wireframe renderer 2017-09-26 21:37:22 -04:00