|
96d00c4068
|
Also port the new methods that are required for caching from Terraman to VoxelLibrary.
|
2022-02-08 23:41:17 +01:00 |
|
|
3410575387
|
Ported the Material Cache and the VoxelLibraryMergerPCM classes from Terraman.
|
2022-02-08 22:47:06 +01:00 |
|
|
fe4a83b909
|
Changed the Voxelman prefix of the classes to just Voxel as suggested by filipworksdev. Closes #5. Thanks.
|
2022-02-08 12:36:37 +01:00 |
|
|
abe5db00cb
|
Work on fixing compile for 4.0.
|
2022-02-07 00:15:44 +01:00 |
|
|
547aeaad4d
|
Fix compile for 4.0.
|
2021-02-06 11:51:50 +01:00 |
|
|
9a151ffc6c
|
Same treatment to methods in VoxelManLibrary.
|
2020-10-27 23:24:24 +01:00 |
|
|
768728139e
|
Fix compile for 4.0.
|
2020-07-29 00:02:42 +02:00 |
|
|
e9dc7d18dd
|
Fix get_prop_uv_rect, and prop texture merging/setting in VoxelmanLibraryMerger.
|
2020-07-20 21:22:17 +02:00 |
|
|
a0f01044a1
|
Add has_prop() to the library's api.
|
2020-07-20 21:21:28 +02:00 |
|
|
ff48f3738a
|
Update for the prop module's PropDataMesh rename.
|
2020-07-05 18:49:00 +02:00 |
|
|
96fdd00754
|
Fix include.
|
2020-07-05 14:54:37 +02:00 |
|
|
9e2d71169b
|
Add prop uv rect query into the library, and make add_mesh_data_resource use it.
|
2020-06-28 21:31:26 +02:00 |
|
|
be4876c2f1
|
Fix compile if the props module isn't present.
|
2020-06-27 18:25:23 +02:00 |
|
|
a991de9d2e
|
Moved PropData to the props modue.
|
2020-06-27 17:04:40 +02:00 |
|
|
718823a1eb
|
The Merger lib now uses a vector to store props.
|
2020-06-23 01:15:11 +02:00 |
|
|
88ab910eb8
|
Brought back the old Prop implementation, and PropTool, because not only this implementation was already done, it will work better than spawning possibly thousands of nodes with the props module, but I also found a way to eventually make it more user friendly.
|
2020-06-22 21:49:58 +02:00 |
|
|
1d51be2f0b
|
Moved 4.0 compatibility code into a new defines.h (like in ESS).
|
2020-05-23 10:34:47 +02:00 |
|
|
1c0854a845
|
Remove unused class variable.
|
2020-04-19 23:56:11 +02:00 |
|
|
21ad01ca80
|
Removed separate liquid surfaces. They will be contained inside the normal voxel arrays.
|
2020-04-19 23:35:47 +02:00 |
|
|
bb7daf8f6b
|
Added liquid property to VoxelSurface, also small api cleanup.
|
2020-04-19 23:10:23 +02:00 |
|
|
7d20bd10d8
|
The new initialized property shouldn't be serialized.
|
2020-04-17 22:16:25 +02:00 |
|
|
bee499d951
|
The library now has an initialized bool. Also the world editor will refresh rects in the library if needed.
|
2020-04-17 19:21:46 +02:00 |
|
|
7c0390de74
|
The air block is not required anymore. Also Implemented the sidebar for world editor. And fixed a naming error for a virtual method in the merger library.
|
2020-04-17 00:37:22 +02:00 |
|
|
b21030ae89
|
More const qualifiers.
|
2020-04-16 17:54:32 +02:00 |
|
|
1f23f61b3a
|
Ran clang format, as apparently I had it off.
|
2020-04-10 13:55:27 +02:00 |
|
|
073e1aeb97
|
Fix build for 4.0.
|
2020-04-09 12:34:39 +02:00 |
|
|
f7842e1ab2
|
The blocky mesher is a lot faster now.
|
2020-04-07 14:23:20 +02:00 |
|
|
40535bfb59
|
Fix normal compile.
|
2020-04-06 23:08:35 +02:00 |
|
|
a4fc573f85
|
Optional module dependencies are actually optional now.
|
2020-04-06 22:47:03 +02:00 |
|
|
2d2b7c8c3e
|
Started reworking the way props are handled. Removed every old PropData related classes. Props are now just normal PackedScenes. Spawning conveniences/network synchronization will come later.
|
2020-04-04 17:22:07 +02:00 |
|
|
214323a9a0
|
Fix compile.
|
2020-04-03 09:32:34 +02:00 |
|
|
bf211fd430
|
Moved everything that is prop related to a new repository (props). It is required for this to compile for a short wile, while I rework things.
|
2020-04-03 09:25:07 +02:00 |
|
|
541abb954d
|
Now materials in Library are stored with vectors. This makes it possible to have different materials for every lod level for example.
|
2020-03-29 20:19:38 +02:00 |
|
|
919080a1b5
|
Added props top the merger library, also it will now merge together all added prop textures. Also api cleanups.
|
2020-02-16 02:54:17 +01:00 |
|
|
601a61619b
|
Added mesher index property to both VoxelMesher, and VoxelSurface.
|
2020-02-13 14:16:57 +01:00 |
|
|
db77530ec1
|
Updated the license for 2020, and added it to the top of my cpp files.
|
2020-01-31 19:52:37 +01:00 |
|
|
2b9f28e573
|
Added scaled uv calculation to voxel surface. Think of terrarins, when the texture is bigger than one quad.
|
2020-01-14 22:26:40 +01:00 |
|
|
a67d0393ca
|
Clang format.
|
2020-01-09 04:29:05 +01:00 |
|
|
2b369f5be8
|
Made material texture setup scriptable.
|
2019-11-25 12:03:45 +01:00 |
|
|
7075da44eb
|
Bit more work on the bindings.
|
2019-11-10 22:18:31 +01:00 |
|
|
e0deb2ea66
|
Added liquid, and clutter mesh allocations into Chunk, also related modifications.
|
2019-11-10 13:42:59 +01:00 |
|
|
c674a8c045
|
Added chunk states, and dirty flag to Chunk.
|
2019-11-10 03:10:42 +01:00 |
|
|
f82076e9c2
|
More work on clutter.
|
2019-11-10 02:42:31 +01:00 |
|
|
3b722e24f9
|
Added binds for liquids.
|
2019-11-09 23:39:19 +01:00 |
|
|
fd48f195c6
|
Implemented the Merger Voxel Library.
|
2019-11-09 21:51:40 +01:00 |
|
|
cb91888f2a
|
Added VoxelmanLibraryMerger. (A copy of the simple library at the moment.)
|
2019-11-09 18:36:17 +01:00 |
|
|
f931f3f1bf
|
Separated VoxelmanLibrary into 2 different classes.
|
2019-11-09 17:26:16 +01:00 |
|
|
c1b0be11bd
|
Fixed the new property's hint.
|
2019-09-06 18:40:28 +02:00 |
|
|
249e4e5f81
|
Crash fix.
|
2019-09-06 04:37:08 +02:00 |
|
|
34e0252066
|
Ran into an example of binding variant arrays with a specific type, so now the voxel surface array is bound like that.
|
2019-09-06 04:31:57 +02:00 |
|