Commit Graph

27 Commits

Author SHA1 Message Date
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
5477c38e3f Added missing material_get to PropCache. 2021-08-10 10:01:41 +02:00
f526e99239 Fix error message copy paste. 2021-08-10 09:22:13 +02:00
d670f8a968 Implement material_cache_unref and material_cache_custom_key_unref aswell. 2021-08-10 09:21:32 +02:00
9ea2951c66 Added ensure_materials_loaded method to PropCache. 2021-08-09 21:05:36 +02:00
cbad187673 Implement material loading. 2021-08-09 21:01:46 +02:00
4bde4a4638 Prop cache now also can store the materials themselves. 2021-08-09 20:55:40 +02:00
f9d5a4c29a Added a material_paths property to the PropCache, can be used to store resource paths to the materials. 2021-08-09 20:43:53 +02:00
d59047eb7c Added texture packer options for PropMaterialCachePCM to the PropCache singleton. It reads default values from the project settings. 2021-08-09 20:35:28 +02:00
11b82bded3 Removed the old TexturePacker based api from PropCache. 2021-08-09 17:16:05 +02:00
b15ac01225 Added an api to get MaterialCaches from the PropCache singleton. Also changed toe default_prop_material_cache_class property's type to stringname. 2021-08-09 16:56:11 +02:00
e0db2189be Added default_prop_material_cache_class property to the PropCache singleton. 2021-08-09 16:18:34 +02:00
fea813eae3 Renamed the PropTextureCache singleton to PropCache. 2021-08-09 15:57:21 +02:00
aca6a61c3d Added a PropTextureCache singleton, and a PropTextureJob class. 2021-05-17 22:27:10 +02:00
1adae716dd Removed stray voxelman include. 2021-04-19 10:12:23 +02:00
f4bc70c94e Fix compile for 4.0. 2021-02-06 11:54:57 +01:00
0ed644e4a4 Fix compile for 4.0. 2020-07-29 00:03:05 +02:00
bbca47424e convert tree now ignores hidden nodes in the editor. 2020-07-06 20:11:23 +02:00
217abb5491 Now processors can stop PropUtils from evaluating their children. 2020-07-06 13:30:21 +02:00
85670797de Removed PropDataProcessor, moved it's functionality into PropDataEntry. 2020-07-05 21:55:08 +02:00
d6d034b8e9 Implement prop conversion logic. 2020-07-02 23:04:25 +02:00
d1a782c37c Added PropDataProcessor. This will enable scene to PropData conversion to be easily scriptable. Added an api for it into PropUtils. 2020-07-02 17:57:11 +02:00
8258fb7cfa Set up an editor plugin. 2020-06-27 23:13:26 +02:00
e274c2d4f6 Added the PropUtils singleton. Removed PropMeshUtils. 2020-06-27 22:29:19 +02:00