Ben Hansen
a595bccaf9
Merge branch 'master' of github.com:sotrh/learn-wgpu
2022-04-14 16:28:19 -06:00
Ben Hansen
8bbdb09c67
fixes #278
2022-04-14 16:20:11 -06:00
Ben Hansen
8a6a422059
fixes #306
2022-04-14 16:17:21 -06:00
Ben Hansen
93712de4e7
fixes #307
2022-04-14 16:08:22 -06:00
Ben Hansen
dad9e9d675
fixes #328
2022-04-14 15:58:09 -06:00
Ben Hansen
27fb79c4ab
fixes #337
2022-04-14 14:50:57 -06:00
Ben Hansen
4d33b048c2
fixes #343
2022-04-14 14:06:39 -06:00
Ben Hansen
0cb0b273c3
fixes #345
2022-04-14 14:00:28 -06:00
sotrh
e514011384
Merge pull request #335 from sotrh/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 0.0.8 to 1.2.6
2022-04-10 11:57:50 -06:00
sotrh
849feaf6b1
Merge pull request #336 from sotrh/dependabot/npm_and_yarn/node-forge-0.10.0
...
Bump node-forge from 0.9.0 to 0.10.0
2022-04-10 11:57:35 -06:00
sotrh
b037cb7bc8
Merge pull request #340 from 8picoz/feature/tobj_version
...
fix tobj version
2022-04-10 11:57:23 -06:00
Ben Hansen
1b0ce54080
fixes #330
2022-04-10 11:48:13 -06:00
Ben Hansen
3541cdb76b
fixes #333
2022-04-10 11:43:44 -06:00
tata
e100c4052c
fix tobj version
2022-04-02 06:29:18 +09:00
dependabot[bot]
1c5177c6a5
Bump minimist from 0.0.8 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 0.0.8 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/0.0.8...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 17:04:53 +00:00
dependabot[bot]
142f243e1d
Bump node-forge from 0.9.0 to 0.10.0
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/0.9.0...0.10.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-29 17:04:30 +00:00
sotrh
f942f350c9
Merge pull request #326 from sotrh/dependabot/npm_and_yarn/url-parse-1.5.10
...
Bump url-parse from 1.5.3 to 1.5.10
2022-03-29 11:00:57 -06:00
sotrh
1824dc1505
Merge pull request #338 from ThibaultLemaire/patch-1
...
Fix typos in Working with Lights: The normal matrix
2022-03-29 10:48:54 -06:00
Thibault Lemaire
e077596cd7
Fix typos in Working with Lights: The normal matrix
...
Noticed those while following the tutorial, didn't do a thorough check though, so there could be others.
2022-03-27 17:05:42 +02:00
Ben Hansen
b871a5070b
modified build-wasm.sh to not run wasm-pack in "parallel"
2022-03-26 10:52:34 -06:00
sotrh
66096d6f81
Merge pull request #334 from sotrh/web2
...
Web2
2022-03-25 18:15:11 -06:00
Ben Hansen
ef6ec265d8
Merge branch 'master' into web2
2022-03-25 17:54:37 -06:00
Ben Hansen
1135fead3a
updated intermediate tutorial docs and removing tutorial13 for maintenance
2022-03-25 17:26:42 -06:00
Ben Hansen
dbb24ac7ce
migrated tutorial13 code
2022-03-25 15:02:24 -06:00
Ben Hansen
d3d7da293d
fixed #288 and keyboard/mouse buttons not working on wasm
2022-03-25 13:51:50 -06:00
Ben Hansen
e8ce0e710d
tutorial12-camera running in wasm (needs input fix)
2022-03-18 17:45:29 -06:00
sotrh
dce8b9181b
Merge pull request #331 from doodlewind/fix
...
fix typo
2022-03-18 13:17:14 -06:00
Yifeng Wang
cdf0b152b1
fix typo
2022-03-15 10:34:19 +08:00
Ben Hansen
0a28699d00
web examples working with vuepress
2022-03-13 17:42:28 -06:00
Ben Hansen
79ef88ca80
modified resources to use documents origin when making requests
2022-03-13 15:01:27 -06:00
sotrh
5ee3cf2dc2
Merge pull request #327 from roudy16/fix/normal-map-cardinality
...
enable right-handed normal maps
2022-03-07 11:06:26 -07:00
roudy16
2c4b3668cd
address review comment
2022-03-06 18:51:37 +00:00
Ben Hansen
dad581dce9
normal tutorial working on wgpu master
2022-03-05 21:24:36 -07:00
roudy16
212da09b15
enable right-handed normal maps
2022-03-01 21:50:15 +00:00
dependabot[bot]
97215e6db4
Bump url-parse from 1.5.3 to 1.5.10
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.5.3 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.3...1.5.10 )
---
updated-dependencies:
- dependency-name: url-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 19:10:26 +00:00
sotrh
f9b6704cc4
Merge pull request #322 from rokonio/patch-4
...
Add missing half_dir
2022-02-26 11:57:17 -07:00
sotrh
5d115f7492
Merge pull request #321 from rokonio/patch-2
...
Correct an error in the normal map tutorial
2022-02-26 11:56:27 -07:00
Ben Hansen
bd8172d0a2
removed shaderc from gifs
2022-02-25 15:44:23 -07:00
Rokonio
a9985c2f94
Add missing half_dir
...
The shader panics (see below) because `half_dir` is missing so I added it.
```
❯ cargo run
Compiling graphic_rust v0.1.0 (/home/rokonio/dev/rust/graphic_rust)
Finished dev [unoptimized + debuginfo] target(s) in 5.39s
Running `target/debug/graphic_rust`
[2022-02-20T10:27:50Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error
Caused by:
In Device::create_shader_module
note: label = `Shader`
Shader 'Shader' parsing error: no definition in scope for identifier: 'half_dir'
┌─ wgsl:93:57
│
93 │ let specular_strength = pow(max(dot(tangent_normal, half_dir), 0.0), 32.0);
│ ^^^^^^^^ unknown identifier
no definition in scope for identifier: 'half_dir'
', /home/rokonio/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs:2273:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```
2022-02-20 11:43:04 +01:00
Rokonio
411702cf17
Correct an error in the normal map tutorial
...
`wgpu::BindingType::Sampler` is a tuple like variant
2022-02-20 10:57:40 +01:00
Ben Hansen
a9c8bf650f
more-testing
2022-02-19 12:43:56 -07:00
Ben Hansen
c269f46a0e
testing some things
2022-02-19 11:21:54 -07:00
Ben Hansen
b8b8444030
fixing some readme files and migrating the lighting code
2022-02-18 14:22:14 -07:00
Ben Hansen
6324e485f1
tutorials 1-9 now work with wasm
2022-02-18 13:36:21 -07:00
sotrh
214cdcfb68
Merge pull request #317 from rokonio/patch-1
...
Fix a typo
2022-02-18 11:27:34 -07:00
sotrh
5f98efef1f
Merge pull request #318 from dskkato/patch-1
...
Fix a minor typo in docs/tutorial13-threading
2022-02-18 10:39:22 -07:00
Daisuke Kato
c09edf860e
fix typo in docs/tutorial13-threading
...
Propably -> Probably
2022-02-16 08:41:55 +09:00
Rokonio
2b9e09d19d
Fix a typo
2022-02-15 23:36:54 +01:00
Ben Hansen
82d50cba6c
finally migrated tutorial9 code
2022-02-13 20:19:55 -07:00
Ben Hansen
9811c4037e
troubleshooting wasm failure
2022-02-13 13:31:00 -07:00