|
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 |
|
|
a5c5a7b56b
|
Remove -std=c++11 cppflag as it!s not needed. Also compile fix for msvc.
|
2020-03-24 16:56:04 +01:00 |
|
|
080e8f2437
|
Broke up VoxelChunk into VoxelChunk and VoxelChunkDefault.
|
2020-03-12 23:23:38 +01:00 |
|
|
9154009250
|
Added remove_doubles, and remove_doubles_hashed methods to VoxelMesher, the hashed version is actually about 40-ish percent faster usually, but if hash might occur with it. The TransvoxelMesher now automatically simplifies it's meshes after a buffer is added, using the hashed version (to see in practice how common hash collisions are).
|
2020-03-09 00:17:50 +01:00 |
|
|
a22be7208c
|
The transvoxel mesher now won't allocate small arrays constantly during generation.
|
2020-03-08 23:40:22 +01:00 |
|
|
45976ca387
|
Reworked VoxelMesher's api a bit, now it works like SurfaceTool. Also it now stores data the same way i.e. 1 container, with a Vertex struct (I took the Vertex struct, and it's hasher from Surface Tool (because the hasher was private)). This will make mesh post processing a lot easier.
|
2020-03-08 22:36:58 +01:00 |
|
|
8b08a9b14f
|
Ported the TransvoxelMesher from BrokenSeals.
|
2020-02-13 13:21:30 +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 |
|
|
4a8ed25544
|
Moved the transvoxel mesher into a folder.
|
2020-01-14 02:57:32 +01:00 |
|