A voxel represents a value on a regular grid in three-dimensional space
Questions tagged [voxels]
35 questions
0
votes
1 answer
Copy a row of values from a 1D array that represents a three dimensional grid
So I have a 1D array representing a 3D grid of numbers which represents the game world, I access individual entries (X,Y,Z) like so:
array[x + width * (y + height * z)]
Is there a way I can copy out an entire row (for instance, all the Z values for…

Rory Harvey
- 2,579
- 2
- 22
- 27
0
votes
1 answer
voxels inside a 3D convexhull
I have a cubic matrix of voxels of value 1 (the rest is 0). I need a matrix of the same size where the voxels INSIDE the convex hull are all of value 1. I've seen a similar example and adapted it: If I do this to the following, would that work?
%…

mickmengucci
- 9
- 1
0
votes
0 answers
Is it possible to convert terrain rendering algorithm from flipcode to "full 3d" renderer?
I found this (http://www.flipcode.com/voxtut/) example of terrain rendering algorithm based on voxel technology and converted it to "full 3d" renderer. I mean, that in heightmap there is only one z(up) coordinate for a pair (x,y) and in "real 3d"…

shamaz.mazum
- 89
- 7
0
votes
1 answer
Using noise to generate marching cube terrain?
I've succesfully made a marching cubes class in C# XNA and am using Lib noise to generate 3d perlin noise, but when I tried to generate terrain using the values of the perlin noise as the densities for my marching cubes it generates a large chunk of…

CaffeinatedCM
- 754
- 1
- 11
- 24
-1
votes
2 answers
Some kind of edge lighting?
I'm playing around with lighting a cube. I'm not really sure what I want yet so I'm just throwing this out there. This is what I've got...
...but I don't like the sharp edges. Removing the lighting obviously means you can't see the edges any…

lloyd
- 1
- 3