Coder Social home page Coder Social logo

Update to wgpu-rs 0.5. about learn-wgpu HOT 11 CLOSED

sotrh avatar sotrh commented on August 30, 2024
Update to wgpu-rs 0.5.

from learn-wgpu.

Comments (11)

sotrh avatar sotrh commented on August 30, 2024 2

I'm in process of updating. It might take awhile.

from learn-wgpu.

Phaiax avatar Phaiax commented on August 30, 2024

CullMode must be wgpu::CullMode::None in tutorial 3 with wgpu-rs 0.5

from learn-wgpu.

tasgon avatar tasgon commented on August 30, 2024

Also, for the swapchain tutorial, wgpu::Adapter::{request, request_device} is async now, so you'll likely need futures

from learn-wgpu.

Phaiax avatar Phaiax commented on August 30, 2024

CullMode must be wgpu::CullMode::None in tutorial 3 with wgpu-rs 0.5

Oh my innocent past self 😄
Not that I know what CullMode is, I can say that the y axis direction has changed. (That means that my triangle was upside-down but i did not notice that^^. But it looks much cooler that way, anyway.)

Still innocent regards, Daniel

from learn-wgpu.

shika-blyat avatar shika-blyat commented on August 30, 2024

I'd like to help, but i don't want to do the work twice, could you list tutorials you already updated, tutorials you're still working on and tutorials that i (and other potential contributors) could update ?

from learn-wgpu.

Cupnfish avatar Cupnfish commented on August 30, 2024

I wanted to update it before,but there's a bug in the wgpu document.

from learn-wgpu.

shika-blyat avatar shika-blyat commented on August 30, 2024

the bug is now fixed, you can build the doc locally, even if it doesn't work on crates.io doc instance yet

from learn-wgpu.

Cupnfish avatar Cupnfish commented on August 30, 2024

Ok,I see that @sotrh has started writing a branch called 0.5.
In order not to overlap with his work, I started upgrading the Wgpu from the latter part.

from learn-wgpu.

sotrh avatar sotrh commented on August 30, 2024

I merged you're changes @YRainbbbb. I'm working on tutorial 6 (the camera/uniforms one) currently

from learn-wgpu.

sotrh avatar sotrh commented on August 30, 2024

I'm going to make a final pass through the main tutorial code. If any one wants to help with the migration, the showcase folder is still needs to be updated.

from learn-wgpu.

sotrh avatar sotrh commented on August 30, 2024

Be aware that I'm using wgpu = 0.5.0. Using the GitHub url might be more up to date, but it provides an inconsistent experience for readers as the version currently on the wgpu repo might differ from the code in the tutorials. Given how how often the code has been changed, I feel it's best to lock the tutorial down to the latest stable version.

from learn-wgpu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.