Commit Graph

54 Commits (2898a72bc03091161f8042412a68cdaf8744b8bd)

Author SHA1 Message Date
Benjamin Hansen 2898a72bc0 switched to custom wasm-builder instead of wasm-pack for examples 1 year ago
erwanvivien ad1776684b
fix: typo indicdes -> indices 1 year ago
erwanvivien 2876a669f1
feat: added more information on obj_model setup 1 year ago
Narcha 94e6c383e0
Fixed missing `pub` in ModelVertex struct 2 years ago
disdamoe 03e905cc4d Fixed accidental indentation change 2 years ago
disdamoe 33bd66e368 docs for tutorials 1-9: typos, references to `main.rs` supposed to be to `lib.rs`, and readability changes 2 years ago
Kneasle 964ad9307b Fix indentation
In beginner chapter 9 'Model Loading', the `fn format_url(...)` line was
unnecessarily indented.  This PR also makes some minor reformatting
(presumably caused by changes to `rustfmt`).
2 years ago
tata e100c4052c fix tobj version 2 years ago
Ben Hansen 0a28699d00 web examples working with vuepress 2 years ago
Ben Hansen c269f46a0e testing some things 2 years ago
Ben Hansen b8b8444030 fixing some readme files and migrating the lighting code 2 years ago
Ben Hansen 3492bb703f working on tutorial9 2 years ago
sotrh be7aa893d6
Merge pull request #267 from nxsy/tutorial9-rgba-as-reference
Provide explanation why rgba is no longer a reference
3 years ago
sotrh fc9d31f87c
Merge pull request #268 from nxsy/tutorial9-import-trait
Explain why model::Vertex needs to be imported in tutorial 9
3 years ago
Neil Blakey-Milner 85fa2ccea9 Simplify the bind_group flow in tutorial 9 3 years ago
Neil Blakey-Milner 0821b6fd9a Explain why model::Vertex needs to be imported in tutorial 9 3 years ago
Neil Blakey-Milner 02e99b66ab Provide explanation why rgba is no longer a reference 3 years ago
Martino Fontana 11b24cebc5 model.rs: added "_bind_group" where appropriate 3 years ago
Ben Hansen 7c90669f89 migrated beginner tutorials 3 years ago
Ben Hansen 57d7eb763f migrated tutorial4 3 years ago
Martino Fontana b2b77294f6 Change "uniform" naming to "camera" 3 years ago
Martino Fontana c55ea96d0d Removed unnecessary .clone() 3 years ago
Martino Fontana 467cec5367 Removed unnecessary borrows 3 years ago
Martino Fontana b5af53b272 Simplify DrawModel and DrawLight lifetimes 3 years ago
Hugo Woodiwiss 67c9246b2f
Updated tutorial to work with tobj 3.0.x 3 years ago
Ben Hansen b160f28d48 tutorials 6-9 migrated 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d5ab40ade1
Merge pull request #151 from vigdail/patch-1
Tutorial 9. Texture::load() return type fix
3 years ago
Elijah C. Voigt bcc79b5e41 Misc typo and code fixes.
009: impl Vertex for ModelVertex was using the vertex_attr_array! macro.
009: RenderPipelineDescriptor has a `vertex` member not  `vertex_state`.
009: to_rgba() should be to_rgba8(), to_rgba is set to be deprecated.

010: BindGroupDescriptor has a `entries` member not `bindings`.
010: Remove re-declaration of mat4 model_matrix;
010: Prefer hard-coded [#.#; #] instead of `Foo::fn().into()`.
010: Clarify which shader frag/vert file changes are in.

011: Change Model::load return type to Result<Self>.
011: TextureDescriptor does not have a array_layer_count member.

012: Add .into() to calls in Uniforms::update_view_proj().
012: Dereference delta variable in State::input().

013: Add more changed lines to Model::load to avoid compiler yelling.
3 years ago
vigdail 9f254cc794
Tutorial 9. Texture::load() return type fix 3 years ago
sotrh a86a0cc7dc
Merge pull request #138 from dakizu/patch-1
Fix a broken link
3 years ago
[redacted] 3bd1534016
Fix a broken link
Existing link wasn't pointing to normals page.
3 years ago
Ben Hansen e3592e2809 migrated docs for tutorials 4-9 3 years ago
Ben Hansen 3901419a58 beginner tutorial code done 3 years ago
Ben Hansen 91879d405b code up to 7 migrated 3 years ago
Ben Hansen 733683cf6f removed camera research 3 years ago
Ben Hansen 99fd6523d7 travis build failing 3 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Alex Komissarov e5a5d6d66c
Fixed the link to zip file 4 years ago
okaneco 468a425f78 Fix typos and update Beginner tutorials 2, 3
Tutorial 2 - Swapchain
  - Update `get_next_texture` to `get_current_frame`
  - Fix typos
Tutorial 3 - Pipeline
  - Add updated fields to `PipelineLayout` creation
Fix typos in News
4 years ago
Ben Hansen 03b1b64e55 migrated tutorial10 4 years ago
Ben Hansen a92dd32106 forgot a note about OUT_DIR 4 years ago
Ben Hansen 02921f7ffa migrated tutorial9 4 years ago
Jan Prudil 1dd4d8c694
Use vertex_attr_array 4 years ago
sotrh 2eaf6a7ff0
Merge pull request #58 from yutannihilation/doc/add-description-about-img-to_rgba
Add a description about to_rgba()
4 years ago
Hiroaki Yutani 760ff67cd8 Add a description about to_rgba() 4 years ago
Hiroaki Yutani 55d47396a4
Fix a broken link and a missing argument in tutorial9 4 years ago
Ben Hansen 8461147ca0 fixed #44 fixed $48 4 years ago
Ben Hansen 368021047a adjusted migration to tutorial9 4 years ago
downtime 764f5405db updata wgpu 0.5 4 years ago