Commit Graph

  • f826e37904 Updated the readme. master Relintai 2023-01-09 21:12:49 +0100
  • c460fd42c0 Work on fixing compile. Relintai 2023-01-09 20:05:54 +0100
  • cbcde2c3a5 Work on fixing compile. Relintai 2023-01-09 14:10:21 +0100
  • 01c83d647c Work on fixing compile. Relintai 2023-01-09 01:16:43 +0100
  • 4b4db780f2 Updated register_types.h and cpp to the current godot 4 style. Relintai 2023-01-08 15:55:27 +0100
  • 60a7e84a5d Implemented debug collision shape visualization for the terrain. Also fixed the winding order for the isometric mesher's returned shape. 3.x Relintai 2022-03-04 14:17:55 +0100
  • 72100b029c Updated lots of old 3d physics code. Relintai 2022-03-04 13:00:13 +0100
  • c911f3ccab Implemented terrain tile collider generation. Relintai 2022-03-04 12:24:37 +0100
  • 487fbc65e5 Added a method to the mesher so it can create terrain mesh collider shapes. Relintai 2022-03-04 00:23:15 +0100
  • 5567c7da33 Now the isometric mesher's walls get properly y sorted. Relintai 2022-03-03 17:57:59 +0100
  • 324611fc46 Prototype implementation, that makes walls actually work with godot's y sort. It does need tweaks. Relintai 2022-03-03 13:22:52 +0100
  • 6f3eb79f32 Fix placing meshes. Y sorting still doesn't work with them though. Relintai 2022-03-03 09:33:34 +0100
  • 4549f7d0a6 Remove unneeded method from the isometric mesher. Relintai 2022-03-03 09:11:44 +0100
  • f9fff0162f An another stab at getting y sort to work with walls. Relintai 2022-03-03 00:17:40 +0100
  • 03329ebb99 An another stab at implementing z sortable walls. Relintai 2022-03-02 21:52:07 +0100
  • 5c6ae3309b Now the job will be able to use the new stored meshes. Relintai 2022-03-02 15:22:36 +0100
  • 4ee15cfa5c Moved the mesh store api from the isometric mesher to the base mesher. Relintai 2022-03-02 14:51:18 +0100
  • 674659c01e Started reworking the isometric mesher. Relintai 2022-03-02 13:29:11 +0100
  • ea62e02c6a Added a new Isometric world/chunk/mesher. It's a copy of the simple ones right now. Relintai 2022-03-01 23:43:07 +0100
  • e7f28eabd3 Renamed the blocky mesher, world and chunk to simple. Relintai 2022-03-01 23:23:02 +0100
  • 1b92eb9f61 Fix typo in comment. Relintai 2022-02-27 00:16:33 +0100
  • 3499536f1c Fix reversed logic in if. Relintai 2022-02-26 23:47:53 +0100
  • 67b9090bd1 Use the normal transform_uv method if the texture scale is 1. Relintai 2022-02-26 23:32:25 +0100
  • 3855fa3dde Fix typo. Relintai 2022-02-26 23:28:54 +0100
  • 196d19f074 Now the mesher uses the new mesh transform properties, and wall flags, and the wall_hole flag. Relintai 2022-02-26 17:25:44 +0100
  • b63eed39f9 Added wall mesh transform properties to the world and chunk. Also cleanups the the ChannelFlags enum and added FLAG_CHANNEL_WALL_HOLE to it. Relintai 2022-02-26 17:24:45 +0100
  • b30c1b9153 Added a new flags default channel. Also added flags enum for it. Relintai 2022-02-26 14:56:04 +0100
  • 0298d0216f Fix the merger surface's texture rect calculation. Relintai 2022-02-26 10:03:07 +0100
  • 26e6a17e24 Added back texture scale calculation to the blocky mesher. Relintai 2022-02-26 01:48:57 +0100
  • b0efd71c47 Fix setter error. Relintai 2022-02-24 19:36:07 +0100
  • ee4c184d64 Add properties for rao in the light job. Relintai 2022-02-24 19:23:25 +0100
  • 9c0b10ef76 Make rao scale with cell size. Relintai 2022-02-24 19:17:22 +0100
  • ee92bd7491 Removed always add colors property from the blocky mesher, as 2d always need colors. Also add white if lighting is off. Also cleanups and smaller fixes to the mesh generation algorithm. Relintai 2022-02-24 19:03:13 +0100
  • aa85599ec4 Added a custom transform to world and chunks. It can be used to set up everything as isometric. Relintai 2022-02-24 18:48:46 +0100
  • 013d8f0363 The merger surface now won't unset saved properties. Relintai 2022-02-24 18:03:02 +0100
  • ea20c85900 Don't use texture scale. In the blocky mesher. Relintai 2022-02-24 18:01:25 +0100
  • c5afc68256 Removed faces from the surfaces. Relintai 2022-02-24 17:30:04 +0100
  • f722a9ea6b Remove unused values from the build flags enum. Relintai 2022-02-24 17:04:35 +0100
  • bac9329808 Lots of cleanups. Relintai 2022-02-24 16:55:14 +0100
  • 7f68d5f794 Changed voxel scale to cell size x and y. Relintai 2022-02-24 15:50:47 +0100
  • 936143b964 Removed world height. Relintai 2022-02-24 14:59:33 +0100
  • 93e3bb48c1 Quick notes. Relintai 2022-02-24 13:24:20 +0100
  • 91ffd8d1c3 Now chunks use canvas items. This makes positions work on both rendering backends. Relintai 2022-02-24 13:02:01 +0100
  • 4b3e7accd4 Add some notes. Relintai 2022-02-24 12:45:21 +0100
  • fb9bace145 Reimplemented world_transform_changed event in chunks. This fixes chunk poitions, but only in gles3. It turns out that the transform parameter of canvas render_mesh is not implemented in gles2. Relintai 2022-02-24 12:44:02 +0100
  • 1e056b03e2 Fix textures with the PCM library. Relintai 2022-02-24 10:32:49 +0100
  • 4978e6c35f Use the library's texture when needed in Terrain job. Relintai 2022-02-24 10:19:49 +0100
  • 40478dda74 Added texture properties to the libraries. Relintai 2022-02-24 10:16:02 +0100
  • b4cd63847f Comment some unneeded logic. Relintai 2022-02-24 10:14:59 +0100
  • 1767f09088 Store the texture's rid to the chunk. Relintai 2022-02-24 10:00:42 +0100
  • d47a87934b Added convenience method for just allocating one mesh and switched to it everywhere. Now meshes are actually visible. Relintai 2022-02-24 09:40:21 +0100
  • 2a778660c9 Initial drawing setup. Relintai 2022-02-24 09:24:41 +0100
  • 9e4e2becf8 Disable all code that uses the 3d physics server. Relintai 2022-02-24 01:03:20 +0100
  • ebc5449101 Port the new getters from props. Also added notes. Relintai 2022-02-24 00:05:29 +0100
  • f077cb218e Removed multiple (lod) material support. Relintai 2022-02-23 23:20:41 +0100
  • 193b5dee93 More cleanups. Relintai 2022-02-23 22:05:33 +0100
  • 467e862b08 Now the world inherits from Navigation2D. Relintai 2022-02-23 20:01:38 +0100
  • 208d21cd40 Initial 2d conversion step. Relintai 2022-02-23 19:38:06 +0100
  • da473b0794 Removed the default isolevel channels. Relintai 2022-02-23 18:35:34 +0100
  • 3a8ca20448 Removed job steps, as 2d will not need lods. Relintai 2022-02-22 14:19:31 +0100
  • e74b23b8de Depend on props_2d instead of the props module. Relintai 2022-02-22 13:29:31 +0100
  • 6272c56664 Replace TERRAIN_ to TERRAIN_2D_. (Include guards, and enums.) Relintai 2022-02-22 12:02:42 +0100
  • 6c60ca107a Replace Terrain to Terrain2D everywhere. Relintai 2022-02-22 11:42:28 +0100
  • 419b7fc9a5 Rename the files. Relintai 2022-02-22 11:09:36 +0100
  • 0851992fad Start over from current Terraman. Relintai 2022-02-22 10:33:06 +0100
  • b547515ae3 Postfix everything with 2d. Relintai 2021-11-22 23:51:16 +0100
  • 896313944e Fix compile. Relintai 2021-11-22 22:10:41 +0100
  • f15569fdb8 Initial commit. (Just added terraman). Relintai 2021-11-22 22:00:45 +0100