Why learning wgpu in rust is so convoluted and difficult? #619
Replies: 2 comments 1 reply
-
|
What are you struggling with specifically? What kind of visualizations are you trying to do? WGPU can feel overwhelming coming from OpenGL as WGPU doesn't make decisions for you. It expects you to tell it everything you want it to do. So to reiterate, where have you gotten stuck? |
Beta Was this translation helpful? Give feedback.
-
|
I managed to write a viewer based on your examples: https://github.com/petrasvestartas/wgpu_viewer. Now, both the web and local viewers are working. The problem is that the project has become so large — the main lib.rs file is over 2000 lines — that I can no longer manage it easily. It’s essentially a patchwork of examples for both web and native viewers. I no longer know how to properly split the code into manageable pieces. I’ve given up and feel like starting from scratch. Learning how to develop for a web-based viewer has been extremely difficult. I’ve tried to follow various online tutorials, but they often don’t work as expected, and you always have to piece them together from other resources. In the end, I used examples as a starting point, but since they’re fully complete, it’s hard to understand what each part actually does. Honestly, I feel completely lost... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am spending a good 2 months on this. It is hard and making visualization ready apps becomes very cumbersome.
Can anyone create new tutorials?
Beta Was this translation helpful? Give feedback.
All reactions