-
729daa1503
wip
dev
Piotr Baja
2024-01-25 20:53:17 +01:00
-
dac7c52912
trying to free unused chunks
Piotrek
2021-05-20 15:13:10 +02:00
-
7daec14ba7
More informative chunk states, much cleaner
Piotrek
2021-05-20 14:05:43 +02:00
-
a5d109fb0a
Loading chunks in radius instead of by travel direction, bugged (not reloading chunks)
Piotrek
2021-05-19 16:07:27 +02:00
-
e9632a20d2
Added notes
Piotrek
2021-05-19 14:26:35 +02:00
-
c4daecae6f
writing node buffer to gpu all at once
Piotrek
2021-05-19 14:23:13 +02:00
-
15e40a941c
avoiding copying node buffer
Piotrek
2021-05-19 14:01:40 +02:00
-
3718c2145e
fixed bug where world offset was applied to camera position delayed 1 frame
Piotrek
2021-05-18 20:53:26 +02:00
-
10182730a5
cpu shifting nodes in a separate thread, very bugged
Piotrek
2021-05-18 16:27:23 +02:00
-
9fb88c634b
some code cleaning
Piotrek
2021-05-18 14:53:04 +02:00
-
5a62d8c70d
handling chunk decompresion errors
Piotrek
2021-05-18 09:20:15 +02:00
-
688405a579
maybe fixed the out of bounds chunk bug?
Piotrek
2021-05-17 21:47:04 +02:00
-
65bacd745e
not loading already loaded chunks
Piotrek
2021-05-17 15:12:15 +02:00
-
5266b32823
writing chunks instead of blocks
Piotrek
2021-05-17 14:53:59 +02:00
-
7359b6549c
freeing methods in renderer
Piotrek
2021-05-16 22:50:25 +02:00
-
00d1fa427a
loading chunks in one axis at a time
Piotrek
2021-05-16 21:34:11 +02:00
-
0487f4acf3
waiting for previous chunk loading before doing next
Piotrek
2021-05-16 21:00:15 +02:00
-
eecedbf4f4
fixed node texture shifting bugs
Piotrek
2021-05-16 19:08:47 +02:00
-
67bb4fddd0
cleaning
Piotrek
2021-05-16 17:19:23 +02:00
-
76e952995d
preparing for node buffer shifting in a separate thread
Piotrek
2021-05-16 15:01:37 +02:00
-
57e1a9134e
Moved node buffer logic to Nodes struct
Piotrek
2021-05-16 14:25:03 +02:00
-
77c74be02f
ChunkLoader
Piotrek
2021-05-16 14:04:45 +02:00
-
f8760e876c
Loading and generating chunks in a separate threads
Piotrek
2021-05-15 20:48:59 +02:00
-
e6a8712de0
preloading stats
Piotrek
2021-05-15 17:16:32 +02:00
-
fa72ea7da4
bug with +z was my stupid mistake :]
Piotrek
2021-05-15 17:10:14 +02:00
-
16edbfea42
bug fixes, faster node texture shift, loading +z not working (0,0,2 chunk loading only one line)
Piotrek
2021-05-15 17:07:20 +02:00
-
00c518b9c1
Endless world, still some bugs to figure out
Piotrek
2021-05-14 19:54:46 +02:00
-
e6329d568c
World 0,0 is now at the center of the node texture
Piotrek
2021-05-14 14:25:12 +02:00
-
05b62d4b90
Changed chunk size from 32x32x32 to 16x16x16
Piotrek
2021-05-14 13:04:46 +02:00
-
c1f3d0f398
Threaded loading chunks
Piotrek
2021-05-14 12:10:44 +02:00
-
120049d9f7
world shifting almost working
Piotrek
2021-05-13 16:18:01 +02:00
-
98736c39a0
Method for shifting world nodes texture
Piotrek
2021-05-13 11:59:22 +02:00
-
57782a88ab
Dynamic loading, saving, generating chunks works
Piotrek
2021-05-13 09:13:43 +02:00
-
ab9f4c83d0
WIP generating chunks at player position
Piotrek
2021-05-12 16:17:38 +02:00
-
4acf8ea816
preparing or auto loading chunks around player
Piotrek
2021-05-11 14:46:11 +02:00
-
6acdd51b05
Some toying with shader
Piotrek
2021-05-11 13:35:47 +02:00
-
0c7f07bc7b
Made blocks texture have equal size, this created problems with memory usage
Piotrek
2021-05-11 13:22:09 +02:00
-
71e30abb62
Added fog
Piotrek
2021-05-11 10:57:54 +02:00
-
e110e99053
larger block buffer
Piotrek
2021-05-10 22:07:07 +02:00
-
a09f446ecd
Pausing rendering, warnings cleanup, more statistics
Piotrek
2021-05-10 15:36:11 +02:00
-
4eaa0fab56
Compressing with lz4
Piotrek
2021-05-10 13:30:15 +02:00
-
3bd9fa942e
Changed project name (placeholder), some renames
Piotrek
2021-05-10 10:43:14 +02:00
-
3a45d4e0de
minor name changes
Piotrek
2021-05-09 18:48:06 +02:00
-
0e53810fbd
writing node buffer in chunks to allow >48 size
Piotrek
2021-05-09 18:25:44 +02:00
-
466f98a42c
updating node buffer max once per frame
Piotrek
2021-05-09 18:15:30 +02:00
-
bf14d7c578
slightly faster copying blocks data
Piotrek
2021-05-09 18:09:03 +02:00
-
23d702ad6c
Fixed loading world, added saving meta data
Piotrek
2021-05-09 16:27:04 +02:00
-
d0b7a781b4
Loading world, not working yet
Piotrek
2021-05-08 22:55:25 +02:00
-
547f66d214
Saving world to file
Piotrek
2021-05-08 18:42:32 +02:00
-
989b75f54d
Fonts, glyphs, displaying fps
Piotrek
2021-05-07 15:41:08 +02:00
-
c089afbcbe
samplers not required?
Piotrek
2021-05-06 15:53:45 +02:00
-
c16ad4f4a0
bug fixes
Piotrek
2021-05-06 15:49:21 +02:00
-
45362afbf4
works
Piotrek
2021-05-06 15:38:51 +02:00
-
5b1ca38d75
ready for testing
Piotrek
2021-05-06 14:49:15 +02:00
-
cb2379786c
Combined node and block buffer into one struct: content.
Piotrek
2021-05-06 14:40:47 +02:00
-
d34196a6bd
World, WorldChunk, WorldBlock structure working
Piotrek
2021-05-06 12:43:03 +02:00
-
c04a1aea11
World structs
main
Piotrek
2021-05-05 14:38:12 +02:00
-
89934ba97c
cleanup
Piotrek
2021-05-04 20:26:15 +02:00
-
78d3a43deb
small fixes
Piotrek
2021-04-29 16:40:53 +02:00
-
ddf0c42784
working generating terrain
Piotrek
2021-04-28 23:17:16 +02:00
-
719b6f8f26
NOT WORKING ATM. something with block ids.
Piotrek
2021-04-28 21:21:29 +02:00
-
600fe689b7
Block struct
Piotrek
2021-04-28 20:08:21 +02:00
-
ad62a29263
more project structure cleanup, removing spaghetti code, using traits
Piotrek
2021-04-26 21:39:20 +02:00
-
3a444d6e3a
postprocess render pass
Piotrek
2021-04-26 19:07:02 +02:00
-
19aefbf287
removed vertex and index buffers, we are only rendering fullscreen
Piotrek
2021-04-26 16:55:57 +02:00
-
ea1c0ba089
project structure cleaning
Piotrek
2021-04-26 16:39:08 +02:00
-
dae867be9f
perlin noise
Piotrek
2021-04-26 15:23:40 +02:00
-
beea89699d
testing 48x48x48 world and different scales
Piotrek
2021-04-26 14:07:56 +02:00
-
6206800df9
changed brick texture from being 32x32x32 1D to 32x32x32 2D (smaller indexes)
Piotrek
2021-04-26 14:01:13 +02:00
-
1bb45ec31b
renamed brick to block, world gen stuff in separate file
Piotrek
2021-04-25 16:22:24 +02:00
-
9718ea68dd
sampling in random hemisphere
Piotrek
2021-04-25 13:50:39 +02:00
-
8585f21c70
HitResult and Ray structs. random function.
Piotrek
2021-04-24 23:33:33 +02:00
-
e390b6ed9b
added wall
Piotrek
2021-04-24 22:24:10 +02:00
-
d194337520
pseudo skybox
Piotrek
2021-04-24 21:34:47 +02:00
-
61ec3e5a21
shadows
Piotrek
2021-04-24 20:47:04 +02:00
-
00fd077642
grass? testing
Piotrek
2021-04-24 17:17:09 +02:00
-
97ece7a823
materials, brick and nodes structure, preparing for world generation
Piotrek
2021-04-24 17:06:44 +02:00
-
829ae1ddb6
fixed negative distance in voxel traversing
Piotrek
2021-04-23 22:44:03 +02:00
-
526ff05ed2
testing 32x32x32 nodes world
Piotrek
2021-04-23 22:15:14 +02:00
-
b59523c13b
continue traversing nodes if brick not hit
Piotrek
2021-04-23 16:06:54 +02:00
-
af5c2f2532
working bricks ray traversing
Piotrek
2021-04-23 15:27:04 +02:00
-
8368545e6c
fix texture format
Piotrek
2021-04-23 14:32:45 +02:00
-
936c0f2e18
writing brick to gpu
Piotrek
2021-04-23 13:34:18 +02:00
-
6239e145e9
allocating array on heap
Piotrek
2021-04-22 23:25:35 +02:00
-
5e968d0a30
aspiojsanfopinaogpinhaeogfl
Piotrek
2021-04-19 23:28:20 +02:00
-
3fb2557a30
using bytemuck for node buffer
Piotrek
2021-04-19 22:23:01 +02:00
-
5e8068705a
getting subnode id
Piotrek
2021-04-18 23:02:17 +02:00
-
3e94e5d2cf
basic phong lighting
Piotrek
2021-04-18 13:08:56 +02:00
-
20ac933cc3
working 3d textures
Piotrek
2021-04-18 12:00:28 +02:00
-
4f24394273
wip: creating 3d texture node buffer
Piotrek
2021-04-17 15:52:29 +02:00
-
7a1821643c
moved buffer stuff to a separate module
Piotrek
2021-04-17 14:55:04 +02:00
-
3ad54777cd
project structure cleanup
Piotrek
2021-04-16 10:54:00 +02:00
-
9cd599743d
cleanup
Piotrek
2021-04-15 10:05:28 +02:00
-
a95c8f4bf2
camera control and cursor catching
Piotrek
2021-04-15 09:48:19 +02:00
-
b52193df28
working generating camera rays from view and proj matrices
Piotrek
2021-04-15 08:55:26 +02:00
-
8094d8168d
added raymarching demo for testing
Piotrek
2021-04-14 15:42:31 +02:00
-
70bb7a3e6e
camera rotation
Piotrek
2021-04-13 23:14:46 +02:00
-
026a21c9db
adding camera controller
Piotrek
2021-04-13 16:34:42 +02:00
-
7a0d14d8d6
added fps counter
Piotrek
2021-04-13 11:16:59 +02:00
-
ea58cb8d1c
added shaders/bin to gitignore
Piotrek
2021-04-13 09:32:31 +02:00