Questions tagged [voxel]

A voxel (volumetric pixel) is a volume element, representing a value on a regular grid in three dimensional space.

Wikipedia, Voxel

434 questions
4
votes
2 answers

Is voxel rendering a form of volume rendering?

When reading about volume rendering, I see voxel rendering is mentioned a lot. I know volume data have voxels, but are the two terms interchangeable, or are they completely different?
Confused
  • 43
  • 2
4
votes
1 answer

Method for finding normals to a voxel surface

I was working on a method to approximate the normal to a surface of a 3d voxel image. The method suggested in this article (only algorithm I found via Google) seems to work. The suggested method from the paper is to find the direction the surface…
felipeh
  • 141
  • 1
  • 4
4
votes
0 answers

How to 'fill in' deep concave regions of 3D shape in Python

I have data describing the volume contained within 3D cell wall structures, both voxel data (1 inside cell wall, 0 outside cell wall) and surface meshes (3D coordinates and associated triangulations). What I'm after is simply the global outline of…
harry
  • 41
  • 3
4
votes
2 answers

How can you find the cuboid with the greatest volume in a heightmap? (with low complexity)

I need to find the cuboid with the greatest volume, contained within a 2D-heightmap. The heightmap is an array of size w*d where w is width, h is height and d is depth. In C, this would look along the lines of: unsigned heightmap[w][d]; // all…
Jan Schultke
  • 17,446
  • 6
  • 47
  • 96
4
votes
1 answer

Strange Voxel Cone Tracing Results

Im currently in the process of writing a Voxel Cone Tracing Rendering Engine with C++ and OpenGL. Everything is going rather fine, except that I'm getting rather strange results for wider cone angles. Right now, for the purposes of testing, all I am…
Helliaca
  • 183
  • 2
  • 10
4
votes
0 answers

Image rendered differently for each eye (UE4 + VXGI + VR)

Project: I have a scene in Unreal Engine which is using VXGI for the global illumination of the space. The scene is well optimized and I have good FPS (>90fps). The scene includes a movable direct light (sun) which is making the transition…
4
votes
1 answer

random voxel terrain on the gpu (dc vs. cms)

I want to create a random fractal terrain on the gpu (with a compute shader). I've started with implementing marching cubes: Generating Complex Procedural Terrains Using the GPU, and it works really good: marching cubes on the gpu. However, marching…
sidit77
  • 49
  • 5
4
votes
1 answer

Sharp Isosurface Extraction from Voxels

I need to generate an isosurface from chunks of voxels in an octree or array that supports both rounded and sharp geometry. I have searched for algorithms that seem to be capable of completing this task and found several, including Dual Contouring,…
user3736210
  • 63
  • 2
  • 7
4
votes
1 answer

Triangle-Cube/Voxel Intersection

What would be the best algorithm to detect whether a triangle intersects with a voxel/cube in 3D space? I have this source, written in C: http://tog.acm.org/resources/GraphicsGems/gemsiii/triangleCube.c . I was trying to refactor and convert this…
Cenk Baykal
  • 159
  • 3
  • 7
4
votes
0 answers

How to efficiently cluster voxel space into the fewest number of similar, contiguous blocks possible?

I am doing some research into how feasible it is to use voxels to represent largish (256x256x256 voxels) battlegrounds with destructible terrain for server-hosted multiplayer games. Only one battleground will exist for any game at a time. However,…
sadakatsu
  • 1,255
  • 18
  • 36
4
votes
1 answer

plotting voxel image in R

Do you know if it exist libraries or functions in R to plot voxel objects (3D array)? I found the package rgl that can perform 3d scatter plot, but I am really looking for an equivalent of the function "image" that works with 3D array. Thanks
Simon
  • 1,942
  • 5
  • 18
  • 22
3
votes
1 answer

Best way to save data for re-use off an voxel editor

i'm planning on building a voxel editor (c++ and opengl) for personal use and i want to re-use the objects i build in later projects. The problem i came along is, i'm not sure whats the best way to save voxel data to files. I googled many sites and…
Daniel
  • 157
  • 2
  • 12
3
votes
1 answer

Mesh to filled voxel grid

I'm trying to work with voxels. I have a closed mesh object, but here I'll use the supplied example mesh. What I would like to do is convert the mesh to a filled voxel grid. The below code takes a mesh and turns it into a voxel grid using pyvista,…
Spatial Digger
  • 1,883
  • 1
  • 19
  • 37
3
votes
3 answers

Sparse Voxel Octrees

I'm looking for all materials, books that will allow me to build simplest voxel rendering engine oparating on sparse voxel octrees. I will probabbly be using python or more likely javascript so lots of things have to be written from scratch as…
mathieu
  • 31
  • 1
  • 2
3
votes
1 answer

How to downsample grid in OpenVDB

Is there any good way to downsample voxels grid in OpenVDB? For example I have grid 8x8x8 with voxel size - 1.0, and I want to get grid 4x4x4 with voxel size - 2.0: each voxel of new grid is some interpolation of original voxels, e. g. [0,0,0] voxel…
user15221088
1 2
3
28 29