Commit Graph

84 Commits

Author SHA1 Message Date
f7df6f0764 Updated the readme. 2023-01-09 20:54:16 +01:00
bde0e9301f Work on fixing compile. 2023-01-09 14:11:03 +01:00
bedb86c987 Work on fixing compile. 2023-01-09 01:17:26 +01:00
1b9fb57a73 Updated register_types.h and cpp to the current godot 4 style. 2023-01-08 15:55:50 +01:00
a062d871d4 Added MeshDataInstance2D. 2022-02-25 14:44:57 +01:00
befd0071b6 Updated the 2d PropDataEntry. Also registered it to the Prop2D singleton. 2022-02-25 14:04:51 +01:00
4d73bb78ea Update for the new prop 2d api. 2022-02-22 19:07:49 +01:00
49dcf99e40 Update after Props2D changes. 2022-02-21 22:14:11 +01:00
57a3c6ee34 Update after props_2d file renames. 2022-02-21 22:03:19 +01:00
425a1fd561 Added Prop2DDataMeshData for the props_2d module. I't s a copy of the 3d one for now. 2022-02-21 17:04:55 +01:00
756b5131cb Added support for more that one mesh surfaces to the importer. A new surface handling type import option lets you specify how you want the plugin to deal with them. 2022-02-12 17:49:14 +01:00
cfeadd124b Added append_arrays helper method to MeshDataReosurce. 2022-02-12 17:45:03 +01:00
469a8d0e6c Fix + improve import type multiple. Also fixed save copy as resource for it. 2022-02-12 13:00:26 +01:00
20018b6af9 Added a new save_copy_as_resource import option. It can be used to convert the input files to godot resources. 2022-02-11 18:47:52 +01:00
2bf76b8d07 Work on fixing compile for 4.0. 2022-02-07 00:16:45 +01:00
362d59ae45 Updated the copyright headers to 2022. 2022-01-12 21:59:58 +01:00
d25ee476c4 Re-extracted the class docs. 2022-01-12 21:59:38 +01:00
d4b0189041 Added a mesh_data_resource_changed signal to MeshDataInstance. 2021-12-29 18:22:44 +01:00
20a8fb525f Removed the (empty) uv_unwrap method from MeshDataResource. the mesh utils module has it implemented. 2021-12-29 00:43:24 +01:00
ccce088bbd Refresh the mesh in MeshDataInstance when the assigned MeshDataResource is changed. 2021-12-29 00:35:47 +01:00
b61f6eabd6 Call emit_changed() in MeshDataResource wherever it's applicable. 2021-12-29 00:34:37 +01:00
4c8560f40d Fix compile when the props module is not present. 2021-11-23 17:14:15 +01:00
413b8c0f26 Fix build for the new 3.x branch. 2021-11-17 14:03:51 +01:00
49b594130d Removed xatlas completely, I couldn't get it to just respect charts without creating new ones. 2021-09-14 11:06:36 +02:00
5521afffa7 Move the ifdef to the beginning of the uv_unwrap method. 2021-09-14 10:19:33 +02:00
e031ed36b5 Work on uv unwrapping. 2021-09-13 18:45:20 +02:00
aace67c49c Initial seam storage and uv unwrapping setup. 2021-09-13 14:06:47 +02:00
4830687056 Fix compile for older versions of the engine than 3.x. 2021-08-29 18:56:09 +02:00
8488a033db Temporarily set MeshDataInstance's portal mode to PORTAL_MODE_GLOBAL on creation. This disables portal culling for it by default, as it turns out portal culling doesn't work with custom (and even some built in engine class) GeometryInstances yet. 2021-08-14 16:57:29 +02:00
dfd8e93965 MeshDataInstance now inherits from GeometryInstance. This way the portal culling system recognizes them on room conversion. They still don't get turned on/off properly yet. 2021-08-14 15:15:21 +02:00
b66b9c5ba9 Now MeshDataInstance inherits from VisualInstance. 2021-08-14 13:44:35 +02:00
8f9becba0e Removed get_substitute_for_room. It will not be needed. 2021-08-14 12:18:17 +02:00
d1a5bbf2a0 Added a method to MeshDataInstance that can return a substitute MeshInstance. 2021-08-13 22:56:05 +02:00
4595d4abee Fix moving MeshDataInstance even when only it's parent is moved. 2021-08-12 20:25:03 +02:00
2a2b2ae31a Reworked MeshDataInstance now it's using the VisualServer directly instead of it being inherited from MeshInstance. now it's a lot more reliable. 2021-08-10 18:37:46 +02:00
efb1d42957 Tiny improvement to mesh data intance's logic. 2021-08-10 18:07:43 +02:00
3199cbe1a5 Fix android release build. (And possibly others aswell.) 2021-07-20 23:15:48 +02:00
02c6802286 Added mesh_utils optional dependency. If present you get mesh simplification/optimization - remove doubles + remove doubles interpolate normals for now - options. 2021-07-19 18:52:00 +02:00
d42024d928 Fix a crash when clicking reimport with the current 3.x head commit. 2021-07-19 18:48:22 +02:00
780ec90655 Fix build on 3.x master. 2021-06-08 14:56:30 +02:00
679064ea4f Update the copyright texts for 2021. 2021-04-19 10:11:02 +02:00
2cb2d2e558 Reworked setup mesh in MeshDataInstance. Now it's called refresh, it's bound, and it's always callable. This should fix most of the current annoyances with the class. 2021-03-23 11:21:24 +01:00
825030746a Remove a newly added type check, as i just realized it's unnecessary. 2021-03-23 10:57:35 +01:00
e56a894b99 Fix set_array. Apparently duplicate(true) doesn't work too well in this case. 2021-03-23 10:36:00 +01:00
02d51e87d6 Improve error checking in recompute_aabb. 2021-03-23 10:35:03 +01:00
5b9617bfaa Fix compile for 4.0. 2021-02-06 11:51:02 +01:00
b852ab0e52 Fix compile for 4.0. 2020-10-06 23:17:15 +02:00
6c99ddcaa6 Mark get_aabb as const. 2020-08-16 11:54:54 +02:00
81343fa839 Now MeshDataResource also calculates, and stores it's mesh's AABB. 2020-08-16 11:33:55 +02:00
a9bab9896d Fix compile for 4.0. 2020-07-29 00:02:05 +02:00