3d-gl/readme.md

29 lines
882 B
Markdown
Raw Permalink Normal View History

2023-05-25 02:45:59 +02:00
wanted to learn about 3d rendering and how rendering engines work at the lower levels
2023-04-14 15:22:32 +02:00
2023-07-18 22:53:24 +02:00
(mostly) optimized build : `clang ./src/*.c -lm -lglfw -lGL -lGLEW -fno-trapping-math -ffast-math -L/usr/local/lib -I/usr/local/include`
2023-04-14 15:22:32 +02:00
2023-07-18 22:53:24 +02:00
debug/other build flags : -Dmemory_trace -Dstfu -D__debug -Dmemory_count
windows? you're on your own (though it should work)
2023-05-08 01:43:45 +02:00
2023-07-09 23:33:54 +02:00
once these todo tasks are done, i will most likely drop this project, drawing everything with triangles was a fun challenge but,
it will simply make other things (ie, color, collisions, z-buffering) impossible or more difficult and resource demanding.
2023-05-05 16:30:27 +02:00
# todo
2023-07-21 01:13:11 +02:00
- sort stuff into files better:3
2023-07-09 23:33:54 +02:00
- z-buffer
2023-05-05 19:18:11 +02:00
2023-07-09 23:33:54 +02:00
- (not likely) moving parts
2023-05-12 15:00:58 +02:00
2023-07-09 23:33:54 +02:00
- (maybe) auto separate colliding polygons
2023-05-11 02:04:18 +02:00
2023-07-18 22:53:24 +02:00
- fix transparency
2023-05-11 02:04:18 +02:00
2023-05-05 16:30:27 +02:00
# known issues
2023-07-21 01:13:11 +02:00
- ordering is now only barely fucked (WITH MEMORY LEAKS, for now)
2023-07-09 23:33:54 +02:00
- [limitation] no colliding polygons (todo)