Commit Graph

23 Commits

Author SHA1 Message Date
88ab910eb8 Brought back the old Prop implementation, and PropTool, because not only this implementation was already done, it will work better than spawning possibly thousands of nodes with the props module, but I also found a way to eventually make it more user friendly. 2020-06-22 21:49:58 +02:00
bf211fd430 Moved everything that is prop related to a new repository (props). It is required for this to compile for a short wile, while I rework things. 2020-04-03 09:25:07 +02:00
9da5d2e2d0 VoxelChunk now inherits from Resource instead of from Spatial. This is to make the scene cleaner (especially after I implement the world editor plugin). As a small bonus this should also make multithreading-related crashes harder to create, as manipulating the Scenetree from a thread by accident is now a lot harder. 2020-04-02 21:28:19 +02:00
541abb954d Now materials in Library are stored with vectors. This makes it possible to have different materials for every lod level for example. 2020-03-29 20:19:38 +02:00
919080a1b5 Added props top the merger library, also it will now merge together all added prop textures. Also api cleanups. 2020-02-16 02:54:17 +01:00
db77530ec1 Updated the license for 2020, and added it to the top of my cpp files. 2020-01-31 19:52:37 +01:00
a67d0393ca Clang format. 2020-01-09 04:29:05 +01:00
8e02dcb9e8 Fix build. 2019-12-24 03:22:17 +01:00
de103a3fdf Fixed compile. 2019-11-18 22:35:08 +01:00
802e602336 PropData can setup meshes into the mesher as well now. 2019-11-08 14:37:48 +01:00
8bbc6da5d2 Now PropData can add lights into chunks. 2019-11-08 11:52:36 +01:00
8ba8209bc2 Added add_textures_into method to PropData. 2019-11-08 09:45:21 +01:00
2c49d2e8d9 Renamed VoxelmanProp to PropData. 2019-11-07 21:32:31 +01:00
1881eea313 Better defaults. 2019-11-07 13:20:20 +01:00
f23f3122a4 Better snap axis defaults. 2019-11-06 13:44:22 +01:00
9bc8ccd0e7 Added VoxelmanPropEntity. 2019-11-05 23:18:48 +01:00
588ed550c8 Added texture to VoxelmanPropMesh, and added material, and uv_margin properties to VoxelMesher. 2019-11-05 21:22:39 +01:00
2427e9a2ae Added VoxelManPropProp. 2019-10-24 15:15:32 +02:00
fd3a162126 Reworked the way chung handles props, and made chunk building fully scriptable. 2019-10-10 23:51:05 +02:00
306dc575d8 Improved the way props work. 2019-09-22 02:46:21 +02:00
916676cfab Renamed VoxelPropData, and cleaned up VoxelProp bit. 2019-09-21 00:02:10 +02:00
c29c74b1d9 More work oncleaning up the interface of the VoxelChunk. I'ts mostly okay, but might need to change a bit more. Also added a few const keywords where I found them missing. 2019-07-19 23:54:56 +02:00
6b4de4cf80 Added in prop related data classes. 2019-07-19 18:39:46 +02:00