Commit Graph

48 Commits

Author SHA1 Message Date
Relintai fcb9a8dba8 Updated the readme. 2023-01-09 20:55:19 +01:00
Relintai c1af9a0490 Work on fixing compile. 2023-01-09 14:11:15 +01:00
Relintai ffea461bf8 Work on fixing compile. 2023-01-09 01:17:43 +01:00
Relintai 30d5e204e5 Updated register_types.h and cpp to the current godot 4 style. 2023-01-08 15:55:55 +01:00
Relintai b52a261c31 Don't just ignore not having array format normal by generating normals in MeshMerger. This was probably some debug logic that I managed to forget about. 2022-02-16 20:03:26 +01:00
Relintai 902dae2979 Work on fixing compile for 4.0. 2022-02-08 11:52:53 +01:00
Relintai 4feb518620 Backported Delaunay3D from godot 4 and added a method for it to MeshUtils. In 4.0 is should just work with the default built in class. 2022-01-27 19:04:05 +01:00
Relintai 6d9750290e Updated copyright headers. 2022-01-12 22:11:44 +01:00
Relintai ad13f297a3 Re-extracted the docs. 2022-01-12 22:11:15 +01:00
Relintai 461c2a80a1 Fix error check macro typos in remove_doubles. Also add the same code to merge_mesh_array. 2021-12-30 00:01:44 +01:00
Relintai de821908e9 Check array sizes before trying to remove items from arrays in merge_mesh_array. 2021-12-30 00:00:25 +01:00
Relintai ca1f54268b Always add indices even if a face has an area of 0. It's more important here to be able to map back properly to the original mesh. 2021-09-29 11:17:26 +02:00
Relintai 17d65e03d3 Added more parameters to uv_unwrap. Also changed fixWinding from true to false with a comment. 2021-09-29 11:10:49 +02:00
Relintai 9c450d98a0 Cleaned up unnecessary allocations and locals. 2021-09-29 10:51:56 +02:00
Relintai d2bfd13a7e uv unwrapping actually works now. 2021-09-29 10:26:25 +02:00
Relintai 822597f5d7 Use the piecewise generator by default. 2021-09-29 09:43:53 +02:00
Relintai f6ccb049fa Texel size should be smaller. 2021-09-29 08:42:07 +02:00
Relintai 3698ee9849 Removed firstColocalVertex(). And all my debug prints. 2021-09-29 08:41:51 +02:00
Relintai d507ccf540 Disable assert. 2021-09-29 08:31:51 +02:00
Relintai e3dba19c94 Remove some of my debug prints. 2021-09-29 08:29:30 +02:00
Relintai 15d99e0b05 Colocals removal pt2. 2021-09-29 08:28:37 +02:00
Relintai df80bd10f0 Started removing colocals. 2021-09-29 08:19:21 +02:00
Relintai b6940f3799 Bit more work on xatlas. 2021-09-29 07:51:52 +02:00
Relintai e40a4cea4a Bit more work. 2021-09-28 19:03:46 +02:00
Relintai acd276bdb1 uv_unwrap initial implementation. Note that xatlas doesn't work properly yet. 2021-09-28 18:21:55 +02:00
Relintai 63fe407daa Hoping that floodfillFaces will now do what I need. 2021-09-28 18:21:11 +02:00
Relintai 9403f04cee Clean up 2 enums. 2021-09-28 16:44:32 +02:00
Relintai 62f5f8f269 Removed PlanarCharts and ClusteredCharts from xatlas. 2021-09-28 16:35:49 +02:00
Relintai a3c9009996 Remove XA_DEBUG_EXPORT_TGA. 2021-09-28 10:25:29 +02:00
Relintai c62f2e9b23 Remove all threading related code from xatlas. 2021-09-28 10:23:12 +02:00
Relintai f5cca2cfb8 Added uv_unwrap method to MeshUtils. Also added xatlas from engine/thirdparty to the module under a different namespace. I plan to modify it. 2021-09-28 10:20:14 +02:00
Relintai 92b6066d02 Create a new Array in remove_doubles and remove_doubles to return so unsupported arrays get removed. Also fixed check for bones. 2021-08-14 13:43:30 +02:00
Relintai e0ee26fc61 Make sure to actually use the vector write proxies. 2021-08-11 18:39:03 +02:00
Relintai aa47e344fd Only assign back a specific array if it was originally available. 2021-08-10 18:07:07 +02:00
Relintai 29c5cc9a75 Added remove_doubles and remove_doubles_interpolate_normals methods to the MeshUtils singleton. 2021-07-19 17:58:50 +02:00
Relintai 6725a4906c Update the copyright texts for 2021. 2021-04-19 10:13:31 +02:00
Relintai 9bd8004895 Fix compile for 4.0. 2021-02-06 11:49:29 +01:00
Relintai ab36f527d7 implement/port preserve_border_edges. 2020-10-20 16:50:51 +02:00
Relintai 3365df3faf Removed the copyright header from config.py, as utf-8 characters apparently can cause issues. 2020-08-08 20:03:35 +02:00
Relintai 65a802ff39 Proper Readme.md. 2020-07-28 14:22:57 +02:00
Relintai 4f69ec67b8 Sync classref with current source. 2020-06-20 23:33:45 +02:00
Relintai ec76756ff0 4.0 compile fix. 2020-06-20 22:37:14 +02:00
Relintai e540e84f9b Ad the 2 mesh baking functions from CharacterSkeleton. 2020-05-30 18:37:27 +02:00
Relintai 31f1d24de1 Add missing classes to doc_classes. 2020-05-30 16:06:50 +02:00
Relintai a841b0ece0 Added a new MeshMerger class. It's based on VoxelMesher. 2020-05-30 14:01:17 +02:00
Relintai 060f0723d0 Added the MeshUtils singleton. 2020-05-24 21:34:44 +02:00
Relintai 5f8f4ab2d7 Cleaned up the copyright headers. 2020-05-24 21:23:20 +02:00
Relintai e4cf48e227 Initial commit. (A copy of my fast quadratic mesh simplifier module.) 2020-05-23 20:13:38 +02:00