Commit Graph

1064 Commits (7e905913c98eb3c47019dc4608292e12f33435e7)

Author SHA1 Message Date
Marc Gilleron 7e905913c9 Unused functions 2021-04-30 01:34:59 +01:00
Marc Gilleron 1f60b9c7e9 Fix used channels when the Transvoxel mesher is set to produce texture info 2021-04-30 01:34:40 +01:00
Marc Gilleron 1a9750194b Added same basic painting function to VoxelToolLodTerrain (untested) 2021-04-25 22:20:05 +01:00
Marc Gilleron 0e2d7dc596 Comments and format 2021-04-25 20:23:52 +01:00
Marc Gilleron 8b017f460f Basic VoxelTool function to paint textures on buffers 2021-04-25 20:23:14 +01:00
Marc Gilleron 42240fa018 Fix issues with `is_uniform`
- Items that cannot pack a bucket will use classic per-item comparison
- Fix wrong operator in bucket comparison
2021-04-25 16:21:15 +01:00
Marc Gilleron 91c469bde5 Unused variable 2021-04-24 21:30:40 +01:00
Marc Gilleron bbb64a1740 Don't check bounds in release builds 2021-04-24 21:25:45 +01:00
Marc Gilleron b33a432b3d Optimized `is_uniform` for the case a buffer has not been compressed yet 2021-04-24 21:23:40 +01:00
Marc Gilleron 20547241cb Further optimizations and move to new file
- Moved Transvoxel implementation to its own file
- Optimized case where a whole block uses the same textures indices
2021-04-24 21:22:05 +01:00
Marc Gilleron b75f746ae7 Optimized Transvoxel
- Removed some conditionals using templates
- The hot path skipping empty cells is much faster
- Access to voxels is done more by index instead of position lookup
2021-04-23 22:12:39 +01:00
Marc Gilleron e20bcd3c89 Merge branch 'master' into smooth_texturing 2021-04-23 00:00:31 +01:00
Marc Gilleron 82fc44d41e Restructured transvoxel logic to prepare templatization 2021-04-21 19:18:08 +01:00
Marc Gilleron 0cef70a3c0 Fix backward iteration infinite loop when there is only one LOD 2021-04-21 18:29:23 +01:00
Marc Gilleron dc2f853b50 First version of texturing for Transvoxel. Needs optimization and tooling. 2021-04-21 18:26:40 +01:00
Marc Gilleron a36604ebf2 Fix more GCC warnings (3) 2021-04-18 02:13:26 +01:00
Marc Gilleron a00e9928d8 Fix more GCC warnings 2021-04-18 01:59:51 +01:00
Marc Gilleron 7d93a4646d Fix more GCC warnings 2021-04-18 01:48:53 +01:00
Marc Gilleron b846194bea Fix some GCC warnings 2021-04-18 01:29:26 +01:00
Marc Gilleron 039ed2a779 Add block size change to changelog 2021-04-18 01:01:03 +01:00
Marc Gilleron 21ac557a20 Merge branch 'master' into block_size_decoupling 2021-04-18 00:37:11 +01:00
Marc Gilleron 1406d3d07d Tweaks 2021-04-18 00:36:32 +01:00
Marc Gilleron 2d247af250 Increase resolution of preview nodes 2021-04-18 00:35:04 +01:00
Marc Gilleron 10683ccd15 Comments 2021-04-15 20:35:31 +01:00
Marc Gilleron ab139ba44c Match filename 2021-04-15 20:35:10 +01:00
Marc Gilleron 2467471de2 Remove old code 2021-04-15 20:30:00 +01:00
Marc Gilleron 96bcc44d00 Removed VoxelMap and VoxelBlock, superseded by their specialized versions 2021-04-15 20:25:55 +01:00
Marc Gilleron 63d9361a87 Split refcounts 2021-04-15 20:25:03 +01:00
Marc Gilleron f7d0039811 Added mesh block size setter to VoxelTerrain 2021-04-15 20:00:41 +01:00
Marc Gilleron 1449560f29 Implemented decoupling on VoxelTerrain (no setter yet) 2021-04-13 23:48:35 +01:00
Marc Gilleron 310386bde8 Merge branch 'master' into block_size_decoupling 2021-04-11 01:09:51 +01:00
Marc Gilleron 42a8d0e35f Fix shadow setting not initialized when setting up from template scene 2021-04-11 00:58:12 +01:00
Marc Gilleron 26e42e3707 Sanity checks to prevent shifting by negative values 2021-04-10 17:46:15 +01:00
Marc Gilleron 313e592dcb Notes about big-endian 2021-04-10 17:38:07 +01:00
Marc Gilleron 2b202cf07c Merge branch 'master' of https://github.com/Zylann/godot_voxel 2021-04-10 01:47:24 +01:00
Marc Gilleron 6fc103b691 Fix links in class reference 2021-04-10 01:43:55 +01:00
Marc Gilleron 2b38508be0 Added documentation about Voxel Generator Graph 2021-04-10 01:40:39 +01:00
Marc Gilleron 05dda25245 Fix several bugs when the graph has no operations 2021-04-10 01:36:49 +01:00
Marc 8222abcab9
Merge pull request #251 from jacobcoughenour/github_actions_mono
Added Mono builds in a new Github Actions workflow
2021-04-08 00:28:27 +01:00
jacobcoughenour 62cc0147fc Added an icon for the Mono Builds action 2021-04-07 17:19:48 -04:00
jacobcoughenour c7cb703cb0 Remove .exe from Windows Mono build artifact name 2021-04-07 16:25:08 -04:00
jacobcoughenour e40f9469d1 Disable debug symbols in Windows Mono build 2021-04-07 10:18:32 -04:00
jacobcoughenour 97a14f2e40 Added Mono builds in a new Github Actions workflow 2021-04-07 00:07:15 -04:00
Marc Gilleron 2c6eb114b2 Fix order of SDF arguments 2021-04-07 00:05:38 +01:00
Marc Gilleron bcba1a8c0f Fix wrong condition in try_get_input 2021-04-07 00:05:00 +01:00
Marc Gilleron 0c830ded40 Fix wrong input used in sdf subtract node 2021-04-07 00:04:33 +01:00
Marc Gilleron 9a131ed4ff Merge branch 'master' into block_size_decoupling
# Conflicts:
#	server/voxel_server.cpp
2021-04-06 22:00:55 +01:00
Marc Gilleron c746031eba Fix used channels when copying data for meshing 2021-04-06 21:59:36 +01:00
Marc 1448c5ea61
Merge pull request #250 from jacobcoughenour/instance_shadow_mode
Added shadow mode setting to VoxelInstanceLibraryItems
2021-04-06 21:52:16 +01:00
jacobcoughenour 13346b3495 Remove unnecessary enum bind and add shadow setting to doc 2021-04-05 22:50:03 -04:00