|
|
22726bc565
|
Fix spherical camera elevation angle
|
2020-08-31 10:20:19 +03:00 |
|
|
|
78fd6db86c
|
Add axes & sphere drawing for gfx::painter
|
2020-08-31 09:58:59 +03:00 |
|
|
|
cf6a8e98eb
|
Change spherical camera: now X is right, Y is forward, Z is up
|
2020-08-31 09:47:30 +03:00 |
|
|
|
695da47ade
|
Fix scene resize if scene changed when processing events
|
2020-08-31 09:47:04 +03:00 |
|
|
|
eb67ee846d
|
Implement simple text rendering in gfx::painter
|
2020-08-30 21:27:34 +03:00 |
|
|
|
3136c3b239
|
Add an istream class that wraps raw data buffer
|
2020-08-30 21:27:10 +03:00 |
|
|
|
3d3e6c583b
|
Refactor gfx::painter methods
|
2020-08-30 21:23:33 +03:00 |
|
|
|
ac505229ae
|
Use scene for draw & update calls instead of app
|
2020-08-30 21:22:12 +03:00 |
|
|
|
3dd8f3db61
|
Explicitly request 24-bit depth buffer
|
2020-08-30 21:21:54 +03:00 |
|
|
|
21b532062b
|
Add app::stop
|
2020-08-30 21:21:37 +03:00 |
|
|
|
e0c67d8043
|
Fix pixel attributes (std::array -> geom::vector)
|
2020-08-30 21:20:24 +03:00 |
|
|
|
dba0c78daf
|
Support reading PBM images & fix all Netpbm readers
|
2020-08-30 21:20:01 +03:00 |
|
|
|
44883e0226
|
Make segment & triangle aliases instead of subclasses
|
2020-08-30 21:19:16 +03:00 |
|
|
|
1590ec4ece
|
Move gfx/source/gfx -> gfx/source
|
2020-08-30 10:32:34 +03:00 |
|
|
|
dea7cbf32e
|
Move on_quit handler from scene to app
|
2020-08-30 10:24:22 +03:00 |
|
|
|
f2bfa3968e
|
Make examples compilation optional
|
2020-08-30 10:14:51 +03:00 |
|
|
|
da8d9550a7
|
Introduce app::scene & support changing scenes
|
2020-08-30 10:14:35 +03:00 |
|
|
|
91de56753b
|
Support app constructor arguments in app::main
|
2020-08-30 09:39:15 +03:00 |
|
|
|
6ec10e9463
|
Add a gravity example
|
2020-08-30 09:08:21 +03:00 |
|
|
|
08ab8c00a7
|
Add simple painter helper (wip)
|
2020-08-30 09:08:12 +03:00 |
|
|
|
98c3225f86
|
Add examples folder
|
2020-08-30 09:06:03 +03:00 |
|
|
|
19a2055385
|
Use 4x multisampling by default
|
2020-08-30 08:52:30 +03:00 |
|
|
|
de3f9cc8cc
|
Make sure app::on_resize gets called at least once
|
2020-08-30 08:51:55 +03:00 |
|
|
|
a6316d27f4
|
Add app::time
|
2020-08-30 08:49:29 +03:00 |
|
|
|
3ab93d21a7
|
Use ad-hoc pimpl instead of util::pimpl for app
|
2020-08-30 08:48:57 +03:00 |
|
|
|
ebe8ecfe55
|
Add a file with math constants
|
2020-08-30 08:47:02 +03:00 |
|
|
|
4d6f5d6f85
|
Add orthographic & window cameras
|
2020-08-30 08:46:42 +03:00 |
|
|
|
fd26d8a3a3
|
Fix shader program creation
|
2020-08-30 08:46:01 +03:00 |
|
|
|
532ac6fdf5
|
Fix mesh attribute stride calculation
|
2020-08-30 08:45:44 +03:00 |
|
|
|
30744dadeb
|
Support std::array mesh attributes
|
2020-08-30 08:45:11 +03:00 |
|
|
|
2d6b947809
|
Move pixmap from util to gfx
|
2020-08-30 08:44:53 +03:00 |
|
|
|
0424bae480
|
Remove gfx::vertex, setup meshes using attributes directly
|
2020-08-28 11:15:49 +03:00 |
|
|
|
f69fb7299e
|
Add app library
|
2020-08-28 11:14:40 +03:00 |
|
|
|
0d4563638b
|
Put build type in quotes to handle empty build type
|
2020-08-28 11:01:09 +03:00 |
|
|
|
61ac1a5d78
|
Fix resource compiler: add resource header to sources
|
2020-08-28 09:38:41 +03:00 |
|
|
|
beed7753d6
|
Add a 9x12 font to gfx
|
2020-08-28 09:30:04 +03:00 |
|
|
|
35ea62bb63
|
Add an embedded resource compiler tool
|
2020-08-28 09:29:39 +03:00 |
|
|
|
4964a3992e
|
Remove obsolete explicit libs list
|
2020-08-28 09:29:12 +03:00 |
|
|
|
24613010c8
|
Add logging library
|
2020-08-27 21:03:24 +03:00 |
|
|
|
8037f5a2f6
|
Fix linking psemek target to sublibs
|
2020-08-27 21:00:33 +03:00 |
|
|
|
211b9d7342
|
Properly destroy shaders & programs
|
2020-08-27 16:54:04 +03:00 |
|
|
|
6225f89f88
|
Uniformize code style & do a few code rearrangements
|
2020-08-27 16:49:46 +03:00 |
|
|
|
a2b1d90c48
|
List sublibraries automatically & create a top target that depends on everything
|
2020-08-27 15:35:19 +03:00 |
|
|
|
549f2ada41
|
Add util, geom, cg, pcg & gfx libs
|
2020-08-27 13:36:16 +03:00 |
|
|
|
51ae10fdc4
|
Initial commit
|
2020-08-27 10:47:30 +03:00 |
|