hasufell
|
3b079c94ff
|
Allow floating object around the center object
Former-commit-id: 7e35a8b2ef76b3e4160d28f273f038a08f6ad0eb
|
2014-06-13 15:41:27 +02:00 |
hasufell
|
034a8dd0be
|
Use vertices normals of the .obj file
Former-commit-id: a78c9ea77d8bbb6f7ec87a8937e6275001c5c804
|
2014-06-13 14:50:15 +02:00 |
hasufell
|
c895e3970f
|
Fix step factor calc in draw_bez()
|
2014-06-08 00:24:57 +02:00 |
hasufell
|
480da24de4
|
Replace glut with SDL2
|
2014-06-06 22:16:33 +02:00 |
hasufell
|
aa59033d28
|
Don't allow a negative ball speed
|
2014-06-02 00:13:15 +02:00 |
hasufell
|
919436f997
|
Set color of ball to green
|
2014-06-01 19:20:25 +02:00 |
hasufell
|
b24cef011c
|
Rm obsolete newline
|
2014-06-01 19:20:18 +02:00 |
hasufell
|
107db13e2e
|
Fix doxygen comments
|
2014-06-01 19:20:08 +02:00 |
hasufell
|
b01e00497d
|
Allow to draw frame and ball, small refactor
|
2014-06-01 19:12:07 +02:00 |
hasufell
|
f83b778323
|
Visualize the construction of the indermediate bezier control points
|
2014-06-01 18:17:11 +02:00 |
hasufell
|
ea8d08204c
|
Move bezier stuff to it's own module
|
2014-06-01 15:12:37 +02:00 |
hasufell
|
cabc8e8c09
|
Draw bezier curve
|
2014-06-01 02:13:45 +02:00 |
hasufell
|
a467ebc514
|
Draw Points as well for the curve
|
2014-05-31 18:54:28 +02:00 |
hasufell
|
5afe6e0bda
|
Improve drawing conditions
|
2014-05-31 18:51:41 +02:00 |
hasufell
|
1a107b455b
|
Allow to draw bezier curve (only the points)
|
2014-05-31 18:43:05 +02:00 |
hasufell
|
d3fe07c34d
|
Fix vsync
|
2014-05-17 17:24:29 +02:00 |
hasufell
|
b5b35992c6
|
Improve doxygen comments
|
2014-05-17 16:32:45 +02:00 |
hasufell
|
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 |
hasufell
|
9c35ee0159
|
Fix doxygen comments
|
2014-05-17 03:54:07 +02:00 |
hasufell
|
9e8b11f3bc
|
Update keyboard doc
|
2014-05-17 03:40:13 +02:00 |
hasufell
|
20533eea4b
|
Make normals a bit smaller and better to control
|
2014-05-17 03:32:14 +02:00 |
hasufell
|
a3bac07c2b
|
Add fps counter (by Malte)
|
2014-05-16 00:32:38 +02:00 |
hasufell
|
fd9d15c4ea
|
Add more user controls, draw faces as separate polygons
This also fixes drawing of open objects.
|
2014-05-15 18:33:43 +02:00 |
hasufell
|
5b53950def
|
More error handling improvements
|
2014-05-13 14:05:02 +02:00 |
hasufell
|
a1d3c3947e
|
Improve error handling
Basically be less fault tolerant. Added a lot of upper-case function
macros to use for fault-intolerant calls.
|
2014-05-13 13:47:13 +02:00 |
hasufell
|
a7c3fe4f82
|
Improve doxygen comments
|
2014-05-13 00:53:12 +02:00 |
hasufell
|
563b0a5814
|
Simplify condition
|
2014-05-12 23:38:27 +02:00 |
hasufell
|
d408b37eab
|
Draw normals in red
|
2014-05-12 23:02:22 +02:00 |
hasufell
|
fe2698470a
|
Improve normal calculation
Should now also work on more complex polygons with more than 3 adjacent
faces. Also allows us to get the face normals separately.
|
2014-05-12 23:02:10 +02:00 |
hasufell
|
58d4eb474e
|
Improve inline comments
|
2014-05-12 20:55:16 +02:00 |
hasufell
|
0fc3212f5a
|
Use fluorescent colors for the object
|
2014-05-12 20:55:02 +02:00 |
hasufell
|
6f678ccfe6
|
Cleanup
|
2014-05-12 20:20:17 +02:00 |
hasufell
|
da36cd20da
|
Implement vertex normals
|
2014-05-12 20:20:03 +02:00 |
hasufell
|
146223a144
|
Allow rotating back and forth
|
2014-05-12 19:49:52 +02:00 |
hasufell
|
ce4032f0be
|
Use vector member in HE_vert struct
|
2014-05-12 19:48:46 +02:00 |
hasufell
|
29b8b410d6
|
Restructure find_center()
* return bool for success/failure
* use an out-vector to store the result
* fix tests
|
2014-05-11 14:02:34 +02:00 |
hasufell
|
cf569224e0
|
Move some functions from gl_draw to half_edge
find_center() and get_normalized_scale_factor()
are not really related to drawing in it's own, but are
operation related to the HE_* structures
|
2014-05-10 21:05:08 +02:00 |
hasufell
|
7610843935
|
Add @file/@brief doc, merge parser into half_edge
|
2014-05-10 19:33:54 +02:00 |
hasufell
|
d90d6f4bd1
|
Restructure files
|
2014-05-10 19:16:13 +02:00 |
hasufell
|
71eae42e78
|
Improve function name, add static declaration
|
2014-05-09 19:52:21 +02:00 |
hasufell
|
f68eaed204
|
Fix doxygen comment
|
2014-05-09 19:50:56 +02:00 |
hasufell
|
d0dfba689b
|
Properly scale the objects before drawing
|
2014-05-09 19:47:05 +02:00 |
hasufell
|
6725dcf5ab
|
Make parameters const where possible
|
2014-05-09 17:53:25 +02:00 |
hasufell
|
7bc3d7230f
|
80 char limit
|
2014-05-09 17:53:16 +02:00 |
hasufell
|
9658f92b58
|
Rotate around the center of the object
|
2014-05-09 17:53:02 +02:00 |
hasufell
|
5bfce60f7e
|
Restructure file structure
|
2014-05-09 15:24:46 +02:00 |