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
0
votes
1 answer

One thread is rendering or managing a voxel game chunk. Another has just deleted it. Access Violation?

I seem to be having a very hard time trying to make a dynamic chunk management system in a multithreaded program. I have a class, VDimensia, which is a dimension filled with voxel chunks, and one thread of the multithreaded program is busy rendering…
0
votes
1 answer

Joomla 2.5 with Rocket Theme (RT) voxel template loads slowly for first time

I have developed Joomla site using RT voxel template and when pages loads for first time it takes 10 seconds and if i refresh then it loads with 2 seconds for next time in all browser. What would be the reason for this slow? Either the template…
0
votes
1 answer

Mapping of 3d point to face of Platonic (Archimedian) Solid

I want to compute the resulting surface mesh of platonic (or maybe archimedian) solids applied with a displacement map for each face. The mesh should show fine details of the displacement map and be watertight and manifold (for 3d printing). For…
Sebastian Baltes
  • 512
  • 5
  • 14
0
votes
1 answer

Visual Studio 2012: LNK2028 and LNK2019 build errors

I'm getting two errors and cannot figure out how to resolve, here they are: error LNK2028: unresolved token (0A0003A0) "void __cdecl polygon(int,int,int,int,unsigned int)" (?polygon@@$$FYAXHHHHI@Z) referenced in function "void __cdecl…
Angelrawzz
  • 839
  • 2
  • 7
  • 10
0
votes
1 answer

Using triple int array

Okay, so i created an an int array like so int position = new int[160][250][160] to represent a possition in a 3D space ([x][y][z]) what i want to do is draw a line from one point to another, but am confused about how to get a number from that…
user1610541
  • 111
  • 1
  • 11
0
votes
2 answers

Geometry shader voxelization wrong

Im trying to make a geometry shader (with shader maker) to legolize a model. First of all im trying to do a voxelization but the results are not good and i can't find what its wrong. En the following code the idea is to find the baricenter of the…
0
votes
1 answer

Voxel Terrain in C#

I'm looking to create a simple voxel engine in C#. I know a lot of XNA but heard it would be better to do it in OpenGL / DirectX. Anybody know how I would accomplish such a thing? I do not want a library as I want to learn how to do it from scratch.
0
votes
2 answers

Issues with depth rendering in a XNA voxel engine

The last few days we worked on our voxel engine. We get to some depth rendering problems if we draw our cubes. See following Youtube-Video: http://youtu.be/lNDAqO7yHBQ We already searched along this problem and found different approaches but none of…
Hayne
  • 1
  • 1
0
votes
1 answer

Any good resource for a XNA voxel based terrain engine?

I've been working on my attempt of a game (XNA/C#) for a week now and now I'm that far to create a terrain. I'd most likely use a voxel based engine for this (similar to Minecraft), actually I've tried a lot to play around with Cube tutorials, but…
Daniel Koenen
  • 29
  • 1
  • 3
0
votes
1 answer

Procedural terrain generation

I am trying to make a 3-d java lwjgl game that stores the data in chunks and generates one chunk at a time as the player explores (infinite). How does the terrain blend between the chunks so that it is seamless? I am stumped after researching for a…
Mad3ngineer
  • 113
  • 2
  • 11
0
votes
1 answer

Chunk Management In A Voxel Based Game

I am working on a java LWJGL game based on minecraft. I am working on the terrain management which is hard because the world can expand as you explore. How would you manage the terrain if it is stored in chunk objects and you needed to know which…
Mad3ngineer
  • 113
  • 2
  • 11
0
votes
2 answers

How to get the Normal vectors for each valid pts?

float pts[N][4]={{x1,y1,z1,v1},{x2,y2,z2,v2},...,{xN,yN,zN,vN}}; //in viewsight(0,0)-(w,h); //N==w*h //if pts[n][3]==0 then pts[n] is invalid How to evaluate the normal vectors for each valid pts? The pts is the points in Point-cloud-data, and…
user1468756
  • 331
  • 2
  • 8
-1
votes
0 answers

Convert 3D Ploygon to 3D Tubes

I have MRI data which have different segment . I used yolov8 to segment the image. The result as follow segmentation-results Then I colored the detected polygons polygon-coloring Then I regenerated a 3d of each colored polygon of image I have…
-1
votes
1 answer

Given a point in 3D and a voxel grid, find the corresponding voxel(s)

I am a newbie in 3D computer vision, currently solving the following problem in Python: I have a voxel grid in 3D and a random point in 3D. I want to find which voxel this point falls into. Is there some simple way how to do this? More advanced…
Vojtooo
  • 103
  • 2
  • 6
-1
votes
1 answer

Mesh generating algorithm for a voxel game

Im currently making a voxel game like Minecraft for fun with DirectX11. Game works with chunk system like any other voxel game, but my current algorithm for generating chunk mesh is not expandable. Block class has a few attributes like is block full…
VoidRune
  • 17
  • 5
1 2 3
28
29