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
0 answers
Smooth Lower Resolution Voxel Noise
After reading the blog post at n0tch.tumblr.com/post/4231184692/terrain-generation-part-1. I was interested in Notch's solution by sampling at lower resolutions. I implemented this solution in my engine, but instantly noticed he didn't go into…

Quigly
- 1
0
votes
2 answers
Repacking voxel data for efficient storage
I've got 3D voxel data, and I want to re-package it for memory efficiency and fast access. The data is generated in a regular octree, one integer value per cell. Unfortunately the data is not sparse, but the cells with the same value should be…

user1387
- 187
- 10
0
votes
1 answer
OpenGL point array
I need to draw voxels using a float array like this:
{ v1.x, v1.y, v1.z, v1.size, v2.x, [...] }
which in my case, for testing purposes looks like this:
{ -0.6f, -0.4f, -0.0f, 1, 0.6f, -0.4f, -0.0f, 1, 0.f, 0.6f, -0.0f, 1, }
How do I load those up…

l'arbre
- 719
- 2
- 10
- 29
0
votes
1 answer
Tremendous lag while rendering LIBGDX voxel engine
I managed to make myself a basic voxel engine that uses Perlin Noise to generate a array of models. Everything has gone well, but as soon as I turn the world size up to 200x200 blocks I get HUGE lag. I believe this is happening because I am…

ThatPixelCherry
- 323
- 1
- 4
- 17
0
votes
1 answer
Is there a way to use a single input value in Opengl using vbo and not uniform?
I'm not sure that my question is clear enough so here the explanations :
I'm working on a voxel engine using opengl, it's working fine but I want to improve it a bit with some optimisations. I started to use VBO for the vertices of the cube, I earn…

Rahotop
- 35
- 3
0
votes
1 answer
Unity3D - Voxel Mesh - Wrong side rendering (C# code)
I am currently working on voxel game (not another copy of Minecraft) but i have problem with rendering.
Image 1+2 (I don't have sufficient reputation to post images and more then 2 links)
I draw red line (by hand) where i think is edge because I…

AbitDeveloper
- 94
- 9
0
votes
0 answers
(OOP) (C++) Synchronizing data structures in a modular program
Please bear with me in this rather long question.
I am currently building a voxel engine (nothing like Minecraft, don't worry). I want the engine to be modular. For example, I want the voxel 'engine' to be a seperate component to the 'renderer'.
The…

Barry Smith
- 281
- 1
- 4
- 16
0
votes
2 answers
Hashing integer coordinates of different sizes
I'm trying to hash some 3D coordinates to a 16-bit integer.
The coordinates have the following constraints:
x [0, 16]
y [0,256]
z [0, 16]
Is it possible to get O(1) access, zero collisions, and still fit it in a 16-bit word?
My thought was to shift…

perryperry
- 33
- 10
0
votes
0 answers
How to extract coordinates of voxels/how to discretise a 3d object?
I want to do some maths (translation, rotation, etc) with 3d objects which interact. At the moment, I have VRML, X3d, Maya and .jvxl versions of a 3d structure. I can visualize them just fine but I want to store these files as coordinates from a…

Franz
- 191
- 4
0
votes
0 answers
3D grid generation for voxel world: data structure and voxelization
I have to implement a path-finding algorithm in a complex 3D environment. My input is a CATIA model which can be exported as stl or stp.
After some research, I reckon my best option is to apply A* Path-finding to a voxelised world.
I am coding in…

Nic
- 1,262
- 2
- 22
- 42
0
votes
1 answer
Converting 2D projection rotation angles to 3D object
I am projecting a 3D matrix of density values into 3 2D planes (ZX,ZY,XY). I then rotate each projection by 3 different angles: Pzx, Pzy, Pxy using the rotation matrix below:
How do I convert these 3 separate angles so that I can apply them to a 3D…

Jamie Stuart Robin Parsons
- 1,132
- 4
- 20
- 36
0
votes
0 answers
OpenGL - Generate plane from normal vector
I am trying to make the generation of voxel/cubes more efficient.
First of all I calculate on the cpu which faces are not hidden by other voxels/cubes.
Than I send the voxel/cube position and the face normal to the gpu / the vertex, geometry and…

Michael Buschmann
- 213
- 3
- 11
0
votes
0 answers
OpenGL shader implementing Phong model on voxel image
I have a 3D image just defined by its voxels. This image is a grey-scale image. I need to render it in false colors. The idea is to write shader implementing something like the Phong model. On Internet I found different shaders. But all of them use…
user1235648
0
votes
1 answer
Voxel game: rendering blocks different ways and perfomance
I'm making a Minecraft like game using OpenGL and I wonder, what is the best solution to make a flexible rendering without perfomance loss. I mean there are different types of blocks with different ways of drawing: usual blocks are just simple cubes…

Pavel Rudko
- 248
- 2
- 8
0
votes
1 answer
Representing Voxel in different Formats
I am new to Graphics. Can someone tell me how do I represent a Voxel with different formats (eg. Rectilinear Grid)
user4479371