Benjamin_Loison
|
5fa146e583
|
Add rotation to structures rendering
|
2022-11-01 03:57:16 +01:00 |
|
Benjamin_Loison
|
b59aa96b97
|
Structures display implemented on map except their rotations
|
2022-11-01 03:22:59 +01:00 |
|
Benjamin_Loison
|
ed693ef144
|
Ready to implement multiple structures
|
2022-11-01 01:58:55 +01:00 |
|
Benjamin_Loison
|
87c9093a4e
|
Set the correct texture
|
2022-11-01 01:15:35 +01:00 |
|
Benjamin_Loison
|
20898bf139
|
Make the arbitrary texture set in a more modular way
|
2022-11-01 00:14:12 +01:00 |
|
Benjamin_Loison
|
ed1e341e09
|
Make ready rotation implementation
|
2022-10-31 21:45:36 +01:00 |
|
Benjamin_Loison
|
b23fa769fa
|
Add an arbitrary texture to structures
|
2022-10-31 20:43:53 +01:00 |
|
Benjamin_Loison
|
e4ad531a7e
|
Display multiple instances of OBJs
|
2022-10-31 20:12:46 +01:00 |
|
Benjamin_Loison
|
89387d82fd
|
Use more iterators
|
2022-10-25 00:39:19 +02:00 |
|
Benjamin_Loison
|
2984d147fa
|
Use iterators for the generalization of the ground vertex and fragment shaders
|
2022-10-24 23:10:03 +02:00 |
|
Benjamin_Loison
|
b1710f7f71
|
Apply cargo clippy
|
2022-10-23 03:50:07 +02:00 |
|
Benjamin_Loison
|
9f64ebc0f9
|
Generalize tiles per chunk row
|
2022-10-23 03:40:14 +02:00 |
|
Benjamin_Loison
|
0694b1ef92
|
Define dynamically the fragment shader
|
2022-10-23 03:32:15 +02:00 |
|
Benjamin_Loison
|
f81a31c821
|
Make the window maximized by default
|
2022-10-23 02:40:29 +02:00 |
|
Benjamin_Loison
|
e22f1f0e83
|
Reduce under the ground workload
As nobody (even developers) should go/see under the map.
|
2022-10-23 02:36:14 +02:00 |
|
Benjamin_Loison
|
76d64b6660
|
Fix #2: Optimize ground rendering using triangle strip
|
2022-10-23 01:52:24 +02:00 |
|
Benjamin_Loison
|
f028ad7bb7
|
Make vertex shader use a switch
|
2022-10-23 00:12:09 +02:00 |
|
Benjamin_Loison
|
1fd3893e27
|
Add a frame timer
|
2022-10-23 00:03:38 +02:00 |
|
Benjamin_Loison
|
732c65914f
|
Remove normals to try to firstly optimize chunks rendered
|
2022-10-22 23:52:08 +02:00 |
|
Benjamin_Loison
|
fc8c713067
|
Add window title
|
2022-10-22 23:18:11 +02:00 |
|
Benjamin_Loison
|
e102332d0b
|
Make biomes display work correctly
|
2022-10-22 22:59:09 +02:00 |
|
Benjamin_Loison
|
e36ce58f75
|
Shift chunks where they are supposed to be
|
2022-10-22 21:19:58 +02:00 |
|
Benjamin_Loison
|
655978efc2
|
Pass directly normal to the fragment shader
|
2022-10-22 19:47:40 +02:00 |
|
Benjamin_Loison
|
33628ef7bc
|
loading all chunks at the same place
|
2022-10-19 01:50:49 +02:00 |
|
Benjamin_Loison
|
f9d77ea119
|
Should make biomes working but it doesn't (using hardcode)
|
2022-10-17 03:26:19 +02:00 |
|
Benjamin_Loison
|
c526ebe977
|
Ready to use an uniform array of textures for the biomes
|
2022-10-17 02:35:05 +02:00 |
|
Benjamin_Loison
|
02e28b2bc8
|
Use altitude: f32 and index: u32 instead of respectively position: vec3 and tex_coords: vec2
It reduces GPU memory usage from 20-21MiB to 16-17MiB.
|
2022-10-17 01:38:18 +02:00 |
|
Benjamin_Loison
|
e6e30712b0
|
Remove a useless variable in the vertex shader
|
2022-10-17 00:27:44 +02:00 |
|
Benjamin_Loison
|
e4f634a441
|
Make backface culling ready to use
|
2022-10-16 23:46:51 +02:00 |
|
Benjamin_Loison
|
5236c99383
|
Display a ground chunk with a given biome
|
2022-10-16 23:30:23 +02:00 |
|
Benjamin_Loison
|
d75a564805
|
Removed commented OBJ loader that should have been removed before 3e64f976ca
|
2022-10-16 23:05:23 +02:00 |
|
Benjamin_Loison
|
ea07e78b18
|
Display two textured triangles in 3D
|
2022-10-16 22:57:32 +02:00 |
|
Benjamin_Loison
|
238052c8a8
|
Display two not textured triangles in 3D with camera with horizontal rotation
Thanks to `glium/examples/teapot` which was loading an OBJ and not having any rotation for the camera.
|
2022-10-16 22:27:32 +02:00 |
|
Benjamin_Loison
|
2d19b54f97
|
Add initial README.md, Cargo.toml and src/main.rs
|
2022-10-16 19:02:59 +02:00 |
|