Marc
|
bd857dcdfc
|
Merge pull request #65 from tinmanjuggernaut/mono-build-errors
Fix mono & gcc build issues
|
2019-10-03 20:24:31 +02:00 |
Cory Petkovsek
|
9a06cdd3ef
|
Fix mono build warnings
|
2019-10-04 02:17:44 +08:00 |
Marc Gilleron
|
2b15ca6457
|
Remove `for_all_blocks` from header, it causes compilation error due to `map` not being fully defined. Move logic to .cpp file to keep it forward-declared.
|
2019-10-03 18:55:13 +01:00 |
Marc Gilleron
|
e783c75242
|
Register missing class to fix C# binding
|
2019-09-24 18:48:30 +01:00 |
Marc Gilleron
|
1a1b46cfd8
|
Don't use individual set_voxel edits in do_sphere
|
2019-09-11 21:30:26 +01:00 |
Marc Gilleron
|
d4e7ac7845
|
Fix do_sphere(), the bounding box wasn't lining up
|
2019-09-11 21:25:15 +01:00 |
Marc Gilleron
|
cef43e4087
|
Take voxel color into account in blocky mesher
|
2019-09-11 20:10:08 +01:00 |
Marc Gilleron
|
959f4432dd
|
A bit of code grooming
|
2019-09-10 20:42:07 +01:00 |
Marc Gilleron
|
026fa96654
|
Fix mesh corruption when using two different materials
|
2019-09-10 20:40:42 +01:00 |
Marc Gilleron
|
f59b34f1a0
|
Fix material assignments being shifted if one of the surfaces has no vertex
|
2019-09-10 20:04:08 +01:00 |
Marc Gilleron
|
13e909fb0d
|
Remove old comment
|
2019-09-08 19:49:33 +01:00 |
Marc Gilleron
|
3508498c0b
|
Rename VoxelTool.MODE_ERASE => MODE_REMOVE
|
2019-09-08 19:47:42 +01:00 |
Marc Gilleron
|
14bfcb172c
|
Implement voxel tool for classic terrain
|
2019-09-08 19:42:25 +01:00 |
Marc Gilleron
|
1680516ea0
|
Optimize LOD propagation a bit
|
2019-09-07 22:59:09 +01:00 |
Marc Gilleron
|
b687909806
|
Save modified blocks, remove some debug code
|
2019-09-07 21:19:12 +01: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
|
1d503866ef
|
Bind missing mode
|
2019-09-05 20:47:08 +01:00 |
Marc Gilleron
|
584698d428
|
Fix wrong binding
|
2019-09-05 20:36:21 +01:00 |
Marc Gilleron
|
b284541219
|
Cleanup includes
|
2019-09-05 19:43:25 +01:00 |
Marc Gilleron
|
bee83ecbe9
|
Merge branch 'master' into lod_editing
|
2019-09-05 02:24:41 +01:00 |
Marc Gilleron
|
4ab688c9be
|
Barebones edition, untested WIP
|
2019-09-05 02:24:16 +01:00 |
Marc Gilleron
|
fec6e624f6
|
Tweaked octree region loading to better center it on the viewer
|
2019-09-04 20:59:08 +01:00 |
Marc Gilleron
|
1ad71c5d9c
|
Fix VoxelLodTerrain view distance property, it was using inconsistent type in getter and setter
|
2019-09-03 22:56:57 +01:00 |
Marc Gilleron
|
f8a3cd0503
|
Implement `get_view_distance()` properly
|
2019-09-02 21:32:05 +01:00 |
Marc Gilleron
|
2e1467edd7
|
Implemented nearest neighbor downscaling (to be tested)
|
2019-09-02 21:14:30 +01:00 |
Marc Gilleron
|
a24e6d1b5a
|
Use Rect3i::difference, remove check_cell_enters_and_exits for clarity
|
2019-09-02 20:08:33 +01:00 |
Marc Gilleron
|
ea1ce90caa
|
Merge branch 'paged_lod'
|
2019-09-02 00:45:47 +01:00 |
Marc Gilleron
|
ff51d83e55
|
Use better algorithm for blocks falling out of range
|
2019-09-02 00:45:20 +01:00 |
Marc Gilleron
|
aad7ecf9a6
|
Make octree region work under a bit more kinds of runtime changes
|
2019-09-02 00:44:28 +01:00 |
Marc Gilleron
|
ebe91427c3
|
#ifdef out debug boxes
|
2019-09-01 22:52:38 +01:00 |
Marc Gilleron
|
8060978126
|
Some cleanup
|
2019-09-01 21:49:58 +01:00 |
Marc Gilleron
|
98299f2b3c
|
Optimize octree further by taking out children pointers. Nodes are only 5 bytes now.
|
2019-09-01 21:07:38 +01:00 |
Marc Gilleron
|
0ee054dc3c
|
Took out position from octree nodes
|
2019-09-01 17:11:28 +01:00 |
Marc Gilleron
|
bd10e89dea
|
Implement proper box difference
|
2019-09-01 16:10:01 +01:00 |
Marc Gilleron
|
6369985b74
|
Fix problems with MinGW
|
2019-09-01 01:47:45 +01:00 |
Marc Gilleron
|
d4b69f7dae
|
Remove old commented code
|
2019-09-01 00:21:41 +01:00 |
Marc Gilleron
|
0c4b609404
|
Added code guidelines for sake of expliciteness
|
2019-08-31 22:40:27 +01:00 |
Marc Gilleron
|
d0275b29ee
|
Apply split_scale to newly created octrees
|
2019-08-31 21:47:00 +01:00 |
Marc Gilleron
|
0e6d3873c7
|
Properly implement hiding of the terrain node, for LOD it was showing all blocks of all LODs at once
|
2019-08-31 21:46:40 +01:00 |
Marc Gilleron
|
fa22666ccf
|
Merge branch 'master' into paged_lod
|
2019-08-30 01:09:37 +01:00 |
Marc Gilleron
|
8574655c18
|
Re-enabled request dropping through exclusive region, except for last lod
|
2019-08-30 01:08:06 +01:00 |
Marc Gilleron
|
c3bc356119
|
Fix overlapping blocks, mesh instance visibility was not initialized properly
|
2019-08-30 00:13:28 +01:00 |
Marc Gilleron
|
6a540a8720
|
Remove old code
|
2019-08-30 00:04:20 +01:00 |
Marc Gilleron
|
eb01f99c2c
|
First WIP at paging LOD
|
2019-08-29 22:55:02 +01:00 |
Marc Gilleron
|
db398a96e2
|
Fix crash when duplicate rejection is used, the threaded part was wrong. That map only pertains to shared_input.
|
2019-08-28 00:20:49 +01:00 |
Marc Gilleron
|
7a7f5f679b
|
Include smooth surface to collision build in VoxelTerrain
|
2019-08-26 14:00:48 +01:00 |
Marc Gilleron
|
507044cd53
|
Fix wrong path in doctool invocation
|
2019-08-26 13:50:18 +01:00 |
Marc Gilleron
|
dfb0e05b30
|
Updated .md API using the new script, for science
|
2019-08-26 02:59:55 +01:00 |
Marc Gilleron
|
922d622740
|
Updated doc build script:
- Use XML class files as doc source
- PEP8
- Remove globals
- Use default paths relative to the script
|
2019-08-26 02:58:42 +01:00 |
Marc Gilleron
|
f4d2616410
|
Setup doc classes for doctool and generated XML files, need descriptions now
|
2019-08-26 02:54:57 +01:00 |