Commit Graph

1953 Commits (a891e3371f1d1cf2c692b7cccd580bddc6c812e6)

Author SHA1 Message Date
Marc Gilleron a891e3371f Fix warning about comparing enums of different types (I hope) 2022-06-08 20:43:43 +01:00
Marc Gilleron 58185147e3 Fix unused variables 2022-06-08 20:29:18 +01:00
Marc Gilleron 34b17ad162 Default to not showing mesh updates 2022-06-06 21:54:40 +01:00
Marc Gilleron 177d7a99c9 Added basic stack tracking for memory pool allocations 2022-06-06 21:54:20 +01:00
Marc Gilleron 2098ca36d9 Added debug gizmos to see mesh updates 2022-06-05 23:26:17 +01:00
Marc Gilleron 8e3f1bd74d Fix wrong SDF data generated below ground 2022-06-05 22:47:20 +01:00
Marc Gilleron aced77fa39 Update supporters 2022-06-04 23:11:38 +01:00
Marc Gilleron 82ae631894 Store pointer to block in map to remove one indirection 2022-06-04 22:59:28 +01:00
Marc Gilleron 3b152842aa Macro replacements 2022-06-04 22:54:56 +01:00
Marc Gilleron 5c716e360d Macros replacement 2022-06-04 03:36:42 +01:00
Marc Gilleron abdcb4c7d5 Storing position on VoxelDataBlock isn't necessary 2022-06-04 02:44:00 +01:00
Marc Gilleron f34d87d305 Simplified data VoxelDataMap structure 2022-06-04 02:23:56 +01:00
Marc Gilleron bfe37af5e7 Update comment on VoxelServer 2022-06-04 01:59:04 +01:00
Marc Gilleron 496e714303 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-06-03 19:02:22 +01:00
Marc Gilleron 6ab6f4a8b6 Unnecessary includes 2022-06-03 19:02:03 +01:00
Marc Gilleron 9bad06737b Note about dependency on Godot 2022-06-03 18:33:48 +01:00
Marc Gilleron 2ce4b92225 Fix changing mesh size not remeshing the terrain 2022-06-03 18:30:42 +01:00
Marc Gilleron 8966ad5b1f Fix holes in geometry with Transvoxel 2022-06-03 17:30:38 +01:00
Marc Gilleron 687beab897 Fix default noise properties 2022-06-02 20:58:06 +01:00
Marc 2cd158ff3b
Merge pull request #395 from rcorre/fix_linux_warning
Avoid unused variable warning.
2022-05-31 22:31:11 +01:00
Ryan Roden-Corrent 26dbd13f3a
Avoid unused variable warning.
gcc warns:

```
modules/voxel/streams/region/region_file.cpp: In function 'bool save_header(FileAccess*, uint8_t, const VoxelRegionFormat&, const std::vector<VoxelRegionBlockInfo>&)':
832
modules/voxel/streams/region/region_file.cpp:101:9: error: unused variable 'blocks_begin_offset' [-Werror=unused-variable]
833
  101 |  size_t blocks_begin_offset = f->get_position();

	const size_t blocks_begin_offset = f.get_position();
```

I noticed this while trying to build export templates using github
actions, as the godot actions treat warnings as errors by default:

https://github.com/rcorre/godot/runs/6617207436
2022-05-26 18:29:44 -04:00
Marc Gilleron b27976c5f4 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-05-23 21:20:20 +01:00
Marc Gilleron 1cb030ede6 Fix 32-voxel mesh block size in VoxelLodTerrain 2022-05-23 21:13:21 +01:00
Marc Gilleron 6ed48654f4 Fix nodes deletion in graph editor 2022-05-23 20:47:01 +01:00
Marc Gilleron dbd07f3b6c Update supporters 2022-05-23 00:38:23 +01:00
Marc Gilleron 6c47c177ab Moved Godot config access to module initialization 2022-05-23 00:13:37 +01:00
Marc Gilleron acbc52e717 Unnecessary forward-declaration 2022-05-22 22:25:55 +01:00
Marc e376bad7d4
Merge pull request #390 from rcorre/fixdoc
Fix triplanar mapping doc link.
2022-05-22 22:25:25 +01:00
Ryan Roden-Corrent 2727f11ffd
Fix triplanar mapping doc link. 2022-05-22 17:07:54 -04:00
Marc Gilleron 6fd56e2054 Removed intermediate struct 2022-05-22 22:00:21 +01:00
Marc Gilleron 863c9a81b6 Unused enum 2022-05-22 21:20:54 +01:00
Marc Gilleron 7bb683552d Added basic stair climbing to VoxelBoxMover 2022-05-22 20:34:22 +01:00
Marc Gilleron b64532c0ea Update supporters 2022-05-22 20:08:28 +01:00
Marc Gilleron b9c9b2bcee Schedule tasks more directly, remove VoxelServer data copies 2022-05-22 00:18:58 +01:00
Marc Gilleron f899ae8fbb Added option to show octree grid in editor, now off by default 2022-05-21 22:00:01 +01:00
Marc Gilleron 6aad611215 Moved methods outside Vector3f 2022-05-21 21:12:16 +01:00
Marc Gilleron 4e1c7cf485 Moved trilinear interpolation to funcs and made position template 2022-05-21 20:39:02 +01:00
Marc Gilleron f03a0a0253 Renamed `sign` function to clarify what it does compared to a standard version 2022-05-21 20:38:34 +01:00
Marc Gilleron 28fe3365e7 Added info about LOD 2022-05-18 23:31:37 +01:00
Marc Gilleron 748f73ed5e Update changelog 2022-05-18 23:31:11 +01:00
Marc Gilleron 6de7ce4d90 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-05-18 21:49:19 +01:00
Marc Gilleron 9588b73128 Auto-create resource params in new graph nodes 2022-05-18 21:33:26 +01:00
Marc 312a301eda
Merge pull request #389 from duchainer/patch-2
Cross-compiler compatibility: const -> constexpr
2022-05-18 21:30:02 +01:00
Raphaël Duchaîne f9690542b2
Cross-compiler compatibility: const -> constexpr
As suggested in https://github.com/Zylann/godot_voxel/issues/387
This allowed 2 full Mac builds using these commands:
 ```
scons platform=osx arch=x86_64 --jobs=$(sysctl -n hw.logicalcpu) warnings=all tools=yes tests=no target=release_debug production=yes
 ```
```
scons platform=osx arch=arm64 --jobs=$(sysctl -n hw.logicalcpu) warnings=all tools=yes tests=no target=release_debug production=yes voxel_fast_noise_2=false 
```
 -


( Also after having the VulkanSDK like mentioned here[1] and after deleting the `denoise` module which doesn't like ARM64)

[1]: https://github.com/godotengine/godot/issues/57622#issuecomment-1120486153
2022-05-18 16:15:14 -04:00
Marc Gilleron df25723b20 Initialize variable 2022-05-18 20:15:23 +01:00
Marc Gilleron 008c38bb6b Fix some signedness warnings 2022-05-17 23:10:18 +01:00
Marc Gilleron 602ae1ea95 Don't crash if no materials are specified 2022-05-17 23:10:11 +01:00
Marc Gilleron fa027cbe4e Allow to specify which surfaces have collision 2022-05-17 22:12:54 +01:00
Marc Gilleron fef56aad36 Merge branch 'master' of https://github.com/Zylann/godot_voxel 2022-05-17 19:45:12 +01:00
Marc Gilleron 4f862722ae Removed usages of Map 2022-05-17 19:44:58 +01:00