Commit Graph

65 Commits

Author SHA1 Message Date
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. 2021-05-21 15:33:29 +02:00
688499cca0 Actually queue up the job in prop instance merger. 2021-05-20 20:33:39 +02:00
a364f91bd5 Set up job's texture packer property. 2021-05-20 19:16:25 +02:00
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. 2021-05-20 19:09:00 +02:00
a0d9404201 Added texture packer property to the prop instance job. 2021-05-20 18:58:09 +02:00
aca6a61c3d Added a PropTextureCache singleton, and a PropTextureJob class. 2021-05-17 22:27:10 +02:00
40201207f5 Material support for the Propinstance. 2021-04-27 17:32:33 +02:00
446b526f57 Light support for Propinstance. 2021-04-27 17:17:31 +02:00
5b71d7a931 Reimplemented mesh data instance creation in _prop_preprocess. Also don't set owners, so things won't show up in the editor. 2021-04-27 17:06:46 +02:00
8667cc8eaf Made prop_preprocess overrideable. 2021-04-27 16:52:36 +02:00
cbb2028d64 Split PropInstance into PropInstance and PropInstanceMerger. 2021-04-27 16:47:46 +02:00
dbc9529f21 Added a virtual _build method to PropInstance. 2021-04-27 16:29:09 +02:00
e6cc2625e4 Mostly ported prop processing code from voxelman. 2021-04-27 13:50:51 +02:00
d0d1a6148e Removed both merge_preferred and add_to_mesher, this solution will not work well enough. 2021-04-27 13:29:18 +02:00
269531addf What I wanted to do didn't work out, so I added back the removed methods, but with a better name. 2021-04-27 13:12:51 +02:00
eb3dba1929 After lots of thinking I removed only_contains_mesh from PropDataEntry. 2021-04-27 13:01:58 +02:00
a429f71cb0 New interface for PropInstance. 2021-04-26 18:04:52 +02:00
669ab8e193 Added PropinstancePropJob (copy paste of terraman's prop job), and started reworking PropInstance. 2021-04-26 16:29:53 +02:00
39892b4a7c Added 2 more virtual methods to PropDataEntry. 2021-04-25 16:16:16 +02:00
acc9a386e1 Added generate_ao and generate_random_ao to PropMesher (From Terraman's prop job.). They are commented out for now. 2021-04-24 22:03:45 +02:00
1ded44e130 Added TYPE_BAKE_VERTEX_COLOR_AO and TYPE_BAKE_VERTEX_COLOR_RAO enum values to PropMesherJobStep. 2021-04-24 22:01:58 +02:00
b63d4721bd Took PropInstanceJob (TerraJob) from Terraman. I did simplify it a little. 2021-04-24 22:01:28 +02:00
58b59557af Added PropMesherJobStep. It's the TerraMesherJobStep class from Terraman renamed. 2021-04-24 19:32:47 +02:00
8c088048d1 Added a PropMesher class. It's terraman's mesher, but cleaned up / customized. 2021-04-24 17:39:51 +02:00
6f418a07d4 Update the copyright texts for 2021. 2021-04-19 10:12:27 +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
bfb60df215 Fix compile without ThreadPool. (Removed a half finished class from the build.) 2020-08-04 10:09:10 +02:00
0ed644e4a4 Fix compile for 4.0. 2020-07-29 00:03:05 +02:00
969f3796d6 More typo fixes. 2020-07-28 14:09:09 +02:00
8d7631bc43 Newlines. 2020-07-28 14:07:24 +02:00
8aee712a82 Typo fix. 2020-07-28 14:06:26 +02:00
887e5221b6 Proper Readme.md. 2020-07-28 14:04:39 +02:00
544654f49b Fix build. 2020-07-06 22:22:58 +02:00
415c49b2b8 Removed PropDataEntity. 2020-07-06 22:19:40 +02:00
f9d94ee635 Added PropSceneInstance, and added a processor for it. 2020-07-06 22:02:22 +02:00
59a874bd68 Processor for PropDataProp. 2020-07-06 20:54:05 +02:00
c76a6c7282 Implement processing PropDatalights. 2020-07-06 20:46:00 +02:00
27b9ec75c0 Fix classdb warning. 2020-07-06 20:12:44 +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
fa401ce645 Fixed processor_get_node_for's parameter, and now PropInstance will create hidden nodes as preview for using it in the editor. 2020-07-05 23:08:24 +02:00
895477ca74 Fix get_node_for's parameters. 2020-07-05 22:15:57 +02:00
85670797de Removed PropDataProcessor, moved it's functionality into PropDataEntry. 2020-07-05 21:55:08 +02:00
b34a8f3996 Added get_node_for to PropDataProcessor's api. Also work on PropInstance. 2020-07-05 21:19:32 +02:00
4a10f1d0fa Cleanups to PropData's api. 2020-07-05 15:13:43 +02:00
a4a7949bc8 Moved PropDataMesh to the mesh data resource module. 2020-07-05 14:54:15 +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