Question

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

No correct solution

OTHER TIPS

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top