|
c1fbdc8a5d
|
Added note.
|
2022-03-08 14:14:26 +01:00 |
|
|
0845d92e65
|
Fix more issues when allocating and deleting chunks really fast. (Flying around in the editor at max speed.)
|
2022-02-19 22:09:22 +01:00 |
|
|
a78d41bf37
|
Added a helper method to get the editor's camera.
|
2022-02-19 11:09:24 +01:00 |
|
|
3ccfb05b5c
|
Removed the old liquid mesher, and reused the normal blocky mesher as liquid mesher. It should work as is.
|
2022-02-18 22:45:22 +01:00 |
|
|
55a98b96d5
|
Changed the alt type and isolevel to liquid type and isolevel and removed the liquid liquid flow default channel. Liquids need to work differently here that with voxelman.
|
2022-02-18 21:59:22 +01:00 |
|
|
aaeca66f80
|
Renamed voxel_surface methods / properties to terra_surface.
|
2022-02-18 21:29:43 +01:00 |
|
|
e2a465a1ab
|
Call make_visible(false) instead of just hiding the world_editor.
|
2022-02-09 14:37:54 +01:00 |
|
|
281f3c505f
|
Material cache keys weren't supposed to be serialized. I did keep , PROPERTY_USAGE_EDITOR, so they are visible in the editor. It's nice to have for debugging purposes.
|
2022-02-09 12:55:44 +01:00 |
|
|
098afa23e2
|
Changed the Terra and Terraman class prefixes to Terrain.
|
2022-02-08 13:59:00 +01:00 |
|
|
6e395b5a05
|
Fox compile for 3.x.
|
2022-02-08 12:13:26 +01:00 |
|
|
f256229139
|
Work on fixing compile for 4.0.
|
2022-02-08 11:52:29 +01:00 |
|
|
2aa31ea22e
|
Fix compile after recent commit in 3.x master.
|
2022-01-19 00:01:57 +01:00 |
|
|
654e8872de
|
Updated copyright headers.
|
2022-01-12 22:19:46 +01:00 |
|
|
ae53ad5001
|
Added an alternative forward_spatial_gui_input to the world editor, so the plugin also works with my godot fork / TokageItLab's skeleton editor changes.
|
2021-09-23 23:10:48 +02:00 |
|
|
86de26c2c7
|
Added chunk_added and chunk_removed signals to TerraWorld.
|
2021-08-28 00:26:46 +02:00 |
|
|
632586f4b3
|
Now the world can be deactivated when needed.
|
2021-08-28 00:05:36 +02:00 |
|
|
2cbb13ea58
|
TerraPropJob will now make use of the prop material cache.
|
2021-08-08 14:02:36 +02:00 |
|
|
114adce2b9
|
Added a setup phase for TerraPropJob which sets up prop material caches.
|
2021-08-08 13:37:26 +02:00 |
|
|
2e38466015
|
Add comment.
|
2021-08-08 13:34:58 +02:00 |
|
|
d931a53a13
|
Don't return in the terrain job if the cache is not initialized, wait instead.
|
2021-08-08 13:22:40 +02:00 |
|
|
e5c860e578
|
Moved a mesher vertex count check lower. This fixes missing meshes when none of the mesh data resources are fully in a chunk.
|
2021-08-07 15:14:50 +02:00 |
|
|
8362eaf58e
|
Better phase cleanups in PropJob.
|
2021-08-07 15:03:35 +02:00 |
|
|
f62b605d9a
|
now PropJob will actually use JobSteps.
|
2021-08-07 13:47:55 +02:00 |
|
|
ac6c5001d5
|
Added a few todos.
|
2021-08-07 13:46:50 +02:00 |
|
|
2ba4bc79c4
|
Change the terrain mesh indexes to prop mesh indexes in the prop job. Also query for the prop mesh cache.
|
2021-08-07 12:55:15 +02:00 |
|
|
2fd0eac8cc
|
Added the JobStep api to TerraPropJob. It's used yet.
|
2021-08-07 12:37:37 +02:00 |
|
|
1fd761e115
|
Don't cast to TerraMesherBlocky in the TerrarinJob.
|
2021-08-07 12:32:22 +02:00 |
|
|
f59f817ee6
|
Now TerraChunk can store liquid and prop material cache keys aswell.
|
2021-08-07 12:09:41 +02:00 |
|
|
f76a7f9df4
|
Chunk's mesh_data_resource_add expects a local transform.
|
2021-08-07 11:26:21 +02:00 |
|
|
c7f7d0919d
|
Don't pass bool as a const reference.
|
2021-08-07 11:11:21 +02:00 |
|
|
d3e5bb84cc
|
Fix typos.
|
2021-08-07 11:09:30 +02:00 |
|
|
01721b9488
|
When the world adds a MeshDataResource to the chunk it should not be scaled again.
|
2021-08-07 11:08:20 +02:00 |
|
|
94c9fc39ac
|
Implement refcounting for material caches.
|
2021-08-03 01:08:50 +02:00 |
|
|
8f989f7ae0
|
Fix potential race condition.
|
2021-08-03 00:24:15 +02:00 |
|
|
06ade87fac
|
Check whether the chunk has a material cache key set instead of checking whether the library supports caching in the terrain job.
|
2021-08-02 23:06:22 +02:00 |
|
|
2a731480d0
|
Improved the cache api again. Now the chunks can store the assigned key, so it does not have to be re-hashed again only if actually needed.
|
2021-08-02 20:02:48 +02:00 |
|
|
4647db8f1e
|
Now the cache api uses the new TerraMaterialCache class.
|
2021-08-02 13:39:29 +02:00 |
|
|
adf42dc30d
|
Per chunk material support for the Terrain job.
|
2021-08-01 22:21:20 +02:00 |
|
|
45d8dca50c
|
Added a new phase to the terrain job, if the library supports per chunk materials, it will query the key from it (which can create materials / textures hence the new phase).
|
2021-08-01 19:38:45 +02:00 |
|
|
660ea8bf74
|
Use the new lod variant of the library's material getters wherever possible.
|
2021-08-01 16:33:17 +02:00 |
|
|
b22fceabe9
|
Added back the max_concurrent_generations property. This fixes chunk generation on android.
|
2021-04-21 12:03:59 +02:00 |
|
|
478dcd864d
|
Work on lod seams.
|
2021-04-20 20:10:26 +02:00 |
|
|
034f3b563f
|
Added a chunk_lod_first_falloff parameter to TerraWorldDefault.
|
2021-04-19 18:33:49 +02:00 |
|
|
a3c81f4d0c
|
Make baked colors work on every lod types.
|
2021-04-19 18:15:36 +02:00 |
|
|
0836917f72
|
Job step setup.
|
2021-04-19 17:57:47 +02:00 |
|
|
437d175533
|
Fix the normal lod step and merge verts steps.
|
2021-04-19 17:51:52 +02:00 |
|
|
a6d8ee6ae4
|
Renamed EnvironmentData to TerraEnvironmentData. Also fixed include guard.
|
2021-04-18 22:34:17 +02:00 |
|
|
0043df1c1d
|
Fix crash when lighting is enabled, and the liquid mesher is null.
|
2021-04-18 19:16:29 +02:00 |
|
|
07788b6e8d
|
Removed a few more unused properties.
|
2021-04-17 19:29:59 +02:00 |
|
|
94d18a7c48
|
Removed a few now unused properties.
|
2021-04-17 19:13:57 +02:00 |
|