Commit Graph

22 Commits

Author SHA1 Message Date
hasufell 034a8dd0be Use vertices normals of the .obj file
Former-commit-id: a78c9ea77d8bbb6f7ec87a8937e6275001c5c804
2014-06-13 14:50:15 +02:00
hasufell 2552912e96 Fix bezier allocations
Former-commit-id: 588d1e5215bfd031832922394a7ddbe536e0917d
2014-06-08 04:24:25 +02:00
hasufell a9ddb5622b Convert the rest to conditional reallocs
Former-commit-id: fb7bc22c43ee7c635f17f061c2de3fc0b21cbb83
2014-06-08 02:45:22 +02:00
hasufell ae45cf8627
Rm obsolete check 2014-06-07 02:25:52 +02:00
hasufell 2df0e3eff8
Reallocate in chunks in assemble_obj_arrays() 2014-06-07 01:59:23 +02:00
hasufell 99863ddcdd
Fix memory leak when there is no face 2014-06-01 02:12:49 +02:00
hasufell 1a107b455b
Allow to draw bezier curve (only the points) 2014-05-31 18:43:05 +02:00
hasufell 2df200fce8
Update doxygen comments 2014-05-31 17:38:18 +02:00
hasufell a1be0803a6
Fix segfault in case we don't have any bezier curves 2014-05-31 17:37:06 +02:00
hasufell 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 b5b35992c6
Improve doxygen comments 2014-05-17 16:32:45 +02:00
hasufell a677668418
Free obj_f_vt if we don't need it 2014-05-17 14:18:58 +02:00
hasufell 090f1ac2ba
Add TODO 2014-05-17 14:12:20 +02:00
hasufell 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 85064e2f0c
Rm obsolete casts 2014-05-17 03:44:19 +02:00
hasufell 03440fa469
Improve inline doc 2014-05-17 03:05:19 +02:00
hasufell 0659288497
Fix doxygen comments 2014-05-17 02:59:43 +02:00
hasufell bf7b86845e
Save texture coordinates as well 2014-05-17 02:52:00 +02:00
hasufell 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
hasufell a9bd5ae144
Fix doxygen file comment 2014-05-16 20:20:42 +02:00
hasufell cd864fa1ba
Move half-edge assembler to separate .c file 2014-05-16 20:10:43 +02:00