Commit Graph

254 Commits

Author SHA1 Message Date
Martino Fontana
b5af53b272 Simplify DrawModel and DrawLight lifetimes 2021-08-04 13:20:15 +02:00
Ben Hansen
f46b2f6d74 fixed #142 2021-07-20 17:40:06 -06:00
Joshua Barretto
12ba9bed0c Switched to pollster 2021-07-14 13:26:05 +01:00
Ben Hansen
b5ce220c2b upgraded to 0.9 2021-06-19 16:31:49 -06:00
Ben Hansen
72cd5e9eb4 fixed broken demos 2021-06-06 11:13:38 -06:00
Hugo Woodiwiss
3a4b2d56dc
Update tutorial 13 to tobj 3.0.x 2021-06-01 14:30:36 +01:00
Hugo Woodiwiss
fd7b232e6f
Update tutorial 12 to tobj 3.0.x 2021-06-01 14:29:04 +01:00
Hugo Woodiwiss
08fc3e41d0
Update tutorial 11 to tobj 3.0.x 2021-06-01 14:27:13 +01:00
Hugo Woodiwiss
72ea816735
Update tobj in lighting tutorial 2021-06-01 13:57:56 +01:00
Hugo Woodiwiss
8a01d0e519
Update model loading tutorial to tobj 3.0.x 2021-06-01 13:53:03 +01:00
nyx
5e52c7dc07 Removed shaderc from Cargo.toml dependencies 2021-05-25 13:54:54 +02:00
Ben Hansen
9baae51fe3 finishing up 0.8 2021-05-24 13:14:17 -06:00
Ben Hansen
63e0d9c6b8 intermediate tutorials migrated 2021-05-24 11:44:10 -06:00
Ben Hansen
4e6c061914 fixing warnings 2021-05-18 19:20:29 -06:00
Ben Hansen
2f8bf02710 finished migrating challenge shaders and cargo fmt 2021-05-18 19:16:36 -06:00
Ben Hansen
f9ee77844d removed shaderc from build.rs 2021-05-17 21:28:12 -06:00
Ben Hansen
8e6e6e7092 fixed #174 2021-05-17 21:15:25 -06:00
Ben Hansen
c21c7bd889 tutorials 12 and 13 now use wgsl 2021-05-17 21:09:39 -06:00
Ben Hansen
d2db4fa575 migrated tutorial11-normals code 2021-05-15 16:58:02 -06:00
Ben Hansen
d6d268bd44 tutorial10 lighting now uses wgsl 2021-05-12 22:08:07 -06:00
Ben Hansen
d2889cd50a beginner tutorial code now uses wgsl 2021-05-08 14:09:28 -06:00
Ben Hansen
8a72178353 tutorial9 wgsl attempt 2021-05-04 15:31:58 -06:00
Ben Hansen
601273ec2b debugging tutorials 9 and 10 2021-05-01 20:26:28 -06:00
Ben Hansen
add4ba7328 fixed panics in tutorials 5-8 2021-05-01 19:02:38 -06:00
Ben Hansen
f3ebc0e666 fixed panic in tutorials 3 and 4 2021-05-01 18:10:01 -06:00
Ben Hansen
46eb5eb139 code now builds on 0.8 2021-05-01 15:55:26 -06:00
sotrh
d8a861b515
Merge branch 'master' into cgmath-0.18 2021-04-18 19:36:12 -06:00
Hiroaki Yutani
24f565ee58 Update winit to 0.24 2021-04-16 00:28:55 +09:00
Hiroaki Yutani
ecf8076b75 showcase 2021-04-11 17:09:00 +09:00
Hiroaki Yutani
58ff4bb438 tutorial13 2021-04-11 17:01:07 +09:00
Hiroaki Yutani
e26605ebb7 tutorial12 2021-04-11 16:59:05 +09:00
Hiroaki Yutani
a81a844bd6 tutorial11 2021-04-11 16:56:01 +09:00
Hiroaki Yutani
316f191cf7 tutorial10 2021-04-11 16:54:50 +09:00
Hiroaki Yutani
9c07ba5388 tutorial9 2021-04-11 16:52:38 +09:00
Hiroaki Yutani
3bf2c0f9ed tutorial8 2021-04-11 16:48:54 +09:00
Hiroaki Yutani
156a61b459 tutorial7 2021-04-11 16:46:59 +09:00
Hiroaki Yutani
6b5d3eee87 tutorial6 2021-04-11 16:45:02 +09:00
Hiroaki Yutani
7293547212 Bump cgmath version 2021-04-11 16:38:53 +09:00
Ben Hansen
4fa3ab7b6d migrated tutorial3 challenge 2021-03-03 02:12:42 -07:00
Ben Hansen
9d68020e87 removed research folder 2021-03-03 01:40:45 -07:00
Ben Hansen
c121682bd3 migrated pong 2021-03-03 01:14:52 -07:00
Ben Hansen
d56c73009b migrated compute showcase 2021-03-02 23:13:39 -07:00
Ben Hansen
5029aa196d migrated gifs showcase 2021-02-23 21:04:42 -07:00
Ben Hansen
fb73851e5d migrated imgui showcase 2021-02-22 10:20:00 -07:00
Ben Hansen
e3592e2809 migrated docs for tutorials 4-9 2021-02-18 21:30:18 -07:00
Ben Hansen
e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 2021-02-18 20:56:47 -07:00
Ben Hansen
361bee3c58 migrated windowless docs 2021-02-18 20:13:23 -07:00
Ben Hansen
eff8418d37 cargo fmt 2021-02-18 20:04:09 -07:00
Ben Hansen
7094e5dd91 migrated windowless 2021-02-18 19:59:00 -07:00
Ben Hansen
b4dd4654e4 intermediate tutorial code migrated 2021-02-13 01:30:42 -07:00
Ben Hansen
3901419a58 beginner tutorial code done 2021-02-12 00:18:27 -07:00
Ben Hansen
91879d405b code up to 7 migrated 2021-02-11 23:29:40 -07:00
Ben Hansen
47fd27669e migrated tutorials 1 and 2 2021-02-07 12:17:22 -07:00
Ben Hansen
19c99e28d0 Merge branch 'master' of https://github.com/sotrh/learn-wgpu 2021-01-26 02:03:31 -07:00
Ben Hansen
1f9024691c shaderc 1.6 -> 0.7 2021-01-26 02:02:50 -07:00
Renato Caldas
d44f216b14 Fix inconsistent position of the 'size' field in the beginner tutorials 2021-01-15 19:31:51 +00:00
Ben Hansen
733683cf6f removed camera research 2020-12-21 13:33:42 -07:00
Ben Hansen
99fd6523d7 travis build failing 2020-12-20 21:05:18 -07:00
Ben Hansen
c92d2a528e modified camera tutorial to use DeviceEvent 2020-11-25 16:51:22 -07:00
Ben Hansen
dd93e19fbb added wgpu-subscriber to framework 2020-11-25 15:22:45 -07:00
Ben Hansen
f1d35b6b38 finished cleanup 2020-11-23 23:29:52 -07:00
Ben Hansen
7e9f305f7b basic imgui example 2020-11-23 22:16:25 -07:00
Ben Hansen
4fa1e1a504 building blocks for future showcases 2020-11-23 19:17:34 -07:00
Ben Hansen
28c8637d73 finished compute exampute example 2020-11-21 13:16:07 -07:00
Ben Hansen
52b1ae0ac6 code for compute example 2020-11-20 12:23:48 -07:00
Ben Hansen
aa773303df cargo fmt 2020-11-18 11:48:37 -07:00
Ben Hansen
e462670b72 migrated docs for tutorial7 2020-11-18 11:47:13 -07:00
Ben Hansen
c770e1860f fixed code for #116 2020-11-18 10:48:28 -07:00
Ben Hansen
aa8f9f269d fixed #119 2020-11-14 20:07:40 -07:00
Ben Hansen
0620f0b05d migrated ModelVertex to use bytemuck derive 2020-11-14 14:57:39 -07:00
Ben Hansen
9a221fb2c4 migrated Light struct to use bytemuck derive 2020-11-14 14:43:29 -07:00
Ben Hansen
0ccb80e7e3 updated Uniforms struct to use bytemuck derive 2020-11-12 19:28:53 -07:00
Ben Hansen
5abaa16ac1 updated bytemuck to use derive as per #109 2020-11-11 16:06:53 -07:00
Ben Hansen
8ad575f750 finished #121 2020-11-11 15:41:06 -07:00
Ben Hansen
df1d2c412f applied change to main tutorials 2020-11-10 16:52:55 -07:00
Ben Hansen
eee5c32f8f started #121 2020-11-10 16:38:04 -07:00
Benedikt Mandelkow
f5ba33713a add code example 2020-11-05 18:09:27 +01:00
Alex Komissarov
d38731e472
Migration to winit 0.23 2020-10-21 01:10:16 +05:00
Ben Hansen
6f29ba738b fixes #108 2020-10-17 14:51:41 -06:00
Ben Hansen
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
Ben Hansen
ad5cd8e12f fixed #93 2020-09-27 22:52:35 -06:00
Ben Hansen
041a230d0d finished threading 2020-09-27 22:52:11 -06:00
Ben Hansen
9b02850917 started threading 2020-09-25 21:27:38 -06:00
Ben Hansen
09fe8b9f91 added link to gifs showcase in tutorial5 2020-09-25 15:57:57 -06:00
Ben Hansen
9d15abf7ee fixing issues in tutorial3 for #92 2020-09-23 15:38:01 -06:00
Ben Hansen
5409e8ea1e rogue copy paste 2020-09-22 16:02:23 -06:00
Ben Hansen
2ab37aa9b7 some fixes 2020-09-22 16:00:46 -06:00
lberrymage
fa418b2c60
Use std::iter::once for encoder queue submission
`std::iter::once` is more idiomatic for passing single-value iterators
than Some(value), and it's even intended for this case according to the
docs.
2020-09-19 22:17:36 -08:00
Ben Hansen
cb5cfd074f fixed #86 2020-09-19 15:49:05 -06:00
Ben Hansen
18bbd52f0e migrated pong code 2020-09-19 15:31:54 -06:00
Ben Hansen
801ee97038 migrated gifs 2020-09-16 00:25:40 -06:00
Ben Hansen
b4a51e66a4 migrated framework 2020-09-15 22:06:05 -06:00
Ben Hansen
4186d5af45 migrated tutorial12 code 2020-09-14 13:28:50 -06:00
Ben Hansen
8d5de2d87c migrated tutorial11 2020-09-14 12:53:22 -06:00
Ben Hansen
03b1b64e55 migrated tutorial10 2020-09-11 16:19:26 -06:00
Ben Hansen
02921f7ffa migrated tutorial9 2020-09-11 16:05:09 -06:00
Ben Hansen
cfd36577bb migrated tutorial10 code 2020-09-11 15:03:19 -06:00
Ben Hansen
3dbb6570b7 migrated tutorial9 code 2020-09-10 22:45:32 -06:00
Ben Hansen
7274f37019 migrated tutorial8 2020-09-10 20:50:51 -06:00
Ben Hansen
f1d43b9829 env_logger::init() 2020-09-09 20:48:08 -06:00