Commit Graph

30 Commits

Author SHA1 Message Date
11ead96592 Re-implement material support in TiledWall2D. 2022-02-23 09:46:07 +01:00
40f65c843f Added pixels_per_nit property to the prop mesher. Uses the value set in the Prop2DCache singleton by default. Made the light calculation scale with it, so now light are defined in pixels aswell. 2022-02-23 09:38:07 +01:00
37b2ab5b5e Added default_pixels_per_unit property to the Prop2DCache singleton. 2022-02-23 09:36:45 +01:00
5e12fc6525 Make 2d tiled walls pixel perfect, just like the engine expects. 2022-02-23 08:59:52 +01:00
b9b151414a Also remove multiple material support from TiledWall2D. 2022-02-23 08:39:01 +01:00
4b8edd9567 More cleanups. 2022-02-23 08:33:23 +01:00
ef202ae590 Cleanups. 2022-02-23 08:28:12 +01:00
030eee10f3 Removed multiple materials from the PropCache singleton. 2022-02-23 08:23:16 +01:00
cca967333d Removed multiple material support from the MaterialCache. Multiple material support was built for lods, and it's not needed here. 2022-02-23 02:34:15 +01:00
3cde50a5c5 Cleanups. 2022-02-23 01:56:12 +01:00
9cd631a36c More cleanups to the mesher. 2022-02-23 01:52:18 +01:00
9ae6cd5a0b Remvoe some of the normal and uv2 related getters and setters from the mesher. 2022-02-23 01:44:54 +01:00
10f58baf27 Flip the generated uvs. 2022-02-23 01:19:02 +01:00
b02e73d17a Test setup for baked lights. 2022-02-23 00:22:25 +01:00
8eaa94f0dc Look for terraman 2d instead of just terraman. 2022-02-23 00:15:25 +01:00
875f338a88 Notes. 2022-02-23 00:08:29 +01:00
56a786800b Remove normals and uv2 from the final mesh in Prop2DMesher's build_mesh. I haven't removed them internally yet. 2022-02-23 00:05:16 +01:00
3cb79bfffb Initial working prototype for TiledWall2D. 2022-02-22 23:38:45 +01:00
da8922e123 Started reworking TiledWall. 2022-02-22 21:41:09 +01:00
828863d638 Added a Transform2D property to PropDataEntry, and also changed the processor api to use Transform2Ds. I did not yet remove the 3D transforms, as it would break too much code right now. 2022-02-22 19:05:10 +01:00
bb6f76dbf0 Removed job steps, as 2d will not need lods. 2022-02-22 14:27:39 +01:00
1b5d2102bc Fix a 2D2D. 2022-02-21 22:13:52 +01:00
104549adcc Add 2D postfix to the classes. 2022-02-21 22:12:25 +01:00
79366df39e Update the include guards. 2022-02-21 22:07:03 +01:00
9c076cb694 Add 2d to the file names. 2022-02-21 22:02:46 +01:00
b95db8d786 Started over. Added everythong from the props module again. 2022-02-21 17:09:00 +01:00
6f802fcf68 Postfix every class with 2D. 2021-11-24 14:00:16 +01:00
ee35479d38 Postfixed every file with 2d. And changed include guards. 2021-11-23 18:19:01 +01:00
4ba39e4438 Fix compile. 2021-11-23 17:11:38 +01:00
0bb9bb898c Initial commit. 2021-11-23 16:53:47 +01:00