119 Commits

Author SHA1 Message Date
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
Perttu Ahola
1728d15b43 builtin/voxelworld: Remove slow Lua implementation of SpatialUpdateQueue and use higher max_operations 2014-10-21 18:19:24 +03:00
Perttu Ahola
abad1e0e2f lua_bindings/spatial_update_queue: Initial half-working version 2014-10-21 18:19:24 +03:00
Perttu Ahola
a2890529bf Very ugly LOD mechanism 2014-10-21 18:19:24 +03:00
Perttu Ahola
6115d92f3f builtin/voxelworld, games/digger: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
73a7dc9345 builtin/voxelworld/client_lua/module.lua: Move stuff from old queue to new queue one portion at a time to keep a steady framerate 2014-10-21 18:19:23 +03:00
Perttu Ahola
e8e7fa63dd builtin/voxelworld/client_lua/module.lua: Optimize spatial update prioritization queue 2014-10-21 18:19:23 +03:00
Perttu Ahola
9d463c7319 builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
edb1008f80 builtin/voxelworld, impl/mesh,voxel: Remove TextureAtlasRegistry from VoxelRegistry 2014-10-21 18:19:23 +03:00
Perttu Ahola
dbbcbf4e51 builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
0b76e363bd builtin/voxelworld: WIP: Separate buildat.set_voxel_physics_boxes() 2014-10-21 18:19:23 +03:00
Perttu Ahola
5a8679b7e1 builtin/voxelworld: WIP: 24x24x24 chunks, set ambient color explicitly 2014-10-21 18:19:23 +03:00
Perttu Ahola
f26d1c3176 builtin/voxelworld: WIP: Always limit mesh updates to 1 per frame 2014-10-21 18:19:23 +03:00
Perttu Ahola
9bf9cb7627 builtin/voxelworld: WIP: Fix voxel alignment for physics 2014-10-21 18:19:23 +03:00
Perttu Ahola
6402c5c246 builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00
Perttu Ahola
3f69453efe builtin/voxelworld: WIP 2014-10-21 18:19:23 +03:00