134 Commits

Author SHA1 Message Date
Perttu Ahola
bf71c97d69 builtin/voxelworld: Name static nodes by chunk_p, not section_p+local_chunk_p 2014-10-23 23:08:36 +03:00
Perttu Ahola
0ca6cdd133 builtin/*: Lower the log level of relatively useless construct/destruct/init messages 2014-10-23 23:04:09 +03:00
Perttu Ahola
6384ff4d84 builtin/voxelworld: Use voxelworld:node_volume_updated instead of CommitHook for post-commit processing and continuously limit amount of loaded buffers 2014-10-23 19:30:33 +03:00
Perttu Ahola
917ef1b3ad Break coding style 2014-10-22 12:30:29 +03:00
Perttu Ahola
ae8592fb9a builtin/voxelworld: Use correct coordinate in static node names and also log the name 2014-10-22 11:53:54 +03:00
Perttu Ahola
455d509fec builtin/voxelworld/client: get_static_node/voxel(): Log at trace level instead of debug 2014-10-22 11:53:41 +03:00
Perttu Ahola
9ef4bedf5f builtin/replicate: Fix crash when logging at debug or trace levels 2014-10-22 11:53:41 +03:00
Perttu Ahola
9921211cd0 impl/mesh, builtin/voxelworld: Fix alignment of everything 2014-10-22 01:26:03 +03:00
Perttu Ahola
2e4a1b3ed8 Rename VoxelInstance::getId() to VoxelInstance::get_id() 2014-10-21 19:08:57 +03:00
Perttu Ahola
d8a061f2b4 builtin/ground_plane_lighting: Remove unused code 2014-10-21 18:45:01 +03:00
Perttu Ahola
f586695112 builtin/voxelworld: Use replicate::Interface::sync_node_immediate() 2014-10-21 18:19:27 +03:00
Perttu Ahola
ae3a46f0ea builtin/replicate: sync_node_immediate() 2014-10-21 18:19:27 +03:00
Perttu Ahola
73ce0fc8c2 builtin/loader: Buffer names of modules that should be reloaded until modules aren't being modified for a period of time, and then reload them 2014-10-21 18:19:27 +03:00
Perttu Ahola
9dc83df6aa builtin/voxelworld/client: Cache static voxel nodes 2014-10-21 18:19:27 +03:00
Perttu Ahola
4c8d3eed2c builtin/ground_plane_lighting: Remove excessive logging 2014-10-21 18:19:27 +03:00
Perttu Ahola
6c6faa2eb6 builtin/voxelworld/client: Cache node volumes 2014-10-21 18:19:27 +03:00
Perttu Ahola
619163b7ef builtin/voxelworld: Split voxelworld.get_static_voxel() to multiple functions 2014-10-21 18:19:27 +03:00
Perttu Ahola
d2839d5cf3 client: voxelworld.get_static_voxel() 2014-10-21 18:19:27 +03:00
Perttu Ahola
4fb4742c88 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
265860cf62 WIP 2014-10-21 18:19:27 +03:00
Perttu Ahola
813bfe79a3 impl/voxel_volume.cpp: Clean up and fix stuff 2014-10-21 18:19:27 +03:00
Perttu Ahola
d5c0bed9c6 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
4313287a10 Move stuff from games/digger to builtin/ground_plane_lighting 2014-10-21 18:19:26 +03:00
Perttu Ahola
adbb3290e7 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
b9b47ee6d9 WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
aff341b135 builtin/voxelworld, games/digger: Proper synchronization for using voxelworld's registries on the client 2014-10-21 18:19:26 +03:00
Perttu Ahola
17b09fabdb games/digger: Use voxelworld's voxel/atlas_reg for custom node 2014-10-21 18:19:26 +03:00
Perttu Ahola
bc4ac09c1a builtin/voxelworld and things: Transmit VoxelRegistry over network and deserialize it in Lua 2014-10-21 18:19:26 +03:00
Perttu Ahola
692c0d1418 Global rename: TextureAtlas -> Atlas 2014-10-21 18:19:26 +03:00
Perttu Ahola
997bf1bc94 client: Lua owns VoxelRegistry and TextureAtlasRegistry 2014-10-21 18:19:26 +03:00
Perttu Ahola
56a5dff83d doc 2014-10-21 18:19:26 +03:00
Perttu Ahola
bbc300f540 VoxelRegistry Lua interface WIP 2014-10-21 18:19:26 +03:00
Perttu Ahola
de2c956825 impl/worker_thread, client/app: Smooth post() processing of tasks 2014-10-21 18:19:25 +03:00
Perttu Ahola
f13839a270 builtin/voxelworld: Load a small region for faster testing 2014-10-21 18:19:25 +03:00
Perttu Ahola
1d8c7c8e3f interface/mesh: namespace interface -> namespace interface::mesh 2014-10-21 18:19:25 +03:00
Perttu Ahola
792162a0c1 builtin/voxelworld: A bit less time per frame for node updates 2014-10-21 18:19:25 +03:00
Perttu Ahola
d40cf52ee9 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola
f64adf35d6 Fix coding style 2014-10-21 18:19:25 +03:00
Perttu Ahola
12465d8e3b everything: voxelworld::Interface::set_voxel() and everything from there to updating geometry and physics on the client 2014-10-21 18:19:25 +03:00
Perttu Ahola
84ce4ad2d1 builtin/voxelworld: set_voxel() and some kind of dumb reload handling 2014-10-21 18:19:24 +03:00
Perttu Ahola
9ece9020e0 builtin/voxelworld: Fix lazy physics updates 2014-10-21 18:19:24 +03:00
Perttu Ahola
6967ff6c9f client, builtin/voxelworld: Add voxelworld updates to profiler 2014-10-21 18:19:24 +03:00
Perttu Ahola
f412ac256d builtin/voxelworld: Lazy node physics update 2014-10-21 18:19:24 +03:00
Perttu Ahola
1805a3e02f builtin/voxelworld, games/digger: Speed up voxelworld::Interface::set_voxel() by various means 2014-10-21 18:19:24 +03:00
Perttu Ahola
dbd7e793f7 builtin/loader: Don't try to load files in main module path as modules 2014-10-21 18:19:24 +03:00
Perttu Ahola
be1bd720be LOD stuff: Tune weights and add 4 -> clip out trigger 2014-10-21 18:19:24 +03:00
Perttu Ahola
bed240bc89 LOD stuff: Switch default LOD_DISTANCE from 100 to 80 to get more FPS 2014-10-21 18:19:24 +03:00
Perttu Ahola
110812af6c LOD stuff 2014-10-21 18:19:24 +03:00
Perttu Ahola
503a83ea72 games/digger, builtin/voxelworld: add leaves.png; change grass.png 2014-10-21 18:19:24 +03:00
Perttu Ahola
125bbd8fae builtin/voxelworld: Clear voxel geometry and physics boxes when camera moves far from them 2014-10-21 18:19:24 +03:00