Commit Graph

23 Commits

Author SHA1 Message Date
Marc Gilleron
47a3fe97d3 Added function to make an area dirty 2018-10-01 20:48:47 +01:00
Marc Gilleron
606e131c25 More stats 2018-09-29 18:59:19 +01:00
Marc Gilleron
1cac9beec4 Add an internal option to run the terrain in editor, which defaults to false because editor integration currently isn't thread-safe 2018-09-28 01:10:35 +01:00
Marc Gilleron
7357060377 Several fixes, a few bugs remain
- Spread mesh updates on the main thread to reduce stalls
- Fix some ambiguous situations with an additional block state
- Expose block states for debug drawing
2018-09-26 01:22:23 +01:00
Marc Gilleron
8f349a1c9a Moved loading and meshing to 2 threads, will need a few bugfixes 2018-09-25 00:54:07 +01:00
Marc Gilleron
115e0e2870 Fixed view distance + dynamic load/unload around viewer 2017-08-28 01:48:36 +02:00
Marc Gilleron
6419e78fc2 Use VisualServer directly for mesh instances 2017-08-20 18:37:08 +02:00
Marc Gilleron
cb548234fc Block size is no longer a constant 2017-08-20 15:17:54 +02:00
Marc Gilleron
df13e025ca Expose things to the editor, first iteration, might be buggy 2017-08-15 02:24:52 +02:00
Marc Gilleron
51596fef95 Clang-format 2017-08-13 01:19:39 +02:00
Marc Gilleron
f07ddb37e3 Voxel raycast now considers smooth voxels too 2017-04-09 20:52:39 +02:00
Marc Gilleron
a5a1ded2f3 Added smooth voxels (untextured at the moment) 2017-04-06 23:44:11 +02:00
Marc Gilleron
a25c592cab Added profiling information (for engine dev mostly) 2017-04-01 20:10:38 +02:00
Marc Gilleron
9cce2aabcb Make it easier to edit voxels one by one + a few fixes for that 2017-03-29 22:36:42 +02:00
Marc Gilleron
4a24e28fce Blocks updates can be sorted by distance to viewer 2017-03-28 00:56:01 +02:00
Marc Gilleron
ef4d07ca03 Added simple voxel raycast 2017-03-26 20:07:01 +02:00
Marc Gilleron
353b32c49a Added collision shape generation 2017-03-26 18:09:37 +02:00
Marc Gilleron
fa5e419549 Upgraded to Godot 3.0 2017-03-25 01:23:36 +01:00
Marc Gilleron
06a399f932 Fixed set_voxel() and block force_update_blocks() 2017-01-05 02:39:40 +01:00
Marc Gilleron
c38a822664 Code style 2017-01-02 02:19:02 +01:00
Marc Gilleron
c75d1e78b2 Voxels are loaded through VoxelProvider 2017-01-02 02:15:57 +01:00
Marc Gilleron
8d1c8cc339 Spaces to tabs 2017-01-01 04:40:16 +01:00
Marc Gilleron
5662dfde7b Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00