Commit Graph

161 Commits

Author SHA1 Message Date
99863ddcdd Fix memory leak when there is no face 2014-06-01 02:12:49 +02:00
a467ebc514 Draw Points as well for the curve 2014-05-31 18:54:28 +02:00
5afe6e0bda Improve drawing conditions 2014-05-31 18:51:41 +02:00
b87a001ac5 Improve readability 2014-05-31 18:43:35 +02:00
74f0af7a07 Add bezier objects 2014-05-31 18:43:20 +02:00
1a107b455b Allow to draw bezier curve (only the points) 2014-05-31 18:43:05 +02:00
cbbffc247b Add bezier curve to test cube 2014-05-31 17:38:43 +02:00
2df200fce8 Update doxygen comments 2014-05-31 17:38:18 +02:00
a1be0803a6 Fix segfault in case we don't have any bezier curves 2014-05-31 17:37:06 +02:00
81e8aa0552 Allow to read bezier curves 2014-05-31 17:32:40 +02:00
hasufell
6e31ec91fd Fix finding dummy edge pairs 2014-05-19 18:14:04 +02:00
hasufell
4c20bca7e9 Improve doxygen comments 2014-05-19 18:13:51 +02:00
f65021dfac Add missing doxygen comment 2014-05-17 18:42:30 +02:00
c8d9d410cf Improve doxygen settings, use subdir 2014-05-17 18:12:37 +02:00
d3fe07c34d Fix vsync 2014-05-17 17:24:29 +02:00
b5b35992c6 Improve doxygen comments 2014-05-17 16:32:45 +02:00
31d2bc5842 Add nude body 2014-05-17 16:26:09 +02:00
63510a02e7 Convert to unix line endings 2014-05-17 16:25:34 +02:00
acadb1161c Be more fault tolerant for drawing normals
Some open data structures are not yet supported
with vertex normals. Avoid infinite loop for those and
just draw what we got.
2014-05-17 14:55:46 +02:00
a677668418 Free obj_f_vt if we don't need it 2014-05-17 14:18:58 +02:00
01a214aa01 Merge branch 'master' of ssh://gitlab.hasufell.de:22022/hasufell/cg3 2014-05-17 14:14:00 +02:00
090f1ac2ba Add TODO 2014-05-17 14:12:20 +02:00
2f52351cbf Refactor
Use a separate accelertion struct for HE_vert.
Don't use so long parameter lists, introduce obj_items
data structure.
2014-05-17 14:07:34 +02:00
hasufell
f84e62141e Fix typo in make clean 2014-05-17 04:07:29 +02:00
9c35ee0159 Fix doxygen comments 2014-05-17 03:54:07 +02:00
24336aefb2 Add make check target 2014-05-17 03:53:42 +02:00
85064e2f0c Rm obsolete casts 2014-05-17 03:44:19 +02:00
9e8b11f3bc Update keyboard doc 2014-05-17 03:40:13 +02:00
20533eea4b Make normals a bit smaller and better to control 2014-05-17 03:32:14 +02:00
cb54d54e2c Set window title 2014-05-17 03:31:56 +02:00
03440fa469 Improve inline doc 2014-05-17 03:05:19 +02:00
0659288497 Fix doxygen comments 2014-05-17 02:59:43 +02:00
bf7b86845e Save texture coordinates as well 2014-05-17 02:52:00 +02:00
a451979501 Re-refactor
Let's keep this speed-optimized, even though
we want to achieve high readability.
2014-05-17 01:22:05 +02:00
a9bd5ae144 Fix doxygen file comment 2014-05-16 20:20:42 +02:00
cd864fa1ba Move half-edge assembler to separate .c file 2014-05-16 20:10:43 +02:00
dfd978f714 Refactor parse_obj() and move some subroutines to new functions 2014-05-16 19:57:43 +02:00
0ecd0d8e9f Merge branch 'master' into refactor
Conflicts:
	src/half_edge.c
2014-05-16 19:15:29 +02:00
f62e280cea Reimplement dummy-edge logic
This will also work for more complex structures such as
testscube2_mitSpitze_offen.obj.
2014-05-16 19:04:38 +02:00
29f06e91f4 Add testcube .obj for non-trivial normals 2014-05-16 19:04:22 +02:00
8ec744867c Remove obsolete usleep call in gl_draw.c 2014-05-16 15:09:27 +02:00
852cb7cca5 Add more .obj files for testing normals 2014-05-16 15:09:14 +02:00
69dc76a59e Finalize consistency tests 2014-05-16 15:08:51 +02:00
49dc760681 Merge branch 'master' into refactor 2014-05-16 14:53:47 +02:00
a2b604de2f Finalize half-edge consistency tests 2014-05-16 01:11:21 +02:00
a3bac07c2b Add fps counter (by Malte) 2014-05-16 00:32:38 +02:00
be95307ceb Rm trailing whitespace in barcelona chair 2014-05-16 00:16:34 +02:00
15e5ab1c23 New fill_vertices() method, simplify some data types 2014-05-16 00:15:29 +02:00
491a5fbe91 Finish up the new parsing modules 2014-05-15 22:42:22 +02:00
23dbcf2c58 Improve allocation logic 2014-05-15 19:04:51 +02:00