문제

I searched a bunch of websites to find a working example of how to create a Voronoi based 3D Box. The following link shows you guys for what i am looking for. Can someone help me out with this?

I created "Seedpoints" in a 3D Box and now what? ... couldn´t find a good and simple example on openprocessing either.

Thank you in advance.

Picture

올바른 솔루션이 없습니다

다른 팁

I think Voro++ is doing exactly what you want. However, it is written in C++ but creating a small wrapper using swig for example will provide you a java binding.

You can start with 2D texture created by processing library Mesh (just use getEdges() function to draw border lines of regions) and use it with texture mapping on your 3D box.

Voronoi diagrams can be easily handled with pixel shaders depending on the format of your seed points This example is the best I've found so far but it relies upon points whose coordinates are computed inside the shader, at least to my understanding.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top