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
0answers
41 views

Speeding up rendering in a voxel game [on hold]

I am trying to make a voxel game. However unlike most people I'm not using any renderer, everything is coded from scratch in c++ with SDL. My render takes a triangle puts it in camera space, ...
0
votes
0answers
64 views

How should i go about rendering voxels?

What i would like to do is something like this: And iv'e considered just brute-forcing it with raytracing and octrees and such. However, is it fast enough? What would be the fastest method for ...
5
votes
1answer
195 views

How do I perform interpolation between noise values sampled at a lower resolution?

I'm doing some experimentation with terrain generating using a method similar to that described in this blog post by Markus Persson, where I use 3D simplex noise as a "density" value. Like him, ...
0
votes
0answers
37 views

How to determine which chunks to load/unload when moving through an infinite voxel terrain

I'm implementing a smooth voxel terrain engine in C++. The terrain is split into same-sized rectangular 'chunks'. After I moved chunk generation and loading into a background thread, I don't have to ...
0
votes
0answers
23 views

How To Mesh Models Together

I have been recently using my game engine created on LWJGL 3 to create a voxel game. Just a brief overview on how the voxels work, there are a list of block types that hold a model and bounding info, ...
1
vote
0answers
25 views

Chunk/Region Compression/Decompression

Reading this article here, the author writes about chunk saving and using a lookup table and then saving each chunk in a region file, each region file having 4096 chunks and each chunk having 4096 ...
1
vote
0answers
52 views

Rendering blocks in lwjgl, problems with VAO & VBO

//EDIT: Found the solution: had to use GL11.glDrawElements instead of DrawArrays. I'm working on a "voxel based world" engine. At the moment my approach follows these steps: Creation of a Mesh: ...
1
vote
1answer
77 views

Checking if point is inside the mesh via raycasting - where to cast rays?

I need to voxelize triangle meshes which involves testing if a point is located inside or outside the given mesh. I have just implemented a basic algo based on raycasting and checking the number of ...
0
votes
0answers
56 views

3D Voxel Chunks On Round Planets

So I have recently started a 3D voxel game in LWJGL that will focus on procedricly generated planets around a solar system. I currently have blocks and chunks where a chunk contains 32x32x32 blocks ...
0
votes
0answers
40 views

Problems with voxel physics

So I have a problem that is divided into performance and how to solve it in voxel physical, obs: I'm using Cubiquity. What am I doing: I test all the blocks. When a different block and air is greater ...
0
votes
0answers
50 views

Using the perlin noise of unity efficiently?

I have a little problem with my perlin noise values. It is generating a voxel mesh, that is flat. Here is a picture that demonstrates what I mean: As you can see, the terrain lacks any ...
1
vote
1answer
106 views

Smooth mesh from voxel grid

Im trying to implement smooth voxel grid meshing using marching cubes algorithm but I dont quite understand how to do the interpolating (I understand that this would solve the problem) to achieve the ...
2
votes
0answers
42 views

How to smooth low-res sampling of noise for voxel terrain

I am attempting to create a new terrain generator as part of a minecraft mod, which works very well if it samples at the full terrain resolution (16x256x16 voxels per terrain chunk). This is extremely ...
0
votes
0answers
40 views

Dual Marching Cubes QEF Explanation

I've been stumped by trying to fully wrap my head around the formula presented for the QEF formula presented within the dual marching cubes paper. The formula that is presented is such: w = actual ...
0
votes
1answer
121 views

dual contouring concept and term translations

I am working on a 3D sandbox mmo with destructible terrain, using Java and LWJGL. I looked at most options to achieve this and found that dual contouring would probably be the best option for me. I've ...
0
votes
0answers
35 views

Currently up-to-date Minecraft NBT Java library

At the moment, I'm trying to create a Voxel-Renderer just for fun and I'm trying to import Minecraft worlds for testing purposes. Of course I want to minimize my effort because that's not the focus of ...
1
vote
0answers
34 views

How to set a specific face's texture color in Unity?

First off, let me describe my situation... So I'm building a voxel engine based on this tutorial. I'm using my own texture tilesheet. Most of the tiles have their own color except grass, leaves, and a ...
1
vote
0answers
72 views

Voxel tutorial NullReferenceException: Object Reference not set to an instance of an object

I'm working my way through this voxel tutorial in Unity. I'm on part 3, and it's showing me how to create a chunk within the world. I've copied the code, but I think I am missing something. The error ...
5
votes
2answers
376 views

How to render water reflections on multiple heights

I'm making a voxel game on OpenGL, and are trying to find a way to render semi-realistic water (At least partially good looking, it doesn't need to be strictly scientific accurate). All sources ...
0
votes
0answers
70 views

2D Voxel Game Chunk Question

I'm currently working on a 2D Voxel game. I started with a big blocks array with all blocks inside it, but it is not very good for performance, so I'm currently switching over to chunks. My question ...
-1
votes
1answer
161 views

How to create a minecraft style world that is based of a heightmap

for my game I am trying to create a minecraft style world that is based of a heightmap that I made In photoshop. I am trying to make the map like 7km and 1 cube is 1m. but i haven't found a way to do ...
3
votes
1answer
172 views

Efficient vertex buffer memory management?

I am building a voxel engine with a similar mechanism to minecraft(yes, I know...). It works by loading and unloading individual chunks of 16*64*16 cubes each in a square grid around the player. This ...
0
votes
1answer
79 views

Unity: Model Construction on the fly

So, forgive me if some of the terminology is wrong, I am just getting started with Unity again and I can't remember the proper names. I'm also on my phone, so I didn't have unity in front of me when I ...
3
votes
0answers
147 views

Building an Octree for terrain generation

I've previously implemented marching cubes/tetrahedra to render an IsoSurface. It worked (YouTube), but the performance was dire as I never got around to implementing LoD (or even removing distant ...
3
votes
1answer
66 views

Question on specific custom inspector

Ive just finished Alex Stv's Voxel tutorial on http://alexstv.com/index.php/category/voxel-tutorial, and realized it would be very handy to have a custom inspector for the TerrainGenerator variables, ...
6
votes
1answer
489 views

How is Signed Distance Field Ray Marching implemented for a dynamic world?

I think I understand the basics of Signed Distance Field Ray Marching. You model your scene with a bunch of distance fields (such as these: http://iquilezles.org/www/articles/distfunctions/...
2
votes
0answers
43 views

Pre-existing voxel tools/libraries for Java [closed]

I want to do some development using voxel data as well as rendering it. My interest is more in the project its self, rather then things like working out rendering optimization techniques and working ...
2
votes
1answer
91 views

How to remove voxel lights with Minecraft-style algorithm?

I am making a voxel game. I have researched lighting techniques, and the minecraft-style algorithm appears the most efficient. When blocks are placed, they are marked for update. The engine performs a ...
2
votes
1answer
71 views

Keep track of VoxelData/NPC in parallel Level

Background I'm tring to make a First-Person-Shooter Game in a Voxel-World (Finit Size) with Unity3d. The Player has some kind of a Base that he has to protect against Enemy units. There are also ...
0
votes
1answer
70 views

TileMap or Voxel collision detection

I have a conceptual question: In the case of Tile Map, each block has the information from the enemies who are going about it. But what if some of these enemies are far greater than the block? I have ...
2
votes
0answers
34 views

How can I stream only the visible layer of objects?

So I've ported a terrain generator to SA:MP (a GTA:SA mod that connects you to players around the world). The terrain is generated perfectly, after only a few hours of scripting. I was surprised how ...
0
votes
1answer
149 views

Draw cube in glsl shader

I am working on a voxel engine. Currently my cubes are rendered as vbos. I thought, it may be better to load only the cooridinates of voxels to the shader and make it draw a cube itself. Can someone ...
-1
votes
1answer
54 views

Simple voxel-block melee removing script

I'm trying to create a voxel based game, now I want my character to remove blocks with a melee weapon, but I'm not sure which way to go. I mean is it the only way to get the Block with a raycast? I ...
1
vote
1answer
96 views

Greedy Mesh generation for a voxel-based game

EDIT: I have already found my problem and fixed it (but I cant accept my own answer for another 2 days) I'm currently making a 3D voxel-based game and now that I have started optimising some aspects ...
1
vote
1answer
114 views

What algorithm is used to select a voxel (from a player's perspective)?

In first-person voxel games (like Minecraft, shown below) you can select voxels by going over them. What kind of algorithm is used to select a voxel? I haven't implemented it in my voxel ...
1
vote
2answers
113 views

OpenGL what is VBO and when to use it?

So I am currently creating a game based on static voxels, there is no manipulation of voxels, which allows me to optimize it more. Now, my friend was kind enough to teach me modern OpenGL. Currently ...
0
votes
2answers
195 views

How do I dynamically grow a voxel world in all directions with chunks?

I've organized a Voxel world already but the problem is that it can only "grow" outwards. As a result, there is a single corner where it grows from, then outwards from there on. I want to be able to ...
1
vote
0answers
77 views

Dynamic objects in voxel engine

I am writing my own voxel engine based on cubes of different sizes and properties. In order to store and efficiently use voxels I implemented Sparse Voxel Octree storage. But I plan to have many ...
2
votes
1answer
174 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
187 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
135 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 "tricks"....
1
vote
0answers
130 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 of ...
0
votes
1answer
171 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
276 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 ...
0
votes
1answer
390 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
1answer
77 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 engine,...
1
vote
1answer
192 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 ...
2
votes
1answer
142 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 ...
4
votes
2answers
2k 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
258 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 ...