Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
organization
The repository for the group policies, style guides, and easy access to the projects statuses
In case you want to have a look, the full implementation is only slightly over 600 lines of code, including lots of comments and necessary boilerplate: https://github.com/setzer22/blackjack/blob/main/src/mesh/halfedge/compact_mesh.rs
I did some googling and found this
This sort of reminds me of opensubdiv (https://github.com/PixarAnimationStudios/OpenSubdiv).
I'm working with a group of people to create Rust bindings for libraries like this, so if you're interested in creating Rust bindings for it, then I'll be happy to help facilitate that. (https://github.com/vfx-rs/organization)
So, I tried just following instructions and did this: https://github.com/Shchvova/blackjack/tree/wasmRun
I managed to add browser logging and figured out that rend3::create_iad fails because I built it for WebGL and rend3 would work only with WebGPU. I disabled webgl so wgpu now targets WebGPU, but still can't get it to work.
Related posts
- Why is the WebGPU Shading Language (WGSL) syntax based on Rust?
- Denox: A JavaScript runtime for gamedev written in Rust.
- wgpu 0.15 and naga 0.11 released!
- [Help] wgpu: 10s to load :(
- Veloren 0.14 release, a multiplayer voxel action-RPG written in Rust, with an in-game release party happening at 18:00 GMT