java - Processing/ Voronoi Diagram 3D - Simple Box
2021腾讯云限时秒杀,爆款1核2G云服务器298元/3年!(领取2860元代金券),
地址:https://cloud.tencent.com/act/cps/redirect?redirect=1062
2021阿里云最低价产品入口+领取代金券(老用户3折起),
入口地址:https://www.aliyun.com/minisite/goods
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
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
|
相关阅读排行
- 1android.graphics.Camera, 3D 的效果
- 2JAVA虚拟机源码学习笔记之一
- 3新的Java 3D引擎Ardor3D
- 43D JAVA游戏引擎JMonkeyEngine 介绍及入门之简单配置环境
- 5JAVA虚拟机源码学习笔记之二