|
4be30142fb
|
Added a mutex to ensure_materials_loaded in PropCache. This fixes potential "ERROR: Another resource is loaded from path" when spawning lots of PropInstanceMergers for the first time.
|
2021-08-25 01:20:12 +02:00 |
|
|
a0153bbe0b
|
Started work on collision support for the TIledWall.
|
2021-08-18 21:16:58 +02:00 |
|
|
19b182dd71
|
Don't build if not in tree.
|
2021-08-18 20:41:10 +02:00 |
|
|
681cdb21c6
|
Collider support for TiledWalls in PropInstanceMerger.
|
2021-08-18 20:35:12 +02:00 |
|
|
5baba6436f
|
Moved the cache setup code from PropInstanceMerger to the prop job this makes the texture merge actually threaded.
|
2021-08-18 18:57:19 +02:00 |
|
|
1143adf7ee
|
Moved phase_physics_process and phase_prop in file.
|
2021-08-18 18:50:52 +02:00 |
|
|
51e3254bfc
|
Tiled Wall support for PropInstance and PropinstanceMerger. Also fixed a double transform multiplication with MeshDataResources in PropInstanceMerger.
|
2021-08-18 18:48:13 +02:00 |
|
|
f2d1383ba8
|
Only transform the normal with the basis.
|
2021-08-18 18:45:40 +02:00 |
|
|
2fcab242f9
|
Now TiledWalls can be serialized into props.
|
2021-08-18 18:06:09 +02:00 |
|
|
b18fc92ebb
|
Make sure to call initial_setup_default in cache.
|
2021-08-18 17:24:48 +02:00 |
|
|
9d26fd35f2
|
Implemented flavours.
|
2021-08-18 17:10:45 +02:00 |
|
|
9c970bbed5
|
Make sure to duplicate the materials before adding them to the cache in _setup_cache.
|
2021-08-18 16:57:11 +02:00 |
|
|
1f45f626d3
|
Call emit_changed() in TiledWallData in every setter.
|
2021-08-18 16:55:30 +02:00 |
|
|
e23382ac75
|
Fix mesh indices.
|
2021-08-18 16:52:02 +02:00 |
|
|
97b6897429
|
Make sure to clear the mesh when the width of the height changes.
|
2021-08-18 16:28:36 +02:00 |
|
|
12a4e03376
|
Fix the normal's directions.
|
2021-08-18 16:19:05 +02:00 |
|
|
104a1c63d0
|
Implemented texture rects for the tiled wall mesher.
|
2021-08-18 16:16:09 +02:00 |
|
|
67e9407188
|
Fix collision property.
|
2021-08-18 16:09:56 +02:00 |
|
|
4d7d66e969
|
Implemented TiledWall meshing.
|
2021-08-18 16:07:03 +02:00 |
|
|
78f049e8c9
|
Fixed binding for tiling_type.
|
2021-08-18 16:06:49 +02:00 |
|
|
3c3e057182
|
Check for the VERSION_MAJOR define instead of the GODOT4.
|
2021-08-17 20:03:57 +02:00 |
|
|
2e4ab17d2e
|
More cleanups/initial setup for TiledWall.
|
2021-08-17 18:07:17 +02:00 |
|
|
e2916f12b3
|
Initial TiledWall cleanup.
|
2021-08-17 17:41:22 +02:00 |
|
|
874c84e631
|
Removed texture rects from TiledWallData. I realized it's not going to work like this.
|
2021-08-17 17:32:59 +02:00 |
|
|
68d448f5e1
|
Small temporary notes.
|
2021-08-17 16:31:51 +02:00 |
|
|
5a584fa578
|
Added a small comment.
|
2021-08-17 14:56:11 +02:00 |
|
|
97759a63ea
|
Added custom rect support for textures into TiledWallData. Also implemented _setup_rects.
|
2021-08-17 13:47:34 +02:00 |
|
|
e0c9ff44e9
|
Added setup_cache and setup_rects methods to the TiledWallData.
|
2021-08-17 13:10:37 +02:00 |
|
|
72e25437bd
|
Fix missing include, and missing binds.
|
2021-08-17 12:48:42 +02:00 |
|
|
e7e50c0e8a
|
Add material cache storage for TiledWalls into PropCache.
|
2021-08-17 12:46:20 +02:00 |
|
|
c68671ff94
|
Added materials to the TiledWallData.
|
2021-08-17 12:40:19 +02:00 |
|
|
b95ebbda75
|
Fail if tiled_wall_data is not valid, and also copy the new tiling type property.
|
2021-08-17 12:30:57 +02:00 |
|
|
b057e8d9af
|
Added a tiling type enum to TiledWallData. Also removed the now unused members and renamed a parameter.
|
2021-08-17 02:24:32 +02:00 |
|
|
362f8f803b
|
Removed the unneeded properties from TiledWallData.
|
2021-08-17 02:08:48 +02:00 |
|
|
b311a2656c
|
Make Ref parameters references wherever possible in TiledWallData.
|
2021-08-17 01:15:20 +02:00 |
|
|
acf1af1e77
|
Added an another set of getters/setters for flavour textures into TiledWallData.
|
2021-08-17 01:12:56 +02:00 |
|
|
b292a387cb
|
Rename the prop getters to texture getters in TiledWallData.
|
2021-08-17 01:04:00 +02:00 |
|
|
fbafc568d7
|
Added TiledWall and TiledWallData classes. Just a skeleton for now.
|
2021-08-16 17:44:28 +02:00 |
|
|
2c7ce2fc07
|
Added PropDataPortal. It can be used to save Portal data into props.
|
2021-08-14 19:01:47 +02:00 |
|
|
6518bba651
|
Now the room hull generation tool will generate a bit more optimized meshes. It's not too bad but the meshes can still be optimized a bit. The commit contains some commented out code for now. I'll try to think up a way to remove all unneeded points from the hull.
|
2021-08-14 18:35:53 +02:00 |
|
|
d8f32eaf59
|
Now the room hull calculation tool works.
|
2021-08-14 12:54:14 +02:00 |
|
|
66f4a662c6
|
A stab at generating room points. This might need to be thrown out. Committing for fututre reference. Also fixed the other tools menu options.
|
2021-08-13 22:58:12 +02:00 |
|
|
0b42390563
|
Work on room to prop conversion.
|
2021-08-12 21:45:28 +02:00 |
|
|
faec727b11
|
Added room data related properties to PropData. A PropData will only be able to have one room.
|
2021-08-12 21:06:42 +02:00 |
|
|
067008bb90
|
Fix moving PropInstanceMerger even when it's parent is moved.
|
2021-08-12 20:24:39 +02:00 |
|
|
7643391f80
|
Don't turn on internal processing in PropInstanceMerger's constructor.
|
2021-08-12 19:29:58 +02:00 |
|
|
4d3c87bb09
|
Add missing return. Now auto lods will properly be turned off when there are no, or just one mesh in PropInstanceMerger.
|
2021-08-12 19:23:30 +02:00 |
|
|
10256f556c
|
Implemented automatic lod checks against the active camera. Can be turned off with the new auto_lod property. Also tweaked the default distance values.
|
2021-08-12 18:45:12 +02:00 |
|
|
fb9513c911
|
Implemented lod level switching support for PropInstanceMerger. Also implemented toggling the meshes with visibility.
|
2021-08-12 17:56:38 +02:00 |
|
|
cb3aa0b1b0
|
Now the editor can properly handle without a restart when an already existing PropData gets re-serialized with the scene conversion tool.
|
2021-08-11 20:33:41 +02:00 |
|