Commit Graph

106 Commits (677300a5e96fa0b06ee7c3b4e09eb9bd6fee2e88)

Author SHA1 Message Date
Ben Hansen 70bf012641 fixed tangent/bitangent comp and cargo fmt 3 years ago
sotrh 1030f47529
Merge pull request #212 from rokonio/master
Fixing #200
3 years ago
Rokonio a470da007f
Fixing #200 3 years ago
Martino Fontana 2941cf7cd9 Updated dependencies where I can just change the number (not "tobj" and "gif") ("compute" can't start a trace) (didn't touch "pong" and "imgui-demo") 3 years ago
Martino Fontana c55ea96d0d Removed unnecessary .clone() 3 years ago
Martino Fontana 467cec5367 Removed unnecessary borrows 3 years ago
Martino Fontana c80b5a9ae2 Collapsed event_loop match 3 years ago
Martino Fontana b5af53b272 Simplify DrawModel and DrawLight lifetimes 3 years ago
Joshua Barretto 12ba9bed0c Switched to pollster 3 years ago
Ben Hansen b5ce220c2b upgraded to 0.9 3 years ago
Hugo Woodiwiss 08fc3e41d0
Update tutorial 11 to tobj 3.0.x 3 years ago
Ben Hansen 4e6c061914 fixing warnings 3 years ago
Ben Hansen 2f8bf02710 finished migrating challenge shaders and cargo fmt 3 years ago
Ben Hansen f9ee77844d removed shaderc from build.rs 3 years ago
Ben Hansen c21c7bd889 tutorials 12 and 13 now use wgsl 3 years ago
Ben Hansen d2db4fa575 migrated tutorial11-normals code 3 years ago
Ben Hansen 46eb5eb139 code now builds on 0.8 3 years ago
sotrh d8a861b515
Merge branch 'master' into cgmath-0.18 3 years ago
Hiroaki Yutani 24f565ee58 Update winit to 0.24 4 years ago
Hiroaki Yutani a81a844bd6 tutorial11 4 years ago
Hiroaki Yutani 7293547212 Bump cgmath version 4 years ago
Ben Hansen e7318530d4 migrated docs for tutorials 1-3 and cargo fmt 4 years ago
Ben Hansen eff8418d37 cargo fmt 4 years ago
Ben Hansen b4dd4654e4 intermediate tutorial code migrated 4 years ago
Ben Hansen 3901419a58 beginner tutorial code done 4 years ago
Ben Hansen 91879d405b code up to 7 migrated 4 years ago
Ben Hansen 47fd27669e migrated tutorials 1 and 2 4 years ago
Ben Hansen 1f9024691c shaderc 1.6 -> 0.7 4 years ago
Ben Hansen 733683cf6f removed camera research 4 years ago
Ben Hansen 99fd6523d7 travis build failing 4 years ago
Ben Hansen aa773303df cargo fmt 4 years ago
Ben Hansen c770e1860f fixed code for #116 4 years ago
Ben Hansen aa8f9f269d fixed #119 4 years ago
Ben Hansen 0620f0b05d migrated ModelVertex to use bytemuck derive 4 years ago
Ben Hansen 9a221fb2c4 migrated Light struct to use bytemuck derive 4 years ago
Ben Hansen 0ccb80e7e3 updated Uniforms struct to use bytemuck derive 4 years ago
Ben Hansen 5abaa16ac1 updated bytemuck to use derive as per #109 4 years ago
Ben Hansen 8ad575f750 finished #121 4 years ago
Ben Hansen df1d2c412f applied change to main tutorials 4 years ago
Ben Hansen 6f29ba738b fixes #108 4 years ago
Ben Hansen 73aed6c6bd rustfmt 4 years ago
Ben Hansen 5409e8ea1e rogue copy paste 4 years ago
Ben Hansen 2ab37aa9b7 some fixes 4 years ago
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.
4 years ago
Ben Hansen 4186d5af45 migrated tutorial12 code 4 years ago
Ben Hansen 8d5de2d87c migrated tutorial11 4 years ago
Alex Butler a03a57bb60
Fix some easy-win lints 4 years ago
Dzmitry Malyshau e9ea5854ca
Fix a mismatch in light VS versus FS varying of v_color 4 years ago
Ben Hansen a1e5f474eb fixed #67 4 years ago
Ben Hansen 4063cc49de fixed #46 4 years ago
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.
4 years ago
Ben Hansen 67f163aaec fixed crash in later example code 4 years ago
Ben Hansen 752533a706 finish normal mapping 4 years ago
Ben Hansen 387e17ba5f finished normal mapping tutorial 4 years ago
Ben Hansen a118435ba7 debugging the normal mapping 4 years ago
Ben Hansen ec5339bd3b started normals tutorial 4 years ago