Questions tagged [voxels]

VOlumetric piXEL (volumetric picture element). A way to store volume data as a regular grid of values. This tag should be used on questions relating to voxels.

Voxels are are used, like pixels are in 2D, in agglomeration to represent 3D (volumetric) forms. Voxels in the original sense in game development took two forms: "pure" 3D as seen in medical imaging applications, or heightmap based as seen in eg. the Comanche games and Ken Silverman's Voxlap engine. As such, these approaches to voxels used some sort of raycasting approach and so were not amenable to modern polygon rasterisation approaches. The more recent usage, such as that applied to MineCraft, refers to cubic polygons rendered using rasterisation approaches on the CPU or, increasingly, the GPU, as voxels.

A major benefit of Voxels is that they are amenable to real-time CSG operations, although the cost of reconstructing the voxel grid during such operations is often the primary limitation in implementing such systems.

315 questions
40
votes
5 answers

What are some good resources for building a voxel engine?

What are some good resources (tutorials, code, papers, etc.) for learning about voxel rendering?
Firas Assaad
  • 3,544
  • 2
  • 32
  • 26
6
votes
1 answer

What is the proper name for a 2D voxel?

I know pixel might be right, but pixel means something different, especially if a "2D voxel" isn't exactly one pixel (it isn't, in my game). I've also heard "texel," but that seems to refer to a repeating texture, which this isn't. I guess I'm just…
Keon
  • 63
  • 1
  • 3
5
votes
1 answer

When storing voxels in chunks, how do I access them at the world level?

I'm not looking for how to store the voxels, data wise; I'm looking for the theory. Currently, my voxel engine has no global list of tiles. Each chunk has its own list, and its "hard to do things" like collision detection or anything that may use…
user20439
2
votes
2 answers

Should I always be checking every neighbor when building voxel meshes?

I've been playing around with Unity3d, seeing if I can make a voxel-based engine out of it (a la Castle Story, or Minecraft). I've dynamically built a mesh from a volume of cubes, and now I'm looking into reducing the number of vertices built into…
Raven Dreamer
  • 1,867
  • 2
  • 21
  • 38
2
votes
0 answers

How do I implement dynamic objects in a voxel engine?

I am writing my own voxel engine, based on cubes of different sizes and properties. In order to store and efficiently use voxels, I implemented Sparse Voxel Octree storage, but I plan to have many dynamic structures in the engine that would change…
Russoul
  • 282
  • 2
  • 13
1
vote
0 answers

Alternatives to voxel-based terrain

Are there any alternatives to voxel based terrains? Such terrain should be fully destructable, allow for arches, overhangs, preserve sharp features where needed and keep consistent topology. Maybe you can explain the problem that makes you ask this…
Neomex
  • 191
  • 1
  • 11
1
vote
0 answers

Is there a game that is both voxel and polygons?

Looking to see the difference between the two technologies in a game experience and not in experiments - is there a half-decent game out there that has two modes - polygons and voxel? EDIT Games like minecraft that voxels are exaggerated to make the…
-3
votes
2 answers

What are the benefits of using a game engine to build a voxel game?

I'm learning and developing a game like "Minecraft". I've seen many games being made without a game engine, so I'm worried that using a game engine will lead to performance issues. If I was developing a game with many static objects, the game…
Afonso Lage
  • 223
  • 3
  • 13