Commit Graph

16 Commits

Author SHA1 Message Date
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
de821908e9 Check array sizes before trying to remove items from arrays in merge_mesh_array. 2021-12-30 00:00:25 +01:00
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
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
9c450d98a0 Cleaned up unnecessary allocations and locals. 2021-09-29 10:51:56 +02:00
d2bfd13a7e uv unwrapping actually works now. 2021-09-29 10:26:25 +02:00
f6ccb049fa Texel size should be smaller. 2021-09-29 08:42:07 +02:00
acd276bdb1 uv_unwrap initial implementation. Note that xatlas doesn't work properly yet. 2021-09-28 18:21:55 +02:00
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
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
aa47e344fd Only assign back a specific array if it was originally available. 2021-08-10 18:07:07 +02:00
29c5cc9a75 Added remove_doubles and remove_doubles_interpolate_normals methods to the MeshUtils singleton. 2021-07-19 17:58:50 +02:00
6725a4906c Update the copyright texts for 2021. 2021-04-19 10:13:31 +02:00
ec76756ff0 4.0 compile fix. 2020-06-20 22:37:14 +02:00
e540e84f9b Ad the 2 mesh baking functions from CharacterSkeleton. 2020-05-30 18:37:27 +02:00
060f0723d0 Added the MeshUtils singleton. 2020-05-24 21:34:44 +02:00