将 3D 数组转换为 3D 模型
我正在尝试找到一种可用于将 3D Java 数组转换为 3D 体素模型的软件。我正在用 Java 开发一个体素地形生成器,我需要某种方法来可视化 3 维整数数组。哪些软件(或 API)适合此目的?
另外,我尝试转换的数组是一个 3D 整数数组,其中每个整数应对应于具有特定颜色的体素。
I'm trying to find a type of software that I could use to convert a 3D Java array to a 3D voxel model. I'm developing a voxel terrain generator in Java and I need some way to visualize the 3-dimensional integer arrays. What software (or APIs) would be good for this purpose?
Also, the array I'm trying to convert is a 3D array of integers where each integer should correspond to a voxel with a specific color.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我猜您将把地形表面定义为体素值数组中恒定值的表面。您可以使用诸如“Marching Cubes”之类的方法对该曲面进行多边形化。添加控件来旋转数据集并向上或向下移动等高线水平,从而可以可视化整个数据集。
I'm guessing that you are going to define your terrain surface as a surface of constant value in your voxel value array. You can polygonalize this surface with a method like Marching Cubes. Adding controls to rotate the data set and move the contour level up or down makes it possible to visualize the whole data set.