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
-1
votes
2 answers

In unity, how do you find voxel information at a given worldspace position?

I am trying to have a gameobject in unity react with sound if another object is inside it. I want the gameobject to use the entering objects location to then see what voxel is closest and then play audio based on the voxel intensity/colour. Does…
-1
votes
1 answer

Blurred Graphics when Exporting from VoxEdit to XCode

How does one avoid having blurred graphics when exporting a graphic in .obj format from VoxEdit to XCode? When the exported .obj and .png are imported into XCode as a .scn file, the graphic lines are blurred:
rswayz
  • 1,122
  • 2
  • 10
  • 21
-1
votes
1 answer

Broken texture in voxel character after importing to unity

When I export the visual character I have all the textures then after rigging and animating when I add it to unity and apply texture half of the texture is missing I tried re importing, re rigging, extracting texture and applying it manually
-1
votes
1 answer

Is there a Universal Voxel Translator available?

Is there a simple program anywhere than knows how to translate from voxel type A to voxel type B. I don't want to buy a Voxel editor, I just want to translate some voxels the same way I'd translate from BMP to JPG or PNG to GIF.
-1
votes
1 answer

OpenGL greedy meshing using VBO

I am trying to reduce the number of faces that are rendered in my voxel engine by implementing a greedy meshing algorithm similar to Mikola's (http://0fps.net/2012/06/30/meshing-in-a-minecraft-game/) Since I am using a VBO to draw each triangle for…
user4743748
-1
votes
1 answer

How to voxelize 3d polygon with opengl fixed function pipeline

I am recently trying to voxelize 3D polygon meshes with fixed function opengl. void VoxelizeWithOpenGL(const Mesh &in, uint32_t width, uint32_t height, uint32_t depth, uint8_t *out) { GLuint texture_id, fbo_id; glGenTextures(1,…
Tim Hsu
  • 402
  • 5
  • 19
-1
votes
1 answer

python efficient 3d voronoi diagram using voxels

I am trying to create a Voronoi diagram using a 3d array representing voxels where the coordinates are represented by the indices of the array. For example: points = np.random.random([10,3]) vox_len = 0.1 lx = ly = lz =…
-1
votes
1 answer

Incorrect rendering results using VBO

I'm attempting to write simple voxelized terrain engine using heightmaps and chunked approach. I wanted to construct separate mesh for each chunk and load the meshes into separate VBOs. I've prepared all the logic, but I don't seem to get VBO…
Shilghter
  • 94
  • 1
  • 10
-1
votes
1 answer

3d Voxel coordinates as list in Matlab

I have a cube of 20*20*20 cm^3 and voxels of 1cm^3, how do I get the coordinates of all the 20*20*20=8000 voxel centers as a list of [x,y,z] (size 8000*3)? Preferably in vectorized form! Thanks a lot!
adrelino
  • 160
  • 2
  • 10
-2
votes
0 answers

clip_embeddings = [] for sample in dataset: clip_embedding = embedding_dict[sample['video']][sample['frameid']] clip_embeddings.append(clip_embedding)

KeyError Traceback (most recent call last) Cell In[13], line 3 1 clip_embeddings = [] 2 for sample in dataset: ----> 3 clip_embedding = embedding_dict[sample['video']][sample['frameid']] 4 …
-2
votes
0 answers

How can I create a voxel engine in Ursina?

I am trying to make a voxel engine in Ursina with a mesh terrain. I followed this tutorial which gives me a single voxel but I don't know how to turn this into a chunk. I would appreciate if anyone could help me. I tried finding info on the Mesh…
-2
votes
1 answer

UnassignedReferenceException when creating voxels

I was creating Voxels, when suddenly, my projectile was... I don't know - removed or something - but it wasn't removed :| I was creating Voxels and this happened (this is the entire code): public GameObject Mesh; float cubeWidth; float…
-4
votes
1 answer

Open3D total number of voxels?

Hi all I’m have managed to reconstruct a shape using the carve from silhouette voxel carving function in open3D. How do I count the total number of voxels contained in the grid that makes up the carved 3D model ?
JO92SE
  • 1
-4
votes
1 answer

How do I fix python ursina error in voxel game

In my python project I get an error like this: package_folder: C:\Users\POM\AppData\Local\Programs\Python\Python310\lib\site-packages\ursina asset_folder: e:\Dimiland\Programiranje\Python\Visual Studio Code\Games screen resolution: (1440,…
Dumucane
  • 1
  • 4
1 2 3
28
29