Expand voxel gameplay, lighting, full-height streaming and world imports
MVP checks / mvp (push) Canceled after 0s

Add shared Rust/WASM physics, worker meshing and diagnostics, 64-chunk full-height streaming, atlas texture support, and baseline world import. Document the current implementation and include the supplied in-game lobby screenshot.
This commit is contained in:
Emil
2026-09-17 02:10:53 +03:00
parent 26748912c6
commit c7e86663d8
111 changed files with 24257 additions and 598 deletions
+10
View File
@@ -0,0 +1,10 @@
import {buildEditMesh} from './edit-mesh.js';
import {loadLightProperties} from './light-properties.js';
const properties=loadLightProperties();
self.onmessage=({data})=>properties.then(table=>{
const start=performance.now(),result={id:data.id,epoch:data.epoch,editJob:data.editJob,preview:true};
try {
const mesh=buildEditMesh(data,table);
self.postMessage({...result,...mesh,milliseconds:performance.now()-start},[mesh.vertices.buffer,mesh.transparent.buffer]);
} catch(error) {self.postMessage({...result,error:error.message});}
}).catch(error=>self.postMessage({id:data.id,epoch:data.epoch,editJob:data.editJob,error:error.message}));