简体   繁体   中英

Converting a 3D array to a 3D model

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM