Commit Graph

125 Commits

Author SHA1 Message Date
Ben Hansen
47fd27669e migrated tutorials 1 and 2 2021-02-07 12:17:22 -07:00
Ben Hansen
1f9024691c shaderc 1.6 -> 0.7 2021-01-26 02:02:50 -07:00
Ben Hansen
733683cf6f removed camera research 2020-12-21 13:33:42 -07:00
Ben Hansen
dd93e19fbb added wgpu-subscriber to framework 2020-11-25 15:22:45 -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
52b1ae0ac6 code for compute example 2020-11-20 12:23:48 -07:00
Ben Hansen
5abaa16ac1 updated bytemuck to use derive as per #109 2020-11-11 16:06:53 -07:00
Ben Hansen
eee5c32f8f started #121 2020-11-10 16:38:04 -07:00
Ben Hansen
73aed6c6bd rustfmt 2020-09-27 23:24:43 -06:00
Ben Hansen
9b02850917 started threading 2020-09-25 21:27:38 -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
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
5e4324d0ce env_logger 2020-09-08 00:42:52 -06:00
Ben Hansen
92285689ac migrated tutorial8 code 2020-09-06 23:21:40 -06:00
Ben Hansen
1e8a6ba0a5 migrated tutorial7 2020-09-05 16:45:52 -06:00
Ben Hansen
75d92c523c migrated tutorial6 2020-09-05 15:54:07 -06:00
Ben Hansen
6827fb5572 migrated tutorial5 2020-09-05 13:46:15 -06:00
Ben Hansen
e9e325459d using anyhow instead of failure 2020-08-29 15:22:06 -06:00
Ben Hansen
0fbb71efb6 migrated tutorial4 2020-08-28 19:47:16 -06:00
Ben Hansen
b3a6d3163d migrated tutorial4 code 2020-08-27 12:21:53 -06:00
Ben Hansen
08fa40dccc changed tutorial3 to use build script and migrated doc to 0.6 2020-08-24 13:34:37 -06:00
Ben Hansen
2abc38c769 migrated tutorial3 code 2020-08-22 18:35:12 -06:00
Ben Hansen
50a6a7d7e6 migrated tutorial2 2020-08-22 14:53:07 -06:00
Ben Hansen
3ef4df6fd9 migrated tutorial1 and removed instancing examples 2020-08-20 13:26:44 -06:00
Ben Hansen
0cd250d5fe started instancing examples 2020-08-11 13:17:14 -06:00
Ben Hansen
d6d6995066 finished camera changes 2020-07-24 13:24:45 -06:00
Ben Hansen
1a6194556e working on fps camera 2020-07-21 19:35:10 -06:00
Ben Hansen
4ee7343f7d added env_logger 2020-06-23 13:02:10 -06:00
Ben Hansen
8eee289c41 res folder now copied to OUT_DIR 2020-06-22 16:03:11 -06:00
Ben Hansen
1a850cc1b1 started performance research 2020-06-21 00:49:43 -06:00
Ben Hansen
2be19f2070 updating to shaderc 2020-05-28 13:47:05 -06:00
Ben Hansen
6e369e99ee Merge branch 'master' into pong 2020-05-28 13:24:15 -06:00
Ebrahim Byagowi
3555c713cb Use shaderc instead the deprecated glsl-to-spirv
I was getting lots of these errors,

glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/../Include/Common.h:99:
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:314:54: error: 'operator=' is a private member of 'glslang::TPoolAllocator'
    void setAllocator(TPoolAllocator* a) { allocator = *a; }
                                           ~~~~~~~~~ ^ ~~
.../registry/src/github.com-1ecc6299db9ec823/glsl-to-spirv-0.1.7/glslang/hlsl/../glslang/MachineIndependent/../Public/../Include/PoolAlloc.h:244:21: note: declared private here
    TPoolAllocator& operator=(const TPoolAllocator&);  // don't allow assignment operator
                    ^

And had to replace the apparently now deprecated glsl-to-spirv with shaderc-rs in order to
see the tutorial and thought would be useful for others also.
2020-05-27 00:05:41 +04:30
Ben Hansen
0c3249e7f9 fixed centering and added bloops 2020-05-21 14:07:02 -06:00
Ben Hansen
87f065acdd got basic game working 2020-05-14 15:03:58 -06:00
Ben Hansen
a118435ba7 debugging the normal mapping 2020-05-01 14:14:10 -06:00
Ben Hansen
ec5339bd3b started normals tutorial 2020-04-29 12:31:35 -06:00
Ben Hansen
bbeacfa923 migrated windowless 2020-04-25 17:22:26 -06:00
Ben Hansen
4a772f7ee0 migrated gifs 2020-04-25 16:51:23 -06:00
Ben Hansen
032253fea9 cleaning up for 0.5 2020-04-25 16:32:17 -06:00
Ben Hansen
368021047a adjusted migration to tutorial9 2020-04-25 14:10:14 -06:00
Ben Hansen
a7833f3c16 migrated tutorial7 2020-04-23 21:17:41 -06:00
Ben Hansen
66eeae019c migrated tutorial6 2020-04-22 16:21:31 -06:00
downtime
764f5405db updata wgpu 0.5 2020-04-22 17:39:40 +08:00
downtime
6d2d839411 Updated dependencies 2020-04-22 12:12:29 +08:00
Ben Hansen
1205f18443 migrated tutorial5 2020-04-21 13:05:48 -06:00
Ben Hansen
82048bcc31 migrated tutorial4 2020-04-19 13:57:01 -06:00
Ben Hansen
baa9e2656a tutorial3 migrated 2020-04-18 18:34:30 -06:00
Ben Hansen
f8738e4850 migrated tutorial2 2020-04-18 17:57:16 -06:00
Ben Hansen
4fb7d39bcf tutorial1 updated 2020-04-18 16:48:18 -06:00
Ben Hansen
be23faee06 finished gif showcase 2020-03-29 19:51:50 -06:00
Ben Hansen
f9f34459cc started gifs showcase 2020-03-18 14:19:06 -06:00
Ben Hansen
a805bd8fa3 updated lighting tutorial to use model.rs 2020-03-12 16:57:09 -06:00
Ben Hansen
3d5740c6b1 Merge branch 'master' into lighting 2020-03-12 16:28:48 -06:00
Ben Hansen
e6d402047f started model tutorial 2020-03-06 13:19:12 -07:00
Ben Hansen
19d6a37dce Merge branch 'master' into model 2020-02-24 21:42:35 -07:00
Ben Hansen
c2f2c80180 trying to merge 2020-02-24 21:41:41 -07:00
Ben Hansen
cc0fc1f17f updated code to use texture.rs 2020-02-24 16:23:23 -07:00
Ben Hansen
9e30f8bc99 added "spheres" 2020-02-21 15:12:43 -07:00
Ben Hansen
c41ed7766e fixed depth challenge 2020-01-20 17:05:13 -07:00
Ben Hansen
da4c268fbc updated winit to 0.20 2020-01-11 15:55:08 -07:00
Ben Hansen
2c57618925 created examples for loop and array 2019-12-30 17:04:38 -07:00
Ben Hansen
58fa5be6d2 finished uniforms tutorial 2019-11-22 16:09:38 -07:00
Ben Hansen
348a06ee0f reorganized project, added challenge impls 2019-11-12 23:52:09 -07:00
Ben Hansen
e35d51ee7b tutorial4-buffer 2019-10-25 01:57:14 -06:00
Ben Hansen
6642ff9aff tutorial3-pipeline 2019-10-21 18:12:28 -06:00
Ben Hansen
121037a7c2 tutorial2-swapchain 2019-10-19 14:32:52 -06:00
Ben Hansen
8ecb859b9f tutorial 1 finished 2019-10-16 17:35:58 -06:00