Piotrek
|
45362afbf4
|
works
|
2021-05-06 15:38:51 +02:00 |
|
Piotrek
|
5b1ca38d75
|
ready for testing
|
2021-05-06 14:49:15 +02:00 |
|
Piotrek
|
cb2379786c
|
Combined node and block buffer into one struct: content.
|
2021-05-06 14:40:47 +02:00 |
|
Piotrek
|
d34196a6bd
|
World, WorldChunk, WorldBlock structure working
|
2021-05-06 12:43:03 +02:00 |
|
Piotrek
|
c04a1aea11
|
World structs
|
2021-05-05 14:38:12 +02:00 |
|
Piotrek
|
89934ba97c
|
cleanup
|
2021-05-04 20:26:15 +02:00 |
|
Piotrek
|
78d3a43deb
|
small fixes
|
2021-04-29 16:40:53 +02:00 |
|
Piotrek
|
ddf0c42784
|
working generating terrain
|
2021-04-28 23:17:16 +02:00 |
|
Piotrek
|
719b6f8f26
|
NOT WORKING ATM. something with block ids.
|
2021-04-28 21:21:29 +02:00 |
|
Piotrek
|
600fe689b7
|
Block struct
|
2021-04-28 20:08:21 +02:00 |
|
Piotrek
|
ad62a29263
|
more project structure cleanup, removing spaghetti code, using traits
|
2021-04-26 21:39:20 +02:00 |
|
Piotrek
|
3a444d6e3a
|
postprocess render pass
|
2021-04-26 19:07:02 +02:00 |
|
Piotrek
|
19aefbf287
|
removed vertex and index buffers, we are only rendering fullscreen
|
2021-04-26 16:55:57 +02:00 |
|
Piotrek
|
ea1c0ba089
|
project structure cleaning
|
2021-04-26 16:39:08 +02:00 |
|
Piotrek
|
dae867be9f
|
perlin noise
|
2021-04-26 15:23:40 +02:00 |
|
Piotrek
|
beea89699d
|
testing 48x48x48 world and different scales
|
2021-04-26 14:07:56 +02:00 |
|
Piotrek
|
6206800df9
|
changed brick texture from being 32x32x32 1D to 32x32x32 2D (smaller indexes)
|
2021-04-26 14:01:13 +02:00 |
|
Piotrek
|
1bb45ec31b
|
renamed brick to block, world gen stuff in separate file
|
2021-04-25 16:22:24 +02:00 |
|
Piotrek
|
9718ea68dd
|
sampling in random hemisphere
|
2021-04-25 13:50:39 +02:00 |
|
Piotrek
|
8585f21c70
|
HitResult and Ray structs. random function.
|
2021-04-24 23:33:33 +02:00 |
|
Piotrek
|
e390b6ed9b
|
added wall
|
2021-04-24 22:24:10 +02:00 |
|
Piotrek
|
d194337520
|
pseudo skybox
|
2021-04-24 21:34:47 +02:00 |
|
Piotrek
|
61ec3e5a21
|
shadows
|
2021-04-24 20:47:04 +02:00 |
|
Piotrek
|
00fd077642
|
grass? testing
|
2021-04-24 17:17:09 +02:00 |
|
Piotrek
|
97ece7a823
|
materials, brick and nodes structure, preparing for world generation
|
2021-04-24 17:06:44 +02:00 |
|
Piotrek
|
829ae1ddb6
|
fixed negative distance in voxel traversing
|
2021-04-23 22:44:03 +02:00 |
|
Piotrek
|
526ff05ed2
|
testing 32x32x32 nodes world
|
2021-04-23 22:15:14 +02:00 |
|
Piotrek
|
b59523c13b
|
continue traversing nodes if brick not hit
|
2021-04-23 16:06:54 +02:00 |
|
Piotrek
|
af5c2f2532
|
working bricks ray traversing
|
2021-04-23 15:27:04 +02:00 |
|
Piotrek
|
8368545e6c
|
fix texture format
|
2021-04-23 14:32:45 +02:00 |
|
Piotrek
|
936c0f2e18
|
writing brick to gpu
|
2021-04-23 13:34:18 +02:00 |
|
Piotrek
|
6239e145e9
|
allocating array on heap
|
2021-04-22 23:25:35 +02:00 |
|
Piotrek
|
5e968d0a30
|
aspiojsanfopinaogpinhaeogfl
|
2021-04-19 23:28:20 +02:00 |
|
Piotrek
|
3fb2557a30
|
using bytemuck for node buffer
|
2021-04-19 22:23:01 +02:00 |
|
Piotrek
|
5e8068705a
|
getting subnode id
|
2021-04-18 23:02:17 +02:00 |
|
Piotrek
|
3e94e5d2cf
|
basic phong lighting
|
2021-04-18 13:09:04 +02:00 |
|
Piotrek
|
20ac933cc3
|
working 3d textures
|
2021-04-18 12:00:28 +02:00 |
|
Piotrek
|
4f24394273
|
wip: creating 3d texture node buffer
|
2021-04-17 15:52:29 +02:00 |
|
Piotrek
|
7a1821643c
|
moved buffer stuff to a separate module
|
2021-04-17 14:55:04 +02:00 |
|
Piotrek
|
3ad54777cd
|
project structure cleanup
|
2021-04-16 10:54:00 +02:00 |
|
Piotrek
|
9cd599743d
|
cleanup
|
2021-04-15 10:05:28 +02:00 |
|
Piotrek
|
a95c8f4bf2
|
camera control and cursor catching
|
2021-04-15 09:48:19 +02:00 |
|
Piotrek
|
b52193df28
|
working generating camera rays from view and proj matrices
|
2021-04-15 08:55:26 +02:00 |
|
Piotrek
|
8094d8168d
|
added raymarching demo for testing
|
2021-04-14 15:42:31 +02:00 |
|
Piotrek
|
70bb7a3e6e
|
camera rotation
|
2021-04-13 23:14:46 +02:00 |
|
Piotrek
|
026a21c9db
|
adding camera controller
|
2021-04-13 16:34:42 +02:00 |
|
Piotrek
|
7a0d14d8d6
|
added fps counter
|
2021-04-13 11:16:59 +02:00 |
|
Piotrek
|
ea58cb8d1c
|
added shaders/bin to gitignore
|
2021-04-13 09:32:31 +02:00 |
|
Piotrek
|
9aafeb80c2
|
move shaders to subfolder
|
2021-04-13 09:31:15 +02:00 |
|
Piotrek
|
c2953a1443
|
using view projection matrix
|
2021-04-12 22:23:20 +02:00 |
|