Tagged Questions

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)

0
votes
1answer
55 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
77 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
36 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
78 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
109 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 ...
6
votes
2answers
244 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
107 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
139 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
196 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
1answer
366 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
70 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
155 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
81 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
116 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
308 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 ...
1
vote
1answer
130 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
500 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
90 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
85 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 ...
6
votes
1answer
262 views

HLSL - Voxel texturing

I'm currently trying to develop a Voxel Engine using Direct3D 9 and C++. To keep the memory usage low, i'm only passing the position, the orientation and the offset of the current voxels texture in ...
0
votes
0answers
38 views

Tips for density terrain function (using Marching cube) [duplicate]

I've just implemented the marching cube algorithm and tried it out with some different functions for the density, and I think it's working! Ex) density = -v.y + sin(-v.x) + sin(-v.z) But I can't ...
1
vote
1answer
70 views

How to create more vertexes from within a shader in OpenGL?

when rendering voxels in octrees, the only information necessary is the current octree-level, -position and colour/texture. But one has to send eight vertices to the rendering pipeline in order to ...
2
votes
1answer
114 views

Rasterizing parametric solids in Minecraft voxel space

I'm trying to render giant procedurally generated trees in Minecraft. I have code that generates a tree model and represents it parametrically as a collection of cones and spheres using vectors and ...
2
votes
1answer
182 views

How do I find voxels along a ray?

I am making a voxel engine, and I want to make it possible to create and destroy voxels with the mouse. I use C++ and OpenGL, so C++ examples would be best. So far, I have the camera position and ...
3
votes
2answers
211 views

Loading chunks of the terrain relative to the player's position

I'm making a small voxel-based multiplayer WebGL game with a Node.JS server which handles player positions and sends terrain chunk data to the clients. This is an example of how I'm currently sending ...
1
vote
2answers
481 views

Voxel Lighting in Unity3D

I'm working on a Voxel project in Unity3D for fun and learning. I've been reading up on how this is done and have implemented a simple Voxel map in my project. My question is about the lighting. I've ...
3
votes
2answers
742 views

When would you use an octree in a voxel Engine?

I've been reading about Octrees, and I understand how they work (or at least I think I do). However, I can't figure out why you would use octrees instead of a simple multidimensional array. In my ...
13
votes
1answer
2k views

How do Raymarch shaders work?

I have been looking at shaders found here shadertoy.com and most of the cool ones have noise and raymarch in common. I do not understand the source code at all but I really want to. How do these ...
2
votes
1answer
194 views

Color bleed on voxel edges when using anti-aliasing

My Minecraft-like game uses a texture containing four block IDs in each pixel (RGBA). These IDs are used in the shader to determine what color each whole block should be. I'm having an issue with ...
6
votes
3answers
505 views

Managing Voxel Data

I've been programming in C++ as a hobby for about 4 months now, and I've really loved creating stuff using voxels. I wrote a "game" (More of just a personal challenge, as I really only did the ...
0
votes
1answer
110 views

Storing attributes in static geometry

I have a Minecraft like world where I statically create one instance of each tile type, and then place it around the world. However, I don't know how to actually change individual attributes for each ...
2
votes
2answers
492 views

Can I optimize my voxel meshing regardless of different textured blocks?

At the moment, I mesh every voxel in my terrain data to a block with 4 vertices for each face. This makes assigning texture coordinates of my texture atlas very easy, since I can just pick the desired ...
0
votes
0answers
126 views

Texturing Custom Meshes/Terrain?

Here's the scenario: I procedurally generate terrain on the fly, creating an isosurface which is an overlay on top of a scalar field of data points. These underlying data points are basically voxel ...
3
votes
1answer
218 views

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 it's own list, and it's hard to do things like ...
10
votes
2answers
410 views

How to determine if a 3D voxel-based room is sealed, efficiently

I've been having some issues with efficiently determining if large rooms are sealed in a voxel-based 3D rooms. I'm at a point where I have tried my hardest to solve the problem without asking for ...
0
votes
1answer
327 views

Problems with 3D Array for Voxel Data

I'm trying to implement a voxel engine in C++ using OpenGL, and I've been working on the rendering of the world. In order to render, I have a 3D array of uint16's that hold that id of the block at the ...
3
votes
1answer
293 views

calculating occlusion in cube voxel engine

This is more a conceptional (approach) question then the search for an implemented solution, since I was unable to find proper hints via google or similar. The problem is as follows: Given you have ...
0
votes
1answer
314 views

Hardware instancing for voxel engine

i just did the tutorial on Hardware Instancing from this source: http://www.float4x4.net/index.php/2011/07/hardware-instancing-for-pc-in-xna-4-with-textures/. Somewhere between 900.000 and 1.000.000 ...
0
votes
1answer
166 views

How does collapsable structures in a voxel based game like Ace of Spades/Build and Shoot work? [duplicate]

I know that once all the cubes that are connected are destroyed, the unconnected blocks collapse. How do you find out the unconnected blocks? edit 1: How would you determine the collapsible object if ...
3
votes
1answer
165 views

Controlling Constantly Running AIs

So, I'm not really sure where to start with this question. Feel free to tell me I'm stupid and Off Topic but I'd also like you to tell me why. So, the maps in the game I am designing will consist of ...
5
votes
1answer
743 views

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 ...
1
vote
2answers
193 views

Store voxel type data in XML or Java classes?

So, I want it to be very easy to create all the entities of my game and for other people to come in and do the same. I was thinking I could just let the users/myself create an XML sheet the stores all ...
3
votes
0answers
209 views

What GPU culling techniques are appropriate for voxel spheres other than octrees? [closed]

I'm creating a dynamic smooth-voxel based world in the shape of a sphere. Right now my current approach is to spherize a cube, generate voxel terrain on each of the six patches, and then use octrees ...
2
votes
2answers
687 views

Constructing a Planetoid Cube World?

This is sort of a multidisciplinary question, so I'm asking it here rather than on one of the other Stack Exchange sites. I've been toying with the idea of making a game that's a mix between ...
1
vote
1answer
847 views

Marching Cubes Terrain [closed]

For the past week I've been researching the Marching Cubes algorithm. I hope to use this for Terrain as it would allow the creation of destruction of terrain. After looking at source code and reading ...
1
vote
1answer
153 views

Visual artifacts on long distance on plane

I'm making a voxel game in XNA, and have filthy visual artifacts on long distances. I use 2048*2048 atlases. I'm already using mipmaps and 16x anisotropic filtering. I've read this blog post, but ...
1
vote
1answer
561 views

Voxel Performance

So Im trying to make a minecraft style voxel game to learn OpenGL, but Im running into performance issues. I found this thread : http://stackoverflow.com/questions/4995652/3d-occlusion-culling where ...
0
votes
2answers
377 views

Best way to read expandable voxel world (hashmap) such as in Minecraft

I'm building a 3D multiplayer Roguelike-style engine (tile and turn-based) and I'd like to make the worlds virtually "infinite", similar to what you would see in Minecraft. I'm storing data in a ...
0
votes
1answer
568 views

How to texture voxel terrain without triplanar texturing?

How can a voxel terrain (marching cubes) be textured without triplanar mapping ? The goal being to have more artistic freedom. I think, I could unwrap the mesh while extracting the isosurface then ...
-2
votes
2answers
277 views

What are the benefits of using a game engine for a voxel game?

I'm learning and developing a Minecraft like game. I've seen many games being made without a game engine, so I'm worried using a game engine will end up having performance issues. If I was ...