Rathma
c068ad7455
Forgot to clear some tangents in the BakedData class.
2020-11-09 19:51:21 -05:00
Rathma
fd07f76586
Changed real_t => float for all tangent related variables(for real this time)
2020-11-09 01:07:59 -05:00
Rathma
08974daf56
Changed real_t => float for all tangent related variables
2020-11-09 01:03:07 -05:00
Rathma
3aeca4639f
Switched to deterministic look-up table for cube uvs.
...
Changed code to snake case
Changed PoolArrays from real_t to float
Removed tangents from colored cube generator
2020-11-09 00:45:49 -05:00
Rathma
04aaeab615
Somehow missed I redefined a variable on a local build.
2020-11-08 21:43:42 -05:00
Rathma
a887fb12f5
Added a few comments, fixed an indexing and logic mistake.
...
Also the visual glitch I referred to in my last comment was pre-existing
or user-error it appears.
2020-11-08 21:31:16 -05:00
Rathma
fff1ee5f83
Added normal mapping to blocky & cube meshers by implementing tangent
...
calculations in the meshers. This caused a visual bug in the blocky
mesher that needs to be ironed out.
2020-11-08 09:43:18 -05:00
Marc
507b4c8922
Merge pull request #207 from tdaffin/fix_mono_glue
...
Fix bindings so that generate-mono-glue for C# bindings works
2020-11-08 00:04:49 +00:00
Tom Daffin
17a7674316
Fix bindings so that generate-mono-glue for C# bindings works
2020-11-07 08:02:27 -07:00
Marc
4991b24519
Added funding file
2020-11-06 23:18:22 +00:00
Marc Gilleron
4c1e149aef
Optimized iteration over all blocks of a map (but likely, ECS approach may be better in the future)
2020-11-01 03:25:48 +00:00
Marc Gilleron
10d6e5bd8a
Script-based generators and streams have their own class, should fix C# API
2020-10-31 22:11:25 +00:00
Marc Gilleron
18e7792bd5
Added access to block local transform in custom shaders for VoxelLodTerrain
2020-10-31 01:15:50 +00:00
Marc Gilleron
09b32c9dd8
Allow to change process mode from script on VoxelLodTerrain
2020-10-30 19:02:00 +00:00
Marc Gilleron
23123fc920
GCC warning
2020-10-29 22:59:09 +00:00
Marc Gilleron
a31dcdd3bd
Don't clamp view distance for now, but should be done dynamically
2020-10-29 22:58:49 +00:00
Marc Gilleron
01776d2ee1
Don't load neighboring blocks across fixed boundaries
2020-10-29 22:58:19 +00:00
Marc Gilleron
90cc96d241
Update viewer position on transform changes instead of process
2020-10-29 00:55:04 +00:00
Marc Gilleron
40d299413f
Don't compute matrices if they aren't used when transforming blocks
2020-10-29 00:54:27 +00:00
Marc Gilleron
b5470fab2b
Fix big CPU due to blocks never getting unloaded
...
The unloading logic is supposed to run for all LOD levels except the biggest one,
but instead was running for all LODs except the smallest.
2020-10-29 00:53:04 +00:00
Marc Gilleron
bf8a4229a1
Added debug function to get how many blocks are currently in memory
2020-10-29 00:49:12 +00:00
Marc Gilleron
1200b012bb
Some notes about tracy
2020-10-29 00:47:25 +00:00
Marc Gilleron
510d25e604
Expose find_node_by_name
2020-10-29 00:42:55 +00:00
Marc Gilleron
44a1af2043
Don't crash if graph resources are null
2020-10-26 19:58:54 +00:00
Marc Gilleron
56b4b55b53
Fix missing return
2020-10-25 23:07:53 +00:00
Marc Gilleron
a20a7bda03
Update changelog
2020-10-25 21:21:47 +00:00
Marc Gilleron
f3108de4f9
Removed old viewer API from VoxelLodTerrain, support 1 VoxelViewer at a time for now
2020-10-25 21:21:37 +00:00
Marc Gilleron
61f17ce96d
Formatting
2020-10-25 20:38:23 +00:00
Marc Gilleron
b672013f00
Fix an occurrence of Variant uint64_t ambiguity for Mac builds
2020-10-25 20:27:09 +00:00
Marc Gilleron
0cb8188eb7
Added ability to name graph nodes
2020-10-25 20:26:25 +00:00
Marc Gilleron
bb549198f6
Replaced Voxel.transparent with a transparency_index for more control over face culling
2020-10-25 16:59:19 +00:00
Marc Gilleron
c6572142eb
Typo
2020-10-25 16:56:04 +00:00
Marc Gilleron
85bb3d7b28
VoxelTerrain can be transformed
2020-10-25 00:55:57 +01:00
Marc Gilleron
850874893c
Fix debug renderer not putting back pooled cubes back to visible when used again
2020-10-25 00:55:01 +01:00
Marc Gilleron
e05a53b370
Fix GCC error
2020-10-25 00:54:34 +01:00
Marc Gilleron
361f7d73ed
VoxelLodTerrain handles transform changes (VoxelTool still has to account for that)
2020-10-24 03:22:02 +01:00
Marc Gilleron
d158a92f57
Show bounds and octrees of VoxelLodTerrain with debug drawing
2020-10-24 00:08:14 +01:00
Marc Gilleron
e70f87e4a7
Fixed bounds being snapped too large
2020-10-24 00:06:09 +01:00
Marc Gilleron
4e65c8d937
Added bounds support to VoxelLodTerrain (rounded to octree size)
2020-10-22 22:43:31 +01:00
Marc Gilleron
2dfcc76600
Better fix for VoxelLodTerrain task drop
2020-10-20 23:58:55 +01:00
Marc Gilleron
54eb228444
Fix crash when increasing LOD count in editor while blocks are still loading
2020-10-19 23:22:23 +01:00
Marc Gilleron
30c6d7e436
Disabled task cancellation to make VoxelLodTerrain work, will need better option later.
...
VoxelLodTerrain's block requests were being cancelled constantly.
This commit also contains precision improvement for cancelling
block requests based on distance, which originally was an attempt to
"properly" fix the problem with VoxelLodTerrain, but it didnt fully
worked for that node.
I left it anyways, maybe it will change in the future once a
proper fix is figured out.
2020-10-19 23:21:14 +01:00
Marc Gilleron
25fded048e
Fix some typos
2020-09-28 18:37:49 +01:00
Marc Gilleron
2597e4832a
Bits of API doc
2020-09-28 18:37:34 +01:00
Marc Gilleron
04df05854a
Fix dead link in docs
2020-09-28 18:36:54 +01:00
Marc Gilleron
5dd8475091
Fix GCC warning (4)
2020-09-20 20:28:45 +01:00
Marc Gilleron
e31147b434
Fix one more GCC warning
2020-09-20 17:05:20 +01:00
Marc Gilleron
a462803929
Fix more GCC warnings
2020-09-20 16:33:00 +01:00
Marc Gilleron
39d56b2c17
Fix GCC warnings
2020-09-20 16:13:53 +01:00
Marc Gilleron
37f5c4bd43
Document about region v3
2020-09-19 22:31:54 +01:00