Skip to content

brainrot-coder-3000/minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP renderer doesnt work

     ---- noise.py ----
    |                  |
    v                  v
feedback.py -----> voxelizer.py
    |                  |
    |                  v
     ------------> renderer.py

idea is for compute shader do noise,mesh and ofc rendering for 10x10x10 (1000) chunks. we do it by generating mesh for all 1000 chunks in 1d array at single batch, and then use count/size and offset to index it.

noise.py - outputs if voxel exists or not (true/false) in 3d array using perlin noise feedback.py - outputs count/size and offset of verticies and indicies for each chunk voxelizer.py - outputs verticies (pos 3f, tex 2f, normal 3f) and indicies in 2 1d arrays (mesh) renderer.py - uses feedback.py count, offset and voxelizer verticies and indicies data to render chunks

Problem: voxelizer.py and feedback.py both generate data using asynchonous methods, which means the feedback.py data can point to the wrong voxelizer.py data i need a way to find how to sort or index it

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages