1362 Commits
Author SHA1 Message Date
a-day-old-bagel f4ccaeef58 zphysics: code style changes + monolith: updates for zig version 0.11.0-dev.3859. 2023-07-07 20:55:40 -06:00
a-day-old-bagel a48d0242fe monolith: Added collection mechanic, reached finished state for now 2023-07-07 20:50:00 -06:00
a-day-old-bagel a3fc95b64c monolith: added camera collisions 2023-07-07 20:49:59 -06:00
a-day-old-bagel 3031a4964c monolith: DebugRenderer working. 2023-07-07 20:49:24 -06:00
a-day-old-bagel 9814f1778f monolith: lights are physics spheres, rendering updated. 2023-07-07 20:49:11 -06:00
a-day-old-bagel fddd9b2db1 monolith: fixed reflections 2023-07-07 20:48:58 -06:00
a-day-old-bagel d59a7fe371 monolith: demo is prettier, debug rendering in progress 2023-07-07 20:40:04 -06:00
a-day-old-bagel f6252a8c41 monolith: Created monolith sample to demonstrate physics debug
rendering.
2023-07-07 20:37:03 -06:00
Michal Ziulek 31da523af1 Updated to the latest Zig compiler (0.11.0-dev.3859). 2023-06-27 13:28:12 +02:00
Michal Ziulek ef83560d6a Updated to the latest Zig compiler (0.11.0-dev.3833). 2023-06-26 23:34:17 +02:00
Owen Smith 0bdafc94be Fix audio_experiments_wgpu overflowing resource pool
This sample panics after a few mins due to full resourcepool (assertion` in `addResource`). Just destroying the referenced obj leaves the handle live in the pool; using `gctx.destroyResource` will remove from pool and call obj `destroy()`
2023-06-22 23:29:38 +01:00
Anders Elfgren e3fd487093 Updated to the latest Zig compiler (0.11.0-dev.3737). 2023-06-21 22:25:06 +02:00
Michal Ziulek 6f39632dac Updated to the latest Zig compiler (0.11.0-dev.3681). 2023-06-18 14:48:39 +02:00
Average Joe 7f5400526d Fully fix issue 318: std.math.max, std.math.min deprecated 2023-06-17 22:53:18 -07:00
kamidev 1ec2a5a980 Fix issue 318: std.math.max, std.math.min deprecated 2023-06-17 12:31:31 +02:00
Anders Elfgren f8ebe3e6ce Merge branch 'michal-z:main' into main 2023-05-17 20:17:00 +02:00
Anders Elfgren 4d25ea9d1c zphysics: Add return value to JPC_PhysicsSystem_Update. 2023-05-17 20:16:50 +02:00
Michal Ziulek 15a33c7499 Fixed compile errors when using latest compiler. 2023-05-15 19:41:04 +02:00
Michal Ziulek e9e031fa03 Fixed compile errors. 2023-05-01 16:49:20 +02:00
Michal Ziulek 6492ab074e Updated to the latest Zig compiler (0.11.0-dev.2892). 2023-04-30 19:23:28 +02:00
Michal Ziulek bcb91eecf9 Merge pull request #286 from Srekel/cubemaps
Add support for loading cubemaps from DDS files
2023-04-22 19:55:10 +02:00
Giuseppe Modarelli 975c36a096 zd3d12: Add a args struct to createAndUploadTex2dFromDdsFile 2023-04-22 16:42:33 +02:00
Giuseppe Modarelli 2a4cd6cbf0 zd3d12: code cleanup 2023-04-22 08:05:24 +02:00
Michal Ziulek 1b3b59741d minimal_gl: Fixed compile error. 2023-04-10 23:12:01 +02:00
Michal Ziulek 9b9931089c Build system: Final simplification. User just needs to call package() and link(). Updated docs (minor breaking change, sorry). 2023-03-21 14:31:21 +01:00
Michal Ziulek 165f9dad8d Updated to the latest Zig compiler (dev.2154+ required). 2023-03-19 00:57:09 +01:00
Michal Ziulek 2ce87f5483 root build.zig: Simplification (1/N). 2023-03-17 20:08:02 +01:00
Michal Ziulek b6bffd6740 minimal_gl sample app: Moved 'addModule()' and 'link()' calls to private build script. 2023-03-17 18:08:05 +01:00
Michal Ziulek 42dce6f4be Renamed 'minimal sdl' sample app to 'minimal gl'. 2023-03-14 21:10:57 +01:00
Michal Ziulek d00756990e Renamed 'minimal' sample app to 'minimal d3d12'. 2023-03-14 20:59:03 +01:00
Michal Ziulek 2ca0293cc7 bindless sample app: Removed .PNG textures (we now use .DDS). 2023-03-01 09:57:00 +01:00
Michal Ziulek 22bb6ba5c2 bindless sample app: Tweaked shader code. 2023-03-01 09:40:06 +01:00
Giuseppe Modarelli ef8bb66eb1 Merge branch 'main' into dds-textures 2023-02-28 12:48:58 +01:00
Giuseppe Modarelli ea2b721eb4 Remove DDS textures 2023-02-28 12:47:48 +01:00
Michal Ziulek 169e8f25e5 bindless sample app: Added DDS textures. 2023-02-28 12:44:32 +01:00
Giuseppe Modarelli 180b3e6249 Fix memory corruption issues (thank you Michal!) 2023-02-28 12:42:16 +01:00
Giuseppe Modarelli 7e4eb3ea9f Regenerated DDS textures 2023-02-27 18:16:01 +01:00
Giuseppe Modarelli 5d5eb94da0 Delete DDS textures 2023-02-27 18:14:56 +01:00
Giuseppe Modarelli 1a78a4672e Regenerated DDS with mip maps 2023-02-27 18:08:47 +01:00
Giuseppe Modarelli b51d2af5fd Track dds files with git-lfs and regenerate the textures 2023-02-27 17:11:02 +01:00
Michal Ziulek 2d67fc65ba zsdl: getDisplayMode() can return error. getWindowSize() and gl.getDrawableSize() now return values by pointers (user can pass null). 2023-02-26 22:12:52 +01:00
Michal Ziulek f49a0603d0 zstbi: Image.init() -> Image.loadFromFile(), Image.initFromData() -> Image.loadFromMemory(). 2023-02-26 14:11:38 +01:00
Michal Ziulek 9da2accfc7 Merge pull request #221 from gmodarelli/zmesh-simplify
zmesh simplify
2023-02-26 12:59:10 +01:00
Michal Ziulek b9bd93201e minimal_sdl: Print window size and drawable size. 2023-02-25 00:03:07 +01:00
Giuseppe Modarelli 139e3635f8 finishGpuCommands() around every DDS texture upload 2023-02-24 22:03:13 +01:00
Giuseppe Modarelli c71f29d891 Use the bindless sample to test DDS texture loading
I need to to start a new frame when I upload a DDS texture otherwise it ends up corrupted
2023-02-24 21:57:33 +01:00
Giuseppe Modarelli ba8c9f9a8d bindless: use zmesh.opt.simplifySloppy to create LODs 2023-02-24 15:52:23 +01:00
Michal Ziulek df86a1b092 minimal_sdl: Enabled DPI awareness. 2023-02-24 13:51:02 +01:00
Michal Ziulek 28851732fd minimal_sdl: Tweaks. 2023-02-23 18:39:53 +01:00
Michal Ziulek 5417e67f9f minimal_sdl: Added clear. 2023-02-23 18:27:36 +01:00