!waoZWxdJJQNrbqLfTI:matrix.org

Nim Game Development

3412 Members
The perfect place to discuss game development in Nim. Let's help each other out and test our games!11 Servers

Load older messages


SenderMessageTime
2 Feb 2023
@_discord_186489007247589376:t2bot.iosOkam!#9578 whats creating the infrastructure like. is it as low level as vulkan, where you need to tell it to do every single step or it doesnt? 03:53:50
@_discord_204328759715692544:t2bot.ioGumbercules https://alain.xyz/blog/raw-webgpu 03:53:58
@_discord_204328759715692544:t2bot.ioGumbercules mmm it's still involved - you have to create the instance, the adapter, the device and queues 03:54:12
@_discord_204328759715692544:t2bot.ioGumbercules but it's nowhere near as much boilerplate 03:54:17
@_discord_186489007247589376:t2bot.iosOkam!#9578 i see 03:54:21
@_discord_204328759715692544:t2bot.ioGumbercules there is a pretty good guide 03:54:21
@_discord_186489007247589376:t2bot.iosOkam!#9578 does it also always run on js/ts files, or can it be run native without web things? 03:55:32
@_discord_204328759715692544:t2bot.ioGumbercules https://sotrh.github.io/learn-wgpu/ is also good but rust 03:55:40
@_discord_204328759715692544:t2bot.ioGumbercules no, you can target native 03:55:48
@_discord_204328759715692544:t2bot.ioGumbercules in fact I am using features that will NOT work in the web currently (like bindless resources) 03:56:02
@_discord_204328759715692544:t2bot.ioGumbercules WebGPU dispatches to the native rendering API 03:56:26
@_discord_204328759715692544:t2bot.ioGumbercules see webgpu is the spec, wgpu is Mozilla's (so Rust's) implementation. Google has their own as well (Dawn) 03:57:10
@_discord_204328759715692544:t2bot.ioGumbercules wgpu-native is a C API over wgpu 03:57:26
@_discord_204328759715692544:t2bot.ioGumbercules and Dawn also has a C API, although it's shittier IMO than Mozilla's currently 03:58:07
@_discord_204328759715692544:t2bot.ioGumbercules it's tightly coupled with GLFW and lacks some extensions that Mozilla's already supports (like push constants and bindless resources) 03:58:24
@_discord_204328759715692544:t2bot.ioGumbercules https://github.com/Ruddle/oxidator - is a pretty neat little wgpu project 03:59:24
@_discord_204328759715692544:t2bot.ioGumbercules anywho, I gotta crash but I'll be around tomorrow if you have anymore questions / to share more about my progress 04:00:43
@elegantbeef:matrix.orgElegantbeefIt's funny how many these 'web' centric libraries/apis are fantastic for desktop04:01:08
@elegantbeef:matrix.orgElegantbeefwebgpu and wasm both are great targets for just general cross platform tools 😄04:01:42
@_discord_1069347172044255262:t2bot.ioAfrican Hunter joined the room.16:06:40
@_discord_204328759715692544:t2bot.ioGumbercules I admittedly don't know much about wasm, but I also don't see much of a reason to care about it unless I'm interested in targeting the web 16:55:51
@_discord_204328759715692544:t2bot.ioGumbercules Seems like it'd be just as much of a pain working around the complexities of wasm vs just targeting the platform you want to target directly 17:10:41
@_discord_204328759715692544:t2bot.ioGumbercules with gfx programming you're already in a world of pain - platform specific game code isn't THAT bad 17:11:08
@royills:matrix.org@royills:matrix.org joined the room.18:04:54
@elegantbeef:matrix.orgElegantbeef
In reply to @_discord_204328759715692544:t2bot.io
I admittedly don't know much about wasm, but I also don't see much of a reason to care about it unless I'm interested in targeting the web
Language agnostic scripting target that is sandboxed
21:21:10
@elegantbeef:matrix.orgElegantbeefAtleast that's my sole reason for caring21:21:19
@_discord_204328759715692544:t2bot.ioGumbercules makes sense 21:30:56
@_discord_279984454892519425:t2bot.ioKoldran changed their profile picture.21:44:13
@_discord_279984454892519425:t2bot.ioKoldran changed their display name from Koldran#7765 to Koldran.21:44:33
@nimbot:matrix.orgnimbot banned @royills:matrix.org@royills:matrix.org (spam).22:58:12

There are no newer messages yet.


Back to Room List