Commit Graph

  • 33cc53c881 Implement initial_setup_default for PropMaterialCache and PropMaterialCachePCM. Relintai 2021-08-10 10:06:13 +0200
  • 5477c38e3f Added missing material_get to PropCache. Relintai 2021-08-10 10:01:41 +0200
  • 387c6fdedd Set cache to the job and implement cache initialization for in PropInstanceMerger's _build. Relintai 2021-08-10 09:57:37 +0200
  • 604d895ac9 Improve stage logic a bit. Relintai 2021-08-10 09:49:22 +0200
  • 6ec8e40ea0 Get the material from the material cache. Relintai 2021-08-10 09:46:59 +0200
  • 34492756cd Removed the old (commented out) lod generation code, and the mesh setup code. phase_steps handles this . Relintai 2021-08-10 09:45:25 +0200
  • 64e6447d9c Removed the texture packer from PropInstancePropJob. The code now uses the material cache instead. Relintai 2021-08-10 09:39:18 +0200
  • 35cf1962d0 Undef PROPS_PRESENT just in case. Relintai 2021-08-10 09:29:08 +0200
  • 8805d63f4a Added a material_cache property to PropInstancePropJob. Relintai 2021-08-10 09:28:06 +0200
  • f526e99239 Fix error message copy paste. Relintai 2021-08-10 09:22:13 +0200
  • d670f8a968 Implement material_cache_unref and material_cache_custom_key_unref aswell. Relintai 2021-08-10 09:21:32 +0200
  • 9ea2951c66 Added ensure_materials_loaded method to PropCache. Relintai 2021-08-09 21:05:36 +0200
  • cbad187673 Implement material loading. Relintai 2021-08-09 21:01:46 +0200
  • 4bde4a4638 Prop cache now also can store the materials themselves. Relintai 2021-08-09 20:55:40 +0200
  • f9d5a4c29a Added a material_paths property to the PropCache, can be used to store resource paths to the materials. Relintai 2021-08-09 20:43:53 +0200
  • d59047eb7c Added texture packer options for PropMaterialCachePCM to the PropCache singleton. It reads default values from the project settings. Relintai 2021-08-09 20:35:28 +0200
  • 145e67481b Fix build. Relintai 2021-08-09 20:34:28 +0200
  • f3d1e5278c Added initial_setup_default virtual to prop material cache. Relintai 2021-08-09 20:24:29 +0200
  • 7a3e3b20d4 Added a mutex with a public api to the material cache. Relintai 2021-08-09 17:21:19 +0200
  • 11b82bded3 Removed the old TexturePacker based api from PropCache. Relintai 2021-08-09 17:16:05 +0200
  • b15ac01225 Added an api to get MaterialCaches from the PropCache singleton. Also changed toe default_prop_material_cache_class property's type to stringname. Relintai 2021-08-09 16:56:11 +0200
  • e0db2189be Added default_prop_material_cache_class property to the PropCache singleton. Relintai 2021-08-09 16:18:34 +0200
  • e34649c44f Don't check for PROPS_PRESENT in the props module. Relintai 2021-08-09 16:10:15 +0200
  • fea813eae3 Renamed the PropTextureCache singleton to PropCache. Relintai 2021-08-09 15:57:21 +0200
  • fca5abaa5d Brought in the step code from Terraman. Not yet finished, but it compiles. Relintai 2021-08-09 13:15:20 +0200
  • 6c8deb8956 Ported the MaterialCache class from Terraman. Relintai 2021-08-09 13:13:21 +0200
  • 33095a83a1 Added the job steps api to PropInstancePropJob. Relintai 2021-08-09 11:30:52 +0200
  • 3c20bd4ec6 Moved PropMesherJobStep to the jobs folder. Relintai 2021-08-09 11:23:40 +0200
  • 0eee4dba90 Cleaned up prop instance job and prop instance merger. All the necessary logic (for the time being) is there. It still needs some fixes though. Relintai 2021-05-21 15:33:29 +0200
  • 688499cca0 Actually queue up the job in prop instance merger. Relintai 2021-05-20 20:33:39 +0200
  • a364f91bd5 Set up job's texture packer property. Relintai 2021-05-20 19:16:25 +0200
  • 243ddc2faf Now the prop instance job now holds an array of PropDataMeshDatas with their base transforms. Also PropInstanceMerger will now add all mesh data resources to the job when processing the prop. Relintai 2021-05-20 19:09:00 +0200
  • a0d9404201 Added texture packer property to the prop instance job. Relintai 2021-05-20 18:58:09 +0200
  • aca6a61c3d Added a PropTextureCache singleton, and a PropTextureJob class. Relintai 2021-05-17 22:27:10 +0200
  • 40201207f5 Material support for the Propinstance. Relintai 2021-04-27 17:32:33 +0200
  • 446b526f57 Light support for Propinstance. Relintai 2021-04-27 17:17:31 +0200
  • 5b71d7a931 Reimplemented mesh data instance creation in _prop_preprocess. Also don't set owners, so things won't show up in the editor. Relintai 2021-04-27 17:06:46 +0200
  • 8667cc8eaf Made prop_preprocess overrideable. Relintai 2021-04-27 16:52:36 +0200
  • cbb2028d64 Split PropInstance into PropInstance and PropInstanceMerger. Relintai 2021-04-27 16:47:46 +0200
  • dbc9529f21 Added a virtual _build method to PropInstance. Relintai 2021-04-27 16:29:09 +0200
  • e6cc2625e4 Mostly ported prop processing code from voxelman. Relintai 2021-04-27 13:50:51 +0200
  • d0d1a6148e Removed both merge_preferred and add_to_mesher, this solution will not work well enough. Relintai 2021-04-27 13:29:18 +0200
  • 269531addf What I wanted to do didn't work out, so I added back the removed methods, but with a better name. Relintai 2021-04-27 13:12:51 +0200
  • eb3dba1929 After lots of thinking I removed only_contains_mesh from PropDataEntry. Relintai 2021-04-27 13:01:58 +0200
  • a429f71cb0 New interface for PropInstance. Relintai 2021-04-26 18:04:52 +0200
  • 669ab8e193 Added PropinstancePropJob (copy paste of terraman's prop job), and started reworking PropInstance. Relintai 2021-04-26 16:29:53 +0200
  • 39892b4a7c Added 2 more virtual methods to PropDataEntry. Relintai 2021-04-25 16:16:16 +0200
  • acc9a386e1 Added generate_ao and generate_random_ao to PropMesher (From Terraman's prop job.). They are commented out for now. Relintai 2021-04-24 22:03:45 +0200
  • 1ded44e130 Added TYPE_BAKE_VERTEX_COLOR_AO and TYPE_BAKE_VERTEX_COLOR_RAO enum values to PropMesherJobStep. Relintai 2021-04-24 22:01:58 +0200
  • b63d4721bd Took PropInstanceJob (TerraJob) from Terraman. I did simplify it a little. Relintai 2021-04-24 22:01:28 +0200
  • 58b59557af Added PropMesherJobStep. It's the TerraMesherJobStep class from Terraman renamed. Relintai 2021-04-24 19:32:47 +0200
  • 8c088048d1 Added a PropMesher class. It's terraman's mesher, but cleaned up / customized. Relintai 2021-04-24 17:39:51 +0200
  • 6f418a07d4 Update the copyright texts for 2021. Relintai 2021-04-19 10:12:27 +0200
  • 1adae716dd Removed stray voxelman include. Relintai 2021-04-19 10:12:23 +0200
  • f4bc70c94e Fix compile for 4.0. Relintai 2021-02-06 11:54:57 +0100
  • bfb60df215 Fix compile without ThreadPool. (Removed a half finished class from the build.) Relintai 2020-08-04 10:09:10 +0200
  • 0ed644e4a4 Fix compile for 4.0. Relintai 2020-07-29 00:03:05 +0200
  • 969f3796d6 More typo fixes. Relintai 2020-07-28 14:09:09 +0200
  • 8d7631bc43 Newlines. Relintai 2020-07-28 14:07:24 +0200
  • 8aee712a82 Typo fix. Relintai 2020-07-28 14:06:26 +0200
  • 887e5221b6 Proper Readme.md. Relintai 2020-07-28 14:04:39 +0200
  • 544654f49b Fix build. Relintai 2020-07-06 22:22:58 +0200
  • 415c49b2b8 Removed PropDataEntity. Relintai 2020-07-06 22:19:40 +0200
  • f9d94ee635 Added PropSceneInstance, and added a processor for it. Relintai 2020-07-06 22:02:22 +0200
  • 59a874bd68 Processor for PropDataProp. Relintai 2020-07-06 20:54:05 +0200
  • c76a6c7282 Implement processing PropDatalights. Relintai 2020-07-06 20:46:00 +0200
  • 27b9ec75c0 Fix classdb warning. Relintai 2020-07-06 20:12:44 +0200
  • bbca47424e convert tree now ignores hidden nodes in the editor. Relintai 2020-07-06 20:11:23 +0200
  • 217abb5491 Now processors can stop PropUtils from evaluating their children. Relintai 2020-07-06 13:30:21 +0200
  • fa401ce645 Fixed processor_get_node_for's parameter, and now PropInstance will create hidden nodes as preview for using it in the editor. Relintai 2020-07-05 23:08:24 +0200
  • 895477ca74 Fix get_node_for's parameters. Relintai 2020-07-05 22:15:57 +0200
  • 85670797de Removed PropDataProcessor, moved it's functionality into PropDataEntry. Relintai 2020-07-05 21:55:08 +0200
  • b34a8f3996 Added get_node_for to PropDataProcessor's api. Also work on PropInstance. Relintai 2020-07-05 21:19:32 +0200
  • 4a10f1d0fa Cleanups to PropData's api. Relintai 2020-07-05 15:13:43 +0200
  • a4a7949bc8 Moved PropDataMesh to the mesh data resource module. Relintai 2020-07-05 14:54:15 +0200
  • d6d034b8e9 Implement prop conversion logic. Relintai 2020-07-02 23:04:25 +0200
  • d1a782c37c Added PropDataProcessor. This will enable scene to PropData conversion to be easily scriptable. Added an api for it into PropUtils. Relintai 2020-07-02 17:57:11 +0200
  • 8258fb7cfa Set up an editor plugin. Relintai 2020-06-27 23:13:26 +0200
  • e274c2d4f6 Added the PropUtils singleton. Removed PropMeshUtils. Relintai 2020-06-27 22:29:19 +0200
  • 6c8391ea17 Moved PropMeshDataInstance into the mesh_data_resource module. Relintai 2020-06-27 21:44:10 +0200
  • f81669f9b8 Moved PropVoxelmanLight into Voxelman. Relintai 2020-06-27 19:00:10 +0200
  • f456fa2e0f Fix compile. Relintai 2020-06-27 18:29:03 +0200
  • 3ede345c82 Moved PropData from Voxelman to here. Relintai 2020-06-27 17:03:29 +0200
  • 26cc4e9b3d Work on PropMeshDataInstance, and PropInstance. Relintai 2020-06-22 02:32:53 +0200
  • b2bcb5ea64 Typo fix in config.py. Sync classref to the current source. Relintai 2020-04-18 02:37:34 +0200
  • 0aceb2aeca Fix build for 4.0. Relintai 2020-04-09 12:36:33 +0200
  • 152be1328b Make sure the dependencies are actually optional. Relintai 2020-04-06 22:53:09 +0200
  • e1f43af571 Removed the old prop implementations. Relintai 2020-04-04 17:19:19 +0200
  • 9547a07ad0 Added a few skeleton classes. Relintai 2020-04-03 13:45:55 +0200
  • 7cacfed933 Added PropInstance. This module will be reworked to be Node based. This design will simplify everything. Relintai 2020-04-03 12:00:02 +0200
  • c1e692f968 Extract docs. Relintai 2020-04-03 09:36:06 +0200
  • af09392363 Add README to doc_classes. Relintai 2020-04-03 09:33:02 +0200
  • 53905b3cdf Moved everything that is prop related from Voxelman to here. Note that Voxelman is required for this to compile for now. This will be fixed soon. Relintai 2020-04-03 09:23:01 +0200