注册 | 登录

java - Processing/ Voronoi Diagram 3D - Simple Box

itPublisher 分享于



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.


java 3d processing voronoi
  this question
asked Jan 3 '14 at 7:39 garlicDoge 87 1 11      do you want a solid shape with a voronoi-based texture on the surface, or are you looking for a full 3D voronoi tessellation? –  David Schwartz Jan 6 '14 at 7:37


3 Answers

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.

  this answer
answered Jan 3 '14 at 10:28 sloriot 2,944 8 21


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.

  this answer
answered Jan 3 '14 at 12:24 Majlik 968 1 8 18


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.

  this answer
answered Jan 3 '14 at 16:57 16807 684 2 9 26









您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱