Commit Graph

50 Commits

Author SHA1 Message Date
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
9a83350bba Fix typo. 2020-07-28 15:53:36 +02:00
818e32cbff Small tweaks, and typos. 2020-07-28 15:53:03 +02:00
11702d5821 Proper Readme.md. 2020-07-28 15:51:08 +02:00
35ef4c2cf6 Removed single merged, and the separated bone groups import options, as I'm not yet sure whether to implement/fix them. 2020-07-27 14:26:27 +02:00
66db595720 The collada importer is now also inherited from the new base. 2020-07-26 23:28:17 +02:00
5a26317a42 Added a new import type which can separate meshes based on bones. 2020-07-26 22:53:24 +02:00
8967868163 Set the default rotation to 0, and scale to 1. 2020-07-26 14:54:28 +02:00
2c1508e616 Now the importer can handle files with multiple meshes in them. 2020-07-26 14:51:53 +02:00
515a3b250f Moved most of the code from the gltf importer to a new base class, and made it more modular. 2020-07-26 12:41:35 +02:00
85417ebee9 Improved MeshDataInstance, and PropDataMeshData will create a material in _processor_get_node_for. 2020-07-05 23:09:23 +02:00
ac6e09939d Implement PropDataMeshData's get_node_for. 2020-07-05 22:16:38 +02:00
1746de7130 Update for Prop module's Processor removal. 2020-07-05 21:55:57 +02:00
6567ebe225 Renamed PropDataMesh to PropDataMeshData, so later normal meshes can be easily added if needed. 2020-07-05 18:48:13 +02:00
172b7afd6c Implement _add_textures_into after the PropData api cleanup. 2020-07-05 15:14:25 +02:00
601cabc63f Add a prop processor for PropDataMeshInstances. Also moved PropDataMesh into this module. 2020-07-05 14:53:45 +02:00
eb3c654998 Finished up MeshDataInstance. 2020-07-05 12:18:00 +02:00
d5c95a6c5d Fix build with tools=no. 2020-07-03 13:04:17 +02:00
78cf61ffe5 Now offsets use Transforms instead of just Vectors. Now capsule is rotated properly. 2020-06-30 15:23:27 +02:00
25e9135925 Fix box, cylinder, capsule offsets. 2020-06-30 15:08:25 +02:00
5f8ab950b1 Implemented offsets. 2020-06-30 14:42:12 +02:00
fbf96617e3 Added automatically approximated simple shape collider generation to the importers. (They don't have offset support yet. Soon.) 2020-06-30 12:49:29 +02:00
f06da26b6b Fix missing imports. 2020-06-29 00:16:47 +02:00
3fc8fa0ce2 Implemented collision shape scaling. 2020-06-29 00:16:09 +02:00
95b565e2a4 Added a MeshDataInstance node. 2020-06-27 21:44:45 +02:00
034116552c Added collider shape generation support. Also removed a leftover debug print. 2020-06-21 16:29:28 +02:00
3cc9f15f05 Fix crash in 4.0. 2020-05-16 21:33:00 +02:00
4ee946963a Sync classref with the current source. 2020-04-18 02:39:07 +02:00
b9cb58897a Clang format. 2020-04-10 14:02:39 +02:00
7de9c25214 Fix build for 4.0. 2020-04-09 12:36:18 +02:00
4bda19b12b Added the license to all cpp files. Also updated the license text for 2020. 2020-01-31 19:38:20 +01:00
7bef6db99e Added an importer for glft aswell. 2020-01-14 23:13:16 +01:00
3fedb4c853 Doc setup. 2019-12-25 14:12:09 +01:00
4cf72ef1e6 Moved the classes from ESS to this module. 2019-12-20 16:14:37 +01:00
b35afb14c6
Initial commit 2019-12-20 14:32:41 +01:00