Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webgpu for web and native #632

Open
gedw99 opened this issue Jun 12, 2023 · 2 comments
Open

webgpu for web and native #632

gedw99 opened this issue Jun 12, 2023 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Jun 12, 2023

I am using webgpu for web and native.

I was wondering if there is interest in this ?

The WASM runners can easily be integrated client side

@gedw99 gedw99 changed the title webgpu webgpu for web and native Jun 12, 2023
@robertlong
Copy link
Contributor

Not sure exactly what you mean by this? We would like to write a WebGPU renderer at some point, but it's quite a bit of work. We likely would not use WASM for this.

@gedw99
Copy link
Author

gedw99 commented Jun 13, 2023

i am using this: https://github.com/rajveermalviya/go-webgpu.
Its using a rust webgpu lib and its quite fast.

https://github.com/rajveermalviya/gamen is the window layer.
Works on web, desktop and native. For web its wasm of course.

Golang has 2 different compilers for compiling to wasm. Tinygo and go. go 1.21.1 will have compliant WASI. There is now work towards WASIX also.

I am writing a 2D Scene graph for it, so you can describe forms, text, lists, scrolling with it.

But the idea i have was that the third room scene graph could be the 3d scene graph.
doc: https://thirdroom.io/docs/guides/websg/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants