A voxel represents a value on a regular grid in three-dimensional space
Questions tagged [voxels]
35 questions
1
vote
1 answer
Converting meshes to metaballs
I'm doing a project where I need to convert an existing polygonal mesh into a static shape made from metaballs (blobs). I have voxelized the mesh with binvox to "a .raw file" (according to the description at binvox), but I have no clue of how it…

mechalynx
- 11
- 2
1
vote
1 answer
Transparency with voxels in VisPy
I am attempting to use python and VisPy to display 3D data from a numpy array. I looked up the example here and it was extrememly useful. I've gotten the data to display--but it doesn't look the way I want.
The way my data is displaying now I really…

R. C.
- 25
- 4
1
vote
1 answer
How to render voxel in an efficient way
For now, I use a 3D array to represent my voxels in different chunks. I want to render voxels which can be visible by the player, but the way I do it is totally not efficient:
I iterate over the whole 10*10*10 chunk and check on every voxel if there…

Trytio
- 108
- 2
- 11
1
vote
1 answer
VTK: 3D matrix's volume has wrong dimensions
I want to visualize a 3-D matrix (Z slices of X*Y resolution) as the classic 3-d voxel.
I generate the matrix in MATLAB and import it in Python.
Then, following the code here and here, I come up with this solution.
With this demonstration I am using…

MC-8
- 65
- 2
- 9
1
vote
1 answer
Animating voxels as if they were 2d sprites in unity3d. Is there a better way than this?
I'm making voxel models, which I love as I love pixelart. The models I want to use in unity are very small humanoids and purely for function.
As I look around for ways to animate these voxel models, all i really see is ways to add bones/rigs,…

PajaNBadger
- 11
- 3
1
vote
1 answer
Write a black-white image stack into a boolean 3D voxel array?
What is the best and low memory option to read a B&W image stack, which contains the 0/1 values of an ISO volume, and write it into boolean voxel array? i.e. 2k images of 2k squared pixels provides 800MB of boolean.
I started writing a 3D boolan…

bandybabboon
- 2,210
- 1
- 23
- 33
1
vote
1 answer
Can anbody suggest me the way to voxelize 3d model?
This website explains on how to do it. http://drububu.com/miscellaneous/voxelizer/index.html But I can't understand how to implement it in code.

spuemaacne
- 219
- 2
- 4
- 15
1
vote
3 answers
how to make 3d terrain using voxels and perlin noise
Ive read many tutorials on this concept but I feel none of them go into too much depth on how to do it. I already know how 3d programming (rasterizing, projection matrix, etc.) raycasting (using euclidean geometry and vectors) and raytracing work I…

ZachariahRS
- 65
- 2
- 8
1
vote
0 answers
Voxelization of a Scene with Instanced Objects
I have created a simple scene in directx11 that has a plane as a floor, with several spheres, cubes and rectangular walls. There is only 3 objects loaded: a plane, cube and sphere; but the cube and sphere are instanced several times with different…

gboxentertainment
- 304
- 2
- 10
0
votes
2 answers
Appending a Boolean array
Ok, I'm new to programming and this might be something everybody knows...
I'm creating a game, and one of the features I'm intending to add is a 3D room map that I plan on generating with code. The problem I'm facing is that I need to append a…

KC43
- 13
- 2
0
votes
1 answer
Why does Transvoxel make blocky terrain?
I've been working on an implementation of Transvoxel since while. Now it works, it polygonizes, but it's kind of blocky. Like the image below:
This is the code for polygonization:
private static Mesh PolygonizeRegularCell (Vector3i pos, Mesh mesh,…

Statey
- 631
- 5
- 10
0
votes
1 answer
OpenGL Voxel engine Face Merging vs Per-Vertex Ambient occlusion
I'm making a voxel engine dividing the world in chunks with 32 x 32 x 32 blocks each. I've been implementing many rendering optimizations such as not rendering faces covered by solid voxels or face merging for same looking neighbour voxels.
The…
0
votes
1 answer
Creating chunks mesh in a voxel engine is slow
I am working on a voxel engine in C++, and after implementing chunks, I realised that they are really expensive to generate. By this, I don't mean populating them with blocks, I mean generating a chunk mesh.
The game runs smoothly once chunks are…

Kelan
- 355
- 4
- 16
0
votes
1 answer
VTK using VoxelModeller to build Voxel Space of Point Cloud
Here's what I'd like to do: I have a .pcd (PCL standard format) file in which it's stored a Point Cloud, I would like to build a voxel representation of it and then extract an isosurface. If I'm not wrong, I should follow this example…

Federico Nardi
- 510
- 7
- 19
0
votes
2 answers
Check neighbouring voxels efficiently in 3D array of size n
My voxel system uses a flat 3D array dynamically allocated at runtime for each chunk, however generating millions of cubes per chunk isn't feasible so I need to optimize.
The first optimization I intend to implement is of course to not generate mesh…
user2717116