Questions tagged [voxels]

A voxel represents a value on a regular grid in three-dimensional space

35 questions
32
votes
5 answers

what are sparse voxel octrees?

I have reading a lot about the potential use of sparse voxel octrees in future graphics engines. However I have been unable to find technical information on them. I understand what a voxel is, however I dont know what sparse voxel octrees are or how…
pdeva
  • 43,605
  • 46
  • 133
  • 171
14
votes
6 answers

Voxels... Honestly, I need to know where to begin

Okay, i understand that voxels are just basically a volumetric version of a pixel. After that, I have no idea what to even look for. Googling doesn't show any tutorials, I can't find a book on it anywhere, I can't find anything even having to do…
Fiattarone
  • 175
  • 1
  • 1
  • 7
6
votes
2 answers

Voxel Engine and Optimization

Recently I've started developing voxel engine. What I need is only colorful voxels without texture, but at very large amount (much smaller than minecraft) - and the question is how to draw the scene very fast? I'm using c#/xna but this is in my…
komorra
  • 259
  • 1
  • 8
  • 20
4
votes
2 answers

Voxel 3d "grid"

What in your opinions, would be the best language to create a large (massive..) 3d voxel based grid in? i.e. like Minecraft (http://www.minecraft.net/) I note that Minecraft was created in Java, this obviously has it's disadvantages. Help me make a…
Barrie Reader
  • 10,647
  • 11
  • 71
  • 139
4
votes
1 answer

'Culling' in a voxel world

I have a world full of voxels, lets say that my world is 320*320*96 voxels. My idea is to load that entire world into the ram of my videocard so that no peformance is lost in transferring new "chunks" to the GPU. The amount of faces generated to…
windwarrior
  • 456
  • 2
  • 11
4
votes
3 answers

Voxel unique ID in 3D space

i am looking for a way to collect a set of voxels. A voxel is a 3D cell that can be full/empty/unknown and is built upon a point cloud (for data reduction). The voxels collection once built is never modified (destroyed and rebuilt each round), but…
jalone
  • 1,953
  • 4
  • 27
  • 46
4
votes
2 answers

Generating a Sphere with Voxel

I have been playing around with voxeljs, I'm new to 3D programming, and it says in the doc that this code generates the "sphere world": generate: function(x,y,z) { return x*x+y*y+z*z <= 20*20 ? 1 : 0 // sphere world }, How is this actually…
Doug Molineux
  • 12,283
  • 25
  • 92
  • 144
3
votes
8 answers

How to quickly count the number of neighboring voxels?

I have got a 3D grid (voxels), where some of the voxels are filled, and some are not. The 3D grid is sparsely filled, so I have got a set filledVoxels with coordinates (x, y, z) of the filled voxels. What I am trying to do is find out is for each…
martinus
  • 17,736
  • 15
  • 72
  • 92
3
votes
2 answers

Get list of visible voxels in a grid

I'm working on a Minecraft-style game, and I need a way to reduce the amount of the world rendered. Currently, I'm using a naive, render-everything approach, which is having obvious scaling problems. I need a way to take an array of blocks, and in…
James
  • 1,239
  • 1
  • 11
  • 18
3
votes
2 answers

'Axes3DSubplot' object has no attribute 'voxels'

I'm trying to use matplotlib to display some 3d perlin noise. I have read that the voxels method from Axes3DSubplot could be used to simply display values. However, when I try and call ax.voxels(voxels, facecolors=colors, edgecolor='k'), it throws…
sawyermclane
  • 896
  • 11
  • 28
3
votes
1 answer

Write to mutiple 3Dtextures in fragment shader OpenGL

I have a 3D texture where I write data and use it as voxels in the fragment shader in this way: #extension GL_ARB_shader_image_size : enable ... layout (binding = 0, rgba8) coherent uniform image3D volumeTexture; ... void main(){ vec4 fragmentColor…
tigeradol
  • 259
  • 2
  • 16
3
votes
1 answer

Obtaining a unique buffer index for multiple threads accessing a voxel

I'm trying to implement a portion of "Octree-Based Sparse Voxelization for Real-Time Global Illumination". Basically just the voxelization, which I am already done with. And the "Voxel-fragment list" construction, which is basically several…
ragnar
  • 480
  • 3
  • 18
2
votes
2 answers

How to fill OpenVDB voxels that are inside a given plane?

I have a quad defined by 4 (x,y,z) points (like a plane that has edges). I have an OpenVDB grid. I want to fill all the voxels with value 1 that are inside my quad (including edges). Is such thing possible with out setting each voxel of the quad…
DuckQueen
  • 772
  • 10
  • 62
  • 134
2
votes
1 answer

vtk java voxel rendering

Hi Guys, does anyone knows, why this code in Java compiles, but an Error appears: "An unrecoverable stack overflow has occurred. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_STACK_OVERFLOW (0xc00000fd) at…
David
  • 21
  • 2
2
votes
1 answer

Which library for voxel data structure?

I'm working in C++ with large voxel grids in a scientific context and I'm trying to decide, which library to use. Only a fraction of the voxel grid holds values - but might be several per voxel (e.g. struct), which are determined by raytracing. I'm…
a2sng
  • 253
  • 3
  • 10
1
2 3