Comments (3)
Some thoughts:
- If you divided the block into 64 (4x4x4), you could use a single 64-bit int as a bitfield to determine if a given chunk is present or not.
- I would encourage pushing the mesh generation into a compute shader, to reduce client-side computation and time required to push the much more detailed meshes to the GPU
- I'd also err on the side of simplicity... for example, cull all faces that aren't visible from outside the entire block space, even if it would otherwise be a full face (ie. hole in the middle)
- Multiple textures could be achieved with an integer per block surface
from cubyz.
I think we're more likely to opt for 1/2 m (in which case blocks are divided by 8), also optimising could be done by making it such that if there is the same block filling a large space, it can be compressed (and in the GPU mesh data too) into a larger cube.
About your 3rd point, it's already what we do with invisible blocks.
from cubyz.
The ²⁄₃ sized blocks have been implemented in ea478e0.
The ability to place/remove multiple blocks at a time isn't necessary as ²⁄₃ sized blocks aren't significantly smaller.
from cubyz.
Related Issues (20)
- json.zig: Allow easily loading/storing vectors from `get` and `put`
- CaveBiomeMap.getBiomeAndSeed does not return a seed for surface biomes.
- Show performance of threadpool tasks HOT 8
- Cubyz crashes when trying to close game when music is playing
- Escaping chat through Escape key will not unfocus the cursor HOT 2
- Caves are too dark HOT 1
- Add an average of x frames into the frame time graph. HOT 6
- "The devs are enraged" HOT 2
- It might make sense to limit the palette compression data structure to bit sizes that are powers of 2
- Avoid meshing for uniform chunks.
- mods: All minerals of the Earth HOT 1
- Deadlock
- Crashes when opening a world HOT 1
- Block selection is broken when reducing the screen resolution.
- The new backface culling sometimes culls away visible faces
- Sometimes players can't connect HOT 1
- Git does not ignore world.dat since biomeChecksum was added. HOT 1
- There are too many texture reads in the fragment shader. This slows down the game. HOT 1
- settings and gui_layout should be stored globally, maybe in .cubyz/settings.json
- Distributable linking HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubyz.