erwanvivien
2876a669f1
feat: added more information on obj_model setup
2023-01-01 21:28:54 +01:00
Benjamin Hansen
3fde56d264
fixes #429
2022-12-28 14:35:17 -07:00
Benjamin Hansen
714ea27bc2
adding wgpu to fully qualify include_wgsl!
macro as part of #423
2022-12-10 12:18:58 -07:00
Jinlei Li
2a6964185f
Add a newly translated Chinese version link
2022-11-15 11:40:17 +08:00
Ian Pieragostini
ca614d6c68
Fixes to docs for tutorial 10 and tutorial 11
2022-11-14 13:07:54 +07:00
sotrh
6514c34f8d
Merge pull request #416 from Joh4nnesB/patch-camera-rotation
...
Updated incorrect camera pitch rotation
2022-11-06 12:50:17 -07:00
nextdorf
bb97a1a48e
Added correct color conversation between rgb and srgb (source:
...
https://en.wikipedia.org/wiki/SRGB#Computing_the_transfer_function ) in
buffer tutorial
2022-11-06 12:13:26 +01:00
Johannes Bauer
42df1f43a6
Updated incorrect camera pitch rotation
...
This was already fixed in the actual demo code with f46b2f6
but unfortunately not updated in the documentation.
2022-11-03 00:50:57 +01:00
sotrh
4f202d376d
Merge pull request #409 from PhelixOchieng/master
...
Fix: Could not append canvas error when running on wasm
2022-10-20 10:12:57 -06:00
sotrh
b15873c392
Merge pull request #412 from Baguettifer/master
...
changed hexagon to pentagon
2022-10-20 10:10:09 -06:00
sotrh
73e7ee2a77
Merge pull request #413 from relrelb/patch-1
...
Change link to HTTPS
2022-10-20 10:09:25 -06:00
Ben Hansen
3f99b965a9
migrated to 0.14
2022-10-20 10:07:03 -06:00
relrelb
f6beebae17
Change link to HTTPS
2022-10-14 17:45:39 +03:00
Baguettifer
ce34941f31
changed hexagon to pentagon
2022-10-14 14:57:34 +11:00
Phelix
3c09140b80
Fix: Could not append canvas error when running on wasm
2022-10-06 14:03:42 +03:00
sotrh
b2fad645de
Merge branch 'master' into evik42-0.13-update-fix
2022-09-30 19:04:41 -06:00
sotrh
954ccc4bad
Merge pull request #397 from jinleili/numbers
...
Fix 2 numbers on tutorial4 doc
2022-09-30 19:02:14 -06:00
sotrh
5f75beab03
Merge pull request #398 from jinleili/step_mode
...
Make `step_mode` easier to understand
2022-09-30 19:01:30 -06:00
sotrh
5dc50f0200
Merge pull request #399 from jinleili/filter
...
Fix the descriptions of `mag_filter` and `min_filter` fields
2022-09-30 19:00:57 -06:00
sotrh
4726bb5a8c
Merge pull request #400 from Ratipoka/patch-1
...
Remove typo : extra size field in State
2022-09-30 19:00:01 -06:00
sotrh
49fb49bdbf
Merge pull request #404 from jbckly/patch-1
...
Fix some code for Dependencies and the window
2022-09-30 18:58:56 -06:00
jbckly
c60fcdd9a6
Use 0.13's Surface::get_supported_formats
...
get_preferred_format no longer exists as per https://docs.rs/wgpu/0.13.1/wgpu/struct.Surface.html#method.get_supported_formats
2022-09-23 17:54:23 +08:00
jbckly
9a578de950
Fix some code for Dependencies and the window
...
Needed this to get things rendering for me! otherwise we get:
```
$ cargo run
Compiling rustp v0.1.0 (/Users/jack/dev/rustp)
warning: unused implementer of `Future` that must be used
--> src/main.rs:4:5
|
4 | run();
| ^^^^^^
|
= note: `#[warn(unused_must_use)]` on by default
= note: futures do nothing unless you `.await` or poll them
warning: `rustp` (bin "rustp") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 0.48s
Running `target/debug/rustp`
```
2022-09-23 14:18:49 +08:00
Ratipoka
e4dbc77457
Remove typo : extra size argument in State
2022-09-02 22:54:54 +02:00
Jinlei Li
63f790e633
Fix the descriptions of mag_filter
and min_filter
fields
2022-09-02 18:48:20 +08:00
Jinlei Li
1b8144be0d
Make step_mode
easier to understand
2022-09-01 18:26:46 +08:00
Jinlei Li
6c51b3608e
Fix 2 numbers on tutorial4 doc
2022-09-01 17:44:28 +08:00
Attila Mravik
2d9269aade
Fix code example for 0.13
...
The alternative code path missed the 0.13 update.
2022-08-31 18:02:33 +02:00
Ben Hansen
c480fd51dc
fixes #391
2022-08-30 18:57:05 -06:00
sotrh
7c2bfa02bf
Merge pull request #393 from mckahz/fix-camera-typo
...
fixed typo
2022-08-30 16:23:04 -06:00
sotrh
6951ceb3c1
Merge pull request #394 from mckahz/fix-instance-typo
...
Fix instance typo
2022-08-30 16:22:33 -06:00
Jinlei Li
df68d03bb4
Fix targets
data type in the doc
2022-08-30 15:10:20 +08:00
mckahz
a00d1aaf1a
fixed typo
...
syntax error in wgsl code
2022-08-30 02:43:09 +10:00
mckahz
60fdfbdbe7
Revert "fixed typo"
...
This reverts commit 7179c4a613
.
2022-08-30 02:42:13 +10:00
mckahz
7179c4a613
fixed typo
...
syntax error in wgsl code
2022-08-30 02:40:28 +10:00
mckahz
603584379b
fixed typo
...
I think this was supposed to say "warp" as that makes more sense to me than wrap. I could be mistaken though.
2022-08-28 23:54:33 +10:00
Ben Hansen
58944cb8ca
fixes #384
2022-07-30 13:39:26 -06:00
Ben Hansen
1220dfa70b
fixes #382
2022-07-22 11:09:12 -06:00
Ben Hansen
d24553dec1
fixes #378
2022-07-22 10:14:40 -06:00
sotrh
ba28fa1ee9
Merge pull request #379 from archsolar/text-correction
...
Small text correction docs.
2022-07-22 09:59:12 -06:00
loui
777bf0f0bd
Fixing broken link to pipeline section
2022-07-22 13:25:49 +10:00
archsolar
67682a2b24
Small text correction docs.
...
love you
2022-07-15 22:06:36 +02:00
Ben Hansen
56c917c749
correcting code in tutorial3 and tutorial2
2022-07-02 14:14:53 -06:00
Ben Hansen
6e43280d27
finished 0.13 readme
2022-07-02 12:35:21 -06:00
Ben Hansen
3e7d0a5bea
updating PresentMode
details and adding warning to pong
2022-07-02 12:24:57 -06:00
Ben Hansen
a2a1d69133
migrated to 0.13
2022-07-01 17:00:19 -06:00
Ben Hansen
0fa9eb1e6f
started fragment shader terrain version
2022-07-01 13:15:05 -06:00
Ben Hansen
844a1d1287
started write up for terrain tutorial
2022-06-25 14:32:24 -06:00
sotrh
f6c701633f
Merge pull request #373 from OisinA/master
...
Replace main.rs with lib.rs in intermediate tutorials
2022-06-24 13:25:12 -06:00
sotrh
7284620506
Merge pull request #374 from Ajacmac/master
...
added wasm-bindgen-futures dependency to tutorial 1 to match code exa…
2022-06-24 13:24:42 -06:00