ITKeyword,专注技术干货聚合推荐

注册 | 登录

java - Processing/ Voronoi Diagram 3D - Simple Box

itPublisher 分享于

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

【阿里云】双十一活动,全年抄底价,限时3天!(老用户也有),
入口地址https://www.aliyun.com/1111/home

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

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
3

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

 | 


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

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

如果您没有收到激活邮件,请注意检查垃圾箱。