Marc Gilleron
|
98299f2b3c
|
Optimize octree further by taking out children pointers. Nodes are only 5 bytes now.
|
2019-09-01 21:07:38 +01:00 |
Marc Gilleron
|
0ee054dc3c
|
Took out position from octree nodes
|
2019-09-01 17:11:28 +01:00 |
Marc Gilleron
|
bd10e89dea
|
Implement proper box difference
|
2019-09-01 16:10:01 +01:00 |
Marc Gilleron
|
6369985b74
|
Fix problems with MinGW
|
2019-09-01 01:47:45 +01:00 |
Marc Gilleron
|
d4b69f7dae
|
Remove old commented code
|
2019-09-01 00:21:41 +01:00 |
Marc Gilleron
|
d0275b29ee
|
Apply split_scale to newly created octrees
|
2019-08-31 21:47:00 +01:00 |
Marc Gilleron
|
0e6d3873c7
|
Properly implement hiding of the terrain node, for LOD it was showing all blocks of all LODs at once
|
2019-08-31 21:46:40 +01:00 |
Marc Gilleron
|
fa22666ccf
|
Merge branch 'master' into paged_lod
|
2019-08-30 01:09:37 +01:00 |
Marc Gilleron
|
8574655c18
|
Re-enabled request dropping through exclusive region, except for last lod
|
2019-08-30 01:08:06 +01:00 |
Marc Gilleron
|
c3bc356119
|
Fix overlapping blocks, mesh instance visibility was not initialized properly
|
2019-08-30 00:13:28 +01:00 |
Marc Gilleron
|
6a540a8720
|
Remove old code
|
2019-08-30 00:04:20 +01:00 |
Marc Gilleron
|
eb01f99c2c
|
First WIP at paging LOD
|
2019-08-29 22:55:02 +01:00 |
Marc Gilleron
|
db398a96e2
|
Fix crash when duplicate rejection is used, the threaded part was wrong. That map only pertains to shared_input.
|
2019-08-28 00:20:49 +01:00 |
Marc Gilleron
|
7a7f5f679b
|
Include smooth surface to collision build in VoxelTerrain
|
2019-08-26 14:00:48 +01:00 |
Marc Gilleron
|
507044cd53
|
Fix wrong path in doctool invocation
|
2019-08-26 13:50:18 +01:00 |
Marc Gilleron
|
dfb0e05b30
|
Updated .md API using the new script, for science
|
2019-08-26 02:59:55 +01:00 |
Marc Gilleron
|
922d622740
|
Updated doc build script:
- Use XML class files as doc source
- PEP8
- Remove globals
- Use default paths relative to the script
|
2019-08-26 02:58:42 +01:00 |
Marc Gilleron
|
f4d2616410
|
Setup doc classes for doctool and generated XML files, need descriptions now
|
2019-08-26 02:54:57 +01:00 |
Marc Gilleron
|
d4ed6372b7
|
Optimize collision shapes, doubles build speed
|
2019-08-25 22:59:55 +01:00 |
Marc Gilleron
|
392dea37f5
|
Merge branch 'master' of https://github.com/Zylann/godot_voxel
|
2019-08-25 18:48:01 +01:00 |
Marc Gilleron
|
8fc1e40230
|
Line up statistics variable names
|
2019-08-25 18:47:43 +01:00 |
Marc
|
a2e62a4436
|
Merge pull request #53 from tinmanjuggernaut/update_docs
Update docs
|
2019-08-25 19:17:02 +02:00 |
Marc Gilleron
|
a0c7201fcd
|
Rename `get_stats()` => `get_statistics()`
|
2019-08-25 17:40:19 +01:00 |
Marc Gilleron
|
c13c0fbf20
|
Fix `remaining_main_thread_blocks` stat, it wasn't reported
|
2019-08-25 17:23:25 +01:00 |
Cory Petkovsek
|
3e40ceb844
|
Update docs
|
2019-08-25 23:54:01 +09:00 |
Marc Gilleron
|
4ec82928b4
|
Remove redundant VoxelTerrain::BlockDirtyState
|
2019-08-25 15:14:10 +01:00 |
Marc Gilleron
|
4ff5f91e6f
|
Add optional physics collision through node-less static bodies
|
2019-08-25 13:04:49 +01:00 |
Marc Gilleron
|
332041751d
|
Move mesh instance into a thin wrapper
|
2019-08-25 01:11:38 +01:00 |
Marc Gilleron
|
ed2db2b443
|
Put back meshing threads to 1 for VoxelTerrain, it doesnt react well to unordered block responses
|
2019-08-24 23:31:48 +01:00 |
Marc Gilleron
|
368e3efd1e
|
Remove unecessary condition
|
2019-08-24 23:31:01 +01:00 |
Marc Gilleron
|
9ca40b854b
|
Don't stop threads when the terrain exits the tree, it prevents saving-on-destroy from completing
|
2019-08-24 23:26:01 +01:00 |
Marc Gilleron
|
3074f8228d
|
Fix wrong size checks in VoxelBuffer::copy_from
|
2019-08-24 23:08:04 +01:00 |
Marc Gilleron
|
89a0888f9f
|
Moved lz4 to a thirdparty folder
|
2019-08-24 23:07:30 +01:00 |
Marc Gilleron
|
68dfe9fc70
|
Fix crash where null maps were accessed
|
2019-08-24 22:38:27 +01:00 |
Marc Gilleron
|
e815f79a5e
|
Removed unused variable
|
2019-08-24 01:44:51 +01:00 |
Marc Gilleron
|
f14b374931
|
Made block size and a few other params modifiable (not so easy, though)
|
2019-08-24 01:44:27 +01:00 |
Marc Gilleron
|
adc6a9391c
|
Fix threading issue causing corruption when duplicate rejection is active
|
2019-08-23 22:49:43 +01:00 |
Marc Gilleron
|
f0c841ff11
|
Expose region file settings conversion, tested case of equal block size
|
2019-08-20 20:50:09 +01:00 |
Marc Gilleron
|
2a56af760b
|
Added untested region file conversion, can't really try it yet
|
2019-08-19 23:17:23 +01:00 |
Marc Gilleron
|
ced898def6
|
Remove unused function
|
2019-08-19 18:47:41 +01:00 |
Marc Gilleron
|
dc73977a1a
|
Changed profiler to be more like a stack-based one, also made it super light (CPU-wise)
|
2019-08-18 23:13:12 +01:00 |
Marc Gilleron
|
6e02a52e21
|
Don't write header to file if it never changed, makes read-only regions faster
|
2019-08-18 23:05:15 +01:00 |
Marc Gilleron
|
457ebf626d
|
Added stat for time spent opening files
|
2019-08-18 16:10:40 +01:00 |
Marc Gilleron
|
c7cf0c5b17
|
Show directory picker in inspector for file streams
|
2019-08-17 20:22:57 +01:00 |
Marc Gilleron
|
e1d716d454
|
Merge branch 'master' into persistence
|
2019-08-17 20:16:22 +01:00 |
Marc Gilleron
|
808f22fb35
|
Rename VoxelStreamRegion => VoxelStreamRegionFiles
|
2019-08-17 19:56:21 +01:00 |
Marc Gilleron
|
ece3a355af
|
Rename VoxelStreamVXB => VoxelStreamBlockFiles
|
2019-08-17 19:43:08 +01:00 |
Marc Gilleron
|
fbeaae6bac
|
Moved some coordinate conversions to Vector3i
|
2019-08-17 19:34:40 +01:00 |
Marc Gilleron
|
6cb9971677
|
Remove AutoDeleteFile
|
2019-08-17 18:44:17 +01:00 |
Marc Gilleron
|
3a64209b27
|
Added LZ4 compression to saved blocks. Makes them fit in single sectors much more often, increasing performance
|
2019-08-17 18:15:16 +01:00 |