VOlumetric piXEL (volumetric picture element). An approach to world construction that uses small, uniform volumetric elements as opposed to the larger, non-uniform polyhedra most commonly found in contemporary games.

learn more… | top users | synonyms (1)

2
votes
1answer
40 views

How animated block in voxel engine?

In my voxel engine (XNA 4.0) I'm use a vertex buffer for the entire chunk and update it after the set block, changing block metadata or light level. This is not too frequent operation compared with ...
1
vote
2answers
52 views

How can i handle collision response in a voxel game?

I'm making a voxel game with cubes - like in minecraft - and I have figured out how to check wether the player is colliding with a voxel, I have just done it by checking wether the player is within a ...
1
vote
0answers
33 views

How do I implement a sparse voxel octree?

I've been working on a voxel engine and I want to implement sparse voxel storage. As I understand it, it works a bit differently from a regular octree and has some neat performance increasing ...
0
votes
0answers
13 views

How to convert an octree to a polygon mesh?

So if I have dynamic voxel terrain data stored in an octree representation what would be the best way to go about converting the octree to a polygon mesh which I can render with OpenGL? A lot ...
0
votes
1answer
26 views

How can I store point voxel terrain in octrees

I am writing a voxel engine in LWJGL3 - binding for OpenGL 4 for JVM. Recently I implemented an octree storage of cubic voxels. In my implementation each leaf node of an octree has one voxel, voxels ...
0
votes
1answer
61 views

Opengl Best VAO model for voxel engine

I make a voxel engine on LWJGL 3 (OpenGL binding for JVM). I store all object data in world class. World is subdivided into 32*32*32 chunks. Chunks use octree storage. The main part of all my ...
-1
votes
0answers
33 views

Implement an efficent voxel storage in Octrees

I am writing a voxel engine and recently I discovered an Octree way of storing data. I really like the idea of it and its awesome features, like ability of high detalization and overall performance ...
0
votes
1answer
101 views

OpenGL How to render a voxel based world scene with many objects

I am working on a voxel game engine using OpenGL binding for JVM languages (scala is my case) - LWJGL 3 for OpenGL version 4.5 . Currently I'm stuck with chunk rendering (32*32*32 blocks). To render ...
1
vote
0answers
46 views

Blinn-Phong lighting on Voxel models

I'm creating a game that is going to use voxel models. However I got stuck when I coded my shader using Blinn-Phong algoritm. Here is how it look (Only care about the red model): As you can see ...
1
vote
1answer
41 views

Deterministically shuffling of array

I couldn't find an answer to this so I'm asking here, I've made a voxel engine and it's working reasonably well, except for a small detail: I have yet to figure out how to seed my simplex noise ...
1
vote
1answer
63 views

Voxel terrain collision detection with AABBs

I'm working on implementing collision detection on voxel terrain (Like Minecraft) with AABBS. Right now, I have it so I can tell if a point is within a voxel or not, I do this by having a 2D byte ...
1
vote
1answer
71 views

Efficient way to store information about neighbour chunks

I've finally managed to implement an infinite chunk loading system for my voxel engine. Since every chunk needs to have information about the border of the neighbouring chunks, I need to access them ...
2
votes
2answers
295 views

Unity3D: Efficiently loading chunks in an infinite voxel engine

I'm developing a voxel engine in C# using Unity and I'm currently trying to implement infinite terrain, so I took a look at other Unity voxel engines that have infinite terrain. I've seen three ...
1
vote
1answer
120 views

Mining cubes out of marching cubes

I originally built the start of my game world with a fully minecraft style structure: chunks, only visible faces rendered, noise, etc. Too blocky. I implement marching cubes. Looks great, horrible to ...
3
votes
2answers
396 views

Pathfinding in 3d voxel: waypoints?

I have an application where I have a 3d collision voxel space (passable or non-passable at each point) and I want to plot a short unobstructed path between two points. There are no gravity ...
1
vote
1answer
86 views

Overlapping Vertex in DynamicVertexBuffer draw priority?

I am creating a voxel game, and I have recently run into an issue. My world is drawn by a DynamicVertexBuffer, which just consists of vertices for the blocks themselves. On top of that, I switch ...
0
votes
2answers
108 views

Storing a block world

I've gotten a basic Minecraft clone working (thanks to gamedev.stackexchange's help! ^_^), but know I have no idea how to save the file. Minecraft itself uses a naive list of block ids as far as I ...
0
votes
0answers
62 views

Looking through transparent voxels doesn't show other blocks

In my voxel game, looking through the transparent water blocks can sometimes cause blocks in other chunks not to show. The water is in its own VBO, and the face facing the other chunk (in the ...
1
vote
0answers
93 views

Actual use of sparse voxel octrees in a game engine

Looking for different ways to speed up my simple voxel system reducing the number of voxels and generated triangles, I stumbled upon these sparse voxel octrees. Now, I read a lot about it: how do they ...
1
vote
1answer
88 views

Creating a queue for BeginInvoke method - loading chunks

I have a voxel game similar to Minecraft. I have a funciton PushLoadedChunks(Direction) that pushes all of the loaded chunks forward, backward, left, right. This is done with ...
0
votes
1answer
81 views

How do I get realistic sliding contact between objects in a voxel grid?

I have a 3D grid of voxels in my game. Entities walk around with simple physics that represents them as an axis aligned bounding box with velocity, mass and acceleration. The way I'm doing collision ...
0
votes
1answer
63 views

Finding break in voxel grid (3D array)

I am working at dynamic voxel engine in Unity (something like Space Engineers) where player can create object from voxels, push them, damage and split in to other object. I store all data in 3D ...
1
vote
1answer
90 views

Methods to remove horizontal world slices of voxels in a 3D voxel world

I've recently been working on a hobby voxel world recently. I'm currently interested in ideas or solutions which would enable me to basically step up and down the Y-axis 1 horizontal block slice at ...
0
votes
1answer
182 views

Marching Cubes Chunks

i'm doing some voxel based game, where i want to have voxel planets. i decided to use the marching cubes algorithm, and i successfully created a planet (even with noise) with the following density ...
0
votes
1answer
313 views

Voxel (Marching Cubes) Terrain Creation / Terrain Editing

im working on a voxel based game in unity. the terrain(sphere-->planet) should be out of voxels and at first i built a minecraft like voxel plugin for unity. this means that i had a sphere out of ...
0
votes
2answers
112 views

Voxel Engine in XNA - Block as Class Renders, Block as Struct Doesn't

Edit: I almost forgot to mention - when I place NEW blocks they render, but nothing triggers the originals to render (I have a button assigned to recalculate/redraw for every block surrounding (and ...
9
votes
2answers
2k views

How to make natural looking voxel

I'm developing a voxel game, but I think I use the wrong technique. I currently use flat tiles, to make blocks, and I think theres a better and more efficient way. I have seen a voxel game, which ...
1
vote
2answers
160 views

How can I build Minecraft-style light propagation without recursive functions?

This question is more about expanding on an answer posted for an old but similar question. Part of the answer says this: You simply fill the sunlight from the top to the bottom, every layer is ...
0
votes
0answers
50 views

Unity: Combine two UVs by alpha

I'm currently creating a voxel game like Minecraft. To display the damage of blocks, I want to combine the alpha channel of one part of my texture map with the actual texture (like Minecraft does), ...
1
vote
1answer
315 views

AABB swept collision response with voxel world

I followed this tutorial: link and I was able to make it work with 3d voxel world collisions. But the problem I have is with collision response. I want to make player slide against the wall if he is ...
0
votes
0answers
133 views

OpenGL Occlusion Culling - flickering problems

I have implemented occlusion culling in my app and I think why the problem is happening but I am not sure how to solve it. My scene is divided in different chunks (voxels) and I am rendering each ...
0
votes
1answer
150 views

Marching cubes leaving holes in the mesh

Hi I'm trying to reproduce GPU Gems 3 chapter 1 (Generating Complex Procedural Terrains Using the GPU) and so far I managed the basics... Now I'm betting some strange output. I started with the ...
0
votes
1answer
175 views

Rendering a Voxelized Mesh [closed]

I've been reading many papers about how to voxelize meshes using different GPU techniques, but I've ran into a problem that I'm not sure how to solve properly. I understand the process of how to ...
0
votes
0answers
65 views

Voxel sparse octrees for indirect illumination

I don't understand the use of voxel sparse octrees for indirect illumination calculations. First of all, what exactly is happing? We're rendering the scene as usual with diffuse lighting. In the ...
1
vote
1answer
142 views

Ambient occlusion of cubes, a specific case

After much fiddling around and thinking I've got my AO working on my game engine as intended; except one specific case. When a block is nestled between others on two sides, but the corner block is ...
1
vote
1answer
160 views

Voxel engine/vertexes: how to add more and more different textures during game runtime and change some of the blocks' faces?

It's difficult to ask this, but I'll try. The thing is: I asked before somethings about creating ramps and blocks with vertexes. [I'm using C#/XNA.] Explanation: now I got a chunk that has blocks ...
7
votes
2answers
564 views

Can someone explain dual contouring?

I've been trying to understand voxel rendering and have been looking at dual contouring (DC). So far I understand this much: Run a density function for a set of grid points (i.e noise function) ...
0
votes
2answers
170 views

Building a chunk w/ blocks: making ramps. How to detect if blocks are making “stairs” (like in a mountain) and should be turned into ramps?

My question is quite simple, but the answer may be not. I am studying and making a voxel engine, generating block vertices around its center position with TriangleList primitive at C#/XNA. The ...
-1
votes
1answer
282 views

Minecraft - like lighting engine

So I was looking on how to create a minecraft - like lighting engine and I found the following post: How can I implement lighting in a voxel engine? The answer to it was incredible and perfectly ...
7
votes
3answers
261 views

How to load stacking chunks on the fly?

I'm currently working on an infinite world, mostly inspired by minecraft. A Chunk consists of 16x16x16 blocks. A block(cube) is 1x1x1. This runs very smoothly with a ViewRange of 12 Chunks (12x16) ...
5
votes
2answers
896 views

Top-Down Octree Generation of Procedural Terrain

I'm trying to implement a voxel-based terrain generation system in Unity3d (C#). I have successfully implemented a uniform 3d grid system, and have extracted the isosurface out using Marching Cubes ...
0
votes
1answer
169 views

Can you specify which VBO/EBO to use with glDrawElements?

I'm creating a voxel-like game. I'm not sure if I am using VBO/EBO's correctly. I am creating a new VBO & EBO for every chunk. This is done once, but chunks call a render function in every block ...
1
vote
1answer
215 views

Multithreading issues - Frame skips [closed]

So I am trying to multithread a Voxel engine in C# made with Sharpdx and I am having a few issues: This is the class I have : #region using System.Collections.Concurrent; using ...
1
vote
0answers
139 views

Creating a voxel chunk with a VBO - How to translate the coordinates of each block and add it to the VBO chunk?

I'm trying to make a voxel engine similar to minecraft as a little learning experience and a way to learn some opengl. I have created a chunk class and I want to put all of the vertices for the whole ...
0
votes
0answers
210 views

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. ...
3
votes
2answers
328 views

Find the next cell in a grid from a point and direction

I'm trying to solve a very simple problem but I'm unable to come-up with an efficient solution so far. What I'm really trying to do is voxelize triangles in a three dimensional environment but I'll ...
3
votes
1answer
219 views

Mapping a 3D texture to a standard hollow-hull 3D model

I have 3D models which are typical hollow hulls. If such a model also had a 3D volumetric/voxel texture map then given a point P inside such a model, I'd like to be able to find its uvw coordinates ...
3
votes
3answers
1k views

Why haven't graphics cards been designed for voxel rendering?

I stumbled across the following article on Wikipedia regarding voxels that says: One such problem cited by Carmack is the lack of graphics cards designed specifically for such rendering requiring ...
0
votes
1answer
122 views

How to retrieve a cube collision by faces

I work for a while on a minecraft game (voxel). I am front a problem for a long time about the collision detection. I want recover the cubes collision from my highlighted black's cube like on the ...
1
vote
0answers
97 views

How calculate a new node after cutting a node into an octree

I'm working on a small XNA game, voxel-based like minecraft. I've recently faced a problem in how to delete a node (cube) from an octree and re-calculate the new octree afterward. I have already ...