Commit graph

627 commits

Author SHA1 Message Date
c74daa5d9a Support turning on asan & ubsan from cmake options 2021-01-15 18:03:41 +03:00
e0afe8b935 Implement async::executor::wait_all 2021-01-15 17:59:46 +03:00
e558799702 Fix gfx::light/dark: shouldn't affect color alpha 2021-01-15 17:59:25 +03:00
4f0b804656 Add scalar-interval distance function 2021-01-15 17:58:54 +03:00
d891d21ec2 Support 0-dimensional vectors 2021-01-15 17:58:20 +03:00
c525383a42 Add matrix stream output operator 2021-01-15 17:57:58 +03:00
918858aea5 Support different types of interpolated object & interpolation coefficient in geom::lerp 2021-01-15 17:57:37 +03:00
863b251903 Support setting volume data size in cloud example 2021-01-15 17:56:56 +03:00
b0b2975efc Use shadow blurring in deferred rendering 2020-12-19 22:39:04 +03:00
bd5622fc3b Use previous frame's transform for depth pre-pass in deferred renderer 2020-12-19 22:39:04 +03:00
91f693ed6e Update examples 2020-12-16 11:17:48 +03:00
d34d712fa3 2D physics example (wip) 2020-12-16 11:05:29 +03:00
415616534e 2D water simulation example (wip) 2020-12-16 11:05:29 +03:00
22f5b85854 Node-based binary heap (wip) 2020-12-16 11:05:29 +03:00
2875cb468d Physics engine 2d: accelerate collision detection be sorting bboxes on x-coordinate 2020-12-16 11:05:29 +03:00
9c54f6e730 Add function profiling macro 2020-12-16 11:05:29 +03:00
50cc785998 Get elapsed time before locking mutex in profiler 2020-12-16 11:05:29 +03:00
76c714b158 Add geom::box::full 2020-12-16 11:05:29 +03:00
c2b0c6e41e Remove obsolete debugging code 2020-12-16 11:05:29 +03:00
2e81763d5a Physics engine 2d: properly apply explosion impulse 2020-12-16 11:05:29 +03:00
b6a68b8e1a Physics engine 2d: refaactor collisions to 3 functions 2020-12-16 11:05:29 +03:00
eff7be5653 Redesign profiler: hierarchical, thread-aware, dump into log::info upon request 2020-12-16 11:05:29 +03:00
ce4e561cac Support merging two util::statistics 2020-12-16 11:05:29 +03:00
7751d6fd36 Add util::statistics::count 2020-12-16 11:05:29 +03:00
8061b973de Physics 2d example wip 2020-12-16 11:05:29 +03:00
9d1ba342fc Physics engine: implement collision resolution in order of importance 2020-12-16 11:05:29 +03:00
a75b8710de Physics engine: always resolve penetration, but apply impulse only on approach velocity 2020-12-16 11:05:29 +03:00
b2b6d18dd0 Add matrix unary minus 2020-12-16 11:05:29 +03:00
dcaff99b75 Physics engine 2d: support retrieving object info 2020-12-16 11:05:29 +03:00
3b141aa84d Physics engine 2d: extract generic convex-convex collision detection, use for boxes 2020-12-16 11:05:29 +03:00
980d3e856b Add explosion effect in 2d physics engine 2020-12-16 11:05:29 +03:00
7cf2a1d5ca Add 10-10-10-2 pixel type 2020-12-15 09:45:41 +03:00
42afb1692b Deferred renderer: support retrieving depth buffer 2020-12-14 14:12:43 +03:00
271a3d1b6e Deferred renderer: clear dest buffer before rendering 2020-12-14 14:12:09 +03:00
2b1e772870 Make gfx::painter set up OpenGL state 2020-12-14 13:44:25 +03:00
ffd3c6a6e8 Fix bump mapping 2020-12-13 23:45:17 +03:00
f10f301443 Deferred renderer: support a background generation callback 2020-12-13 23:20:41 +03:00
57e8aa39af Support more than one argument in fractal octaves construction 2020-12-13 22:40:41 +03:00
b7fdc4959e Support sampling 3D texture generators 2020-12-13 22:40:17 +03:00
f3184a0f62 Deferred renderer: don't fill pixels with no geometry unless clear color was set 2020-12-13 19:06:19 +03:00
ac3ab3b0c6 Fix comment typos 2020-12-13 19:02:20 +03:00
c06c1b5155 Deferred renderer: specify that clear color alpha is ignored 2020-12-13 19:02:10 +03:00
eb64c00a02 Add debug shadow cascades highlighter 2020-12-13 18:45:32 +03:00
deba82adee Deferred renderer: ssao tweaks 2020-12-13 18:37:57 +03:00
953544718c Implement bump-mapping in deferred renderer 2020-12-13 16:11:00 +03:00
2a3337a912 Implement bump-mapping in pcg 2020-12-13 16:10:40 +03:00
e1b1030160 Fix pcg::blur 2020-12-13 16:10:28 +03:00
ed4d75c498 Support setting cascade map splits in light options 2020-12-13 13:24:55 +03:00
547b7e8a31 Implement negating an interval 2020-12-13 13:24:21 +03:00
4dbfa40d77 Deferred renderer: implement cascaded shadow maps 2020-12-13 00:48:18 +03:00