A voxel (volumetric pixel) is a volume element, representing a value on a regular grid in three dimensional space.
Questions tagged [voxel]
434 questions
0
votes
2 answers
Python: Replacing random.random with a .txt list
I'm trying to modify a python script that models a version of Conway's game of life. In which a set of cells in X number of columns and Y number of rows are each given a value that determines if they will switch between two states of active or…
0
votes
1 answer
convert from world to voxel when 1 voxel doesn't equal 1 unity unit
I'm making a unity3d game which requires using a voxel engine to build structures, except I plan to include more models than just simple cubes, and some of these are quite small. So I need the voxels to be smaller than 1 unity unit each (3 per…

Jon Rurka
- 79
- 2
- 9
0
votes
1 answer
Drawing a sphere with given Origin (Voxel Engine)
I've been desperately attempting to create a sphere tool in my voxel engine. I know the general function for creating a sphere:
public bool getPoint (int x, int y, int z) {
return (x*x+y*y+z*z < r*r) ? true : false;
}
This function will create…

Sam Skips Fowler
- 27
- 6
0
votes
1 answer
Binary smooth voxels with sharp features
I'm trying to create a 3D world consisting of voxels (cubes). I'm trying to smooth the world out but I need to keep some blocks "blocky". Marching Cubes is a very popular way of smoothing the world but I don't see a very good way of adding "blocky"…
user1802876
0
votes
1 answer
Vertex Buffer Object from ArrayList?
I'm trying to read and create a VBO from an ArrayList then render it. The problem is that I just render a blank screen. Everything worked fine when I was immediately rendering it; only now with VBO's is it not working.
The game loop looks like this,…

Anubian Noob
- 13,426
- 6
- 53
- 75
0
votes
1 answer
VTK: create cubes from pointcoud
i've got an unstructured point-cloud saved in *.vtk-format:
# vtk DataFile Version 2.0
loop
ASCII
DATASET UNSTRUCTURED_GRID
POINTS 16 float
32.4834848065 46.1737449255 21.3773504796
31.8539914061 46.6530202252 24.1360388749
34.985082367…

OD IUM
- 1,555
- 2
- 16
- 26
0
votes
1 answer
Impose voxel grid on 3D point cloud
I am working with structured 2.5D and unstructured 3D data, which generally is available in (X,Y,Z) coordinates, i.e. point clouds. Now I want to impose a regular voxel grid onto the data. This is not meant for visualization purposes, but rather for…

Michael
- 280
- 2
- 13
0
votes
0 answers
Blender: How To Specify Voxel Coordinates?
I have been playing around with Blender Voxel Data for a while now, and I'm still not sure how it works. What i need is to be able to specify the coordinates for each voxel. I have a data set like this:
xx yy zz dd
xx yy zz dd
and I have a piece…

Lamikins
- 156
- 1
- 14
0
votes
1 answer
Understanding the .binvox file format
I have a file with a list of (x,y,z) coordinates of points which I am attempting to convert into a voxel file format readable by viewvox. I have come across the binvox file format which seems like it should be relatively simple but I just can't get…

James Elderfield
- 2,389
- 1
- 34
- 39
0
votes
1 answer
ThreeJS Voxel not fixed to grid
I am using the voxel painter example from the ThreeJS git repo.
I have changed it so that the voxels are bigger than the example. Instead of taking up one grid space on the X coordinate, they take up 2.
However doing this means the roll over mesh…

Cjmarkham
- 9,484
- 5
- 48
- 81
0
votes
1 answer
Principal component analysis with Voxels using Matlab
I have Vectors which have a certain position (Voxels) in an image. I would like to perform a pca to cluster out all Voxels which are correlating with each other.
I have for example three Voxels in 1D:
syn_data_1 = [1;0;0;1;1];
syn_data_2 =…

C.Colden
- 627
- 1
- 8
- 28
0
votes
1 answer
Voxel Chunk not rendering proper blocks?
I am currently trying to learn about 3D, and am trying to have some fun with 3d arrays and all that fun stuff, while at it. I cannot seem to understand why my code is not rendering proper cubes... I run through a 3D array and assign random states (1…

Matt Hirdler
- 95
- 1
- 10
0
votes
1 answer
What are the barriers to Voxel Cone Tracing on mobile?
After watching the Unreal Engine 4 demo, I'd love to be able to use that tech in an iPad app. I know that it's not feasible right now, as they're targeting PCs and next gen consoles, but I was wondering what has to happen in order for it to be…

Curyous
- 8,716
- 15
- 58
- 83
0
votes
1 answer
Creating and implementing a metaball skin system in OpenGL
I'd like to create or find an open source metaball skin system, which uses metaballs, voxelization to create meshes. I have 3 years experience in C\C++ and OpenGL. Yet I don't have an idea on how to tackle this system. What I want is a way to…

Boodz
- 3
- 1
- 2
0
votes
1 answer
Is there any conventional way to do a per voxel shader programming?
I'm finding a way to do 3d filters in directx or opengl shaders, same as the gaussian filter for images.In detail, it is to do proccessing for every voxel of a 3d texture.
Maybe store the volume data in slices can do it, but it is not a friendly…

user2535400
- 343
- 1
- 4
- 6