Marc Gilleron
|
79d73e3f5a
|
Added cubes mesher with greedy meshing support
|
2020-09-11 00:36:23 +01:00 |
|
Marc Gilleron
|
9ccf16419d
|
Merge branch 'master' into threading_refactor
# Conflicts:
# streams/voxel_block_serializer.cpp
# voxel_buffer.h
|
2020-09-08 21:40:59 +01:00 |
|
Marc Gilleron
|
0922b92ace
|
Fix some GCC warnings and Clang error
|
2020-09-07 23:26:04 +01:00 |
|
Marc Gilleron
|
fb8a1210e3
|
Comment and formatting
|
2020-09-06 19:59:08 +01:00 |
|
Marc Gilleron
|
d4d2b6fd9e
|
No longer copy voxels before scheduling threaded tasks. VoxelBuffers now have a lock.
|
2020-08-29 22:09:54 +01:00 |
|
Marc Gilleron
|
07e91d4892
|
Add some checks
|
2020-08-17 22:27:52 +01:00 |
|
Marc Gilleron
|
8fe769881f
|
Exposed compression getter on VoxelBuffer
|
2020-08-10 19:48:53 +01:00 |
|
Marc Gilleron
|
1a551fc77d
|
Added support for per-voxel and per-block metadata
|
2020-08-10 19:03:01 +01:00 |
|
Marc Gilleron
|
47a6426a12
|
Fix 64-bit usage in VoxelTool
|
2020-08-06 19:54:47 +01:00 |
|
Marc Gilleron
|
a14866c386
|
Implemented VoxelTool::paste for VoxelBuffer
|
2020-08-04 23:54:40 +01:00 |
|
Marc Gilleron
|
ac3e303818
|
Report script errors a bit better, I hope
|
2020-08-02 18:57:08 +01:00 |
|
Marc Gilleron
|
f9e2d9cc12
|
Stop using NULL
|
2020-07-25 23:19:08 +01:00 |
|
Marc Gilleron
|
4991b682d9
|
Exposed block serializer
|
2020-07-25 21:56:23 +01:00 |
|
Marc Gilleron
|
8b4bd1d853
|
Fix VoxelBuffer not assigning channel depth when told to do so
|
2020-07-08 19:59:02 +01:00 |
|
Marc
|
db98d5865d
|
Merge branch 'master' into fix_gcc_warnings
|
2020-02-15 16:40:32 +00:00 |
|
Marc Gilleron
|
17e3651d0e
|
Fix release compilation
|
2020-02-15 16:37:23 +00:00 |
|
Cory Petkovsek
|
24841e9a18
|
fix gcc warnings
|
2020-02-13 21:49:11 +08:00 |
|
Tin Švagelj
|
e67ec6f207
|
Added missing semicolons on line endings
|
2020-02-07 04:52:06 +01:00 |
|
Marc Gilleron
|
ac370f0e71
|
Fix edition, LOD downsampling was taking source voxels from wrong position
|
2020-02-05 21:25:11 +00:00 |
|
Marc Gilleron
|
618257b570
|
Code style
|
2020-02-05 21:08:23 +01:00 |
|
Marc Gilleron
|
3604184d1e
|
Fixed wrong marshalling when getting a 64-bit value as float
|
2020-02-05 16:37:39 +01:00 |
|
Marc Gilleron
|
aec06b214b
|
Merge branch 'master' into depth
|
2020-01-26 23:34:08 +00:00 |
|
Marc Gilleron
|
0ac1b7e6dc
|
Moved edition-related classes to a sub-folder
|
2020-01-26 20:29:44 +00:00 |
|
Marc Gilleron
|
21f3f36b86
|
Merge branch 'master' into depth
# Conflicts:
# voxel_buffer.cpp
|
2020-01-26 02:01:23 +00:00 |
|
Marc Gilleron
|
7161942ee1
|
Fix memory leak in VoxelBuffer::fill()
|
2020-01-26 01:59:53 +00:00 |
|
Marc Gilleron
|
f530daaf03
|
Check data sizes properly
|
2020-01-26 01:33:45 +00:00 |
|
Marc Gilleron
|
4b52d8fd18
|
get_channel_raw returns an ArraySlice instead of a pointer
|
2020-01-25 23:26:55 +00:00 |
|
Marc Gilleron
|
2d5775f233
|
Removed 1-bit and 24-bit depths, will add them back if they are really needed
|
2020-01-25 20:45:47 +00:00 |
|
Marc Gilleron
|
2fe83ce154
|
Fix wrong return values
|
2020-01-19 01:22:48 +00:00 |
|
Marc Gilleron
|
5e066fa7cd
|
Fix compilation
|
2020-01-06 00:46:58 +00:00 |
|
Marc Gilleron
|
a8f8a03439
|
Added customizable bit depth to VoxelBuffer. UNTESTED
|
2020-01-04 19:20:49 +00:00 |
|
Marc Gilleron
|
a11a95bcce
|
Renamed CHANNEL_ISOLEVEL => CHANNEL_SDF
|
2020-01-02 21:03:44 +00:00 |
|
Marc Gilleron
|
f2975e517a
|
Add memory pool for VoxelBuffer channels
|
2020-01-02 20:31:05 +00:00 |
|
Marc Gilleron
|
6b05b9c9ce
|
Expose VoxelBuffer.downscale_to
|
2019-12-26 20:30:20 +00:00 |
|
Marc Gilleron
|
2e974444c6
|
Implement VoxelTool for VoxelBuffer
|
2019-12-14 21:34:41 +00:00 |
|
Marc Gilleron
|
17c6b1f557
|
Fixed and tweaked a bunch of things, first working editing with LOD
|
2019-09-06 23:24:56 +01:00 |
|
Marc Gilleron
|
4ab688c9be
|
Barebones edition, untested WIP
|
2019-09-05 02:24:16 +01:00 |
|
Marc Gilleron
|
2e1467edd7
|
Implemented nearest neighbor downscaling (to be tested)
|
2019-09-02 21:14:30 +01:00 |
|
Marc Gilleron
|
3074f8228d
|
Fix wrong size checks in VoxelBuffer::copy_from
|
2019-08-24 23:08:04 +01:00 |
|
Marc Gilleron
|
f0c841ff11
|
Expose region file settings conversion, tested case of equal block size
|
2019-08-20 20:50:09 +01:00 |
|
Marc Gilleron
|
c272a37f1a
|
Merge branch 'master' into persistence
# Conflicts:
# terrain/block_thread_manager.h
# terrain/voxel_terrain.cpp
|
2019-06-25 20:51:35 +01:00 |
|
Cory Petkovsek
|
f6a9c5761a
|
Fix gcc sign comparison warnings
|
2019-06-18 14:24:56 +09:00 |
|
Marc Gilleron
|
94c5d5a78c
|
Merge branch 'master' into persistence
# Conflicts:
# voxel_buffer.h
|
2019-06-01 19:53:16 +01:00 |
|
Marc Gilleron
|
04bbfcd182
|
Fix VoxelStreamImage.channel property inconsistency
|
2019-05-30 00:46:08 +01:00 |
|
Marc Gilleron
|
82502d3397
|
Simple file-per-block saving WIP. Compiles but didn't test.
|
2019-05-28 00:40:09 +01:00 |
|
Marc Gilleron
|
2eb093e76b
|
Rename VoxelBuffer.optimize() => compress_uniform_channels
|
2019-05-25 15:52:35 +01:00 |
|
Marc Gilleron
|
c8fbf19814
|
Rename get/set_voxel_iso => get/set_voxel_f
|
2019-04-28 16:28:49 +01:00 |
|
Marc Gilleron
|
0f378fe218
|
Remove default channel from is_uniform() to prevent mistakes
|
2019-04-28 00:27:17 +01:00 |
|
Marc Gilleron
|
2e419db855
|
Fix default value for CHANNEL_ISOLEVEL, it should be the integer raw value, not the quantified one
|
2019-04-28 00:23:10 +01:00 |
|
Marc Gilleron
|
6d872160ab
|
Added get_size() as Vector3 to VoxelBuffer
|
2019-04-27 02:06:09 +01:00 |
|