voxel Questions

1

Solved

Prologue: This is Q&A to cover 3D triangle rasterization into voxel grid I was asked for in order to solve a different problem related to material erosion/removal during manufactoring process s...
Fabled asked 30/10, 2022 at 8:43

4

Solved

I need help on getting started in Python (which I almost know nothing of) to voxelize a 3D mesh generated from Rhino. The data input will be a .OBJ file and so will the output. The ultimate purpose...
Amalita asked 7/8, 2012 at 17:47

5

Solved

I have a line-of-sight problem I need to solve by visiting all possible cells in a 3D voxel space between two (non-grid-aligned) points. I have considered using a 3D Bresenham algorithm, but it wi...
Pewit asked 12/5, 2013 at 9:22

4

Imagine a volumetric cube of N³ resolution that is filled with occluding voxels. The cube could be completely filled, or contain curvy "tunnels", or walls - or just a few stray voxels; We now pick ...
Cappella asked 26/3, 2015 at 15:18

1

Solved

I have a voxel (np.array) with size 3x3x3, filled with some values, this setup is essential for me. I want to have rotation-invariant representation of it. For this case, I decided to try PCA repre...
Rundell asked 12/10, 2020 at 20:7

2

I'm trying to plot cuboids of different sizes using matplotlib, such that: after rotation the cuboids do not overlap visually in a non-physical way, the cubes have different colors and a box drawn ...
Refined asked 14/3, 2018 at 12:25

2

Solved

Given a voxelization of the environment and a triangle with vertices A, B, and C, what would be the best way to determine which voxels that the triangle "occupies" or resides in? In other wor...
Realism asked 7/2, 2014 at 21:55

1

Solved

I'm now building a Voxel game. In the beginning, I use a texture atlas that stores all voxel textures and it works fine. After that, I decided to use Greedy Meshing in my game, thus texture atlas i...
Daedalus asked 10/12, 2019 at 5:1

2

Solved

Want to scale the voxel-dimensions with Matplotlib. How can I do this? import numpy as np import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D fig = plt.figure() ax = fig.gca(p...
Wept asked 25/6, 2019 at 11:22

3

Solved

I have 10 greyscale brain MRI scans from BrainWeb. They are stored as a 4d numpy array, brains, with shape (10, 181, 217, 181). Each of the 10 brains is made up of 181 slices along the z-plane (goi...
Tertias asked 10/3, 2018 at 14:17

1

Solved

I have been reading various sources the past hours and couldn't understand how Dual Contouring works. My problem is that I don't know the meaning of "Hermite Data" and even Google and Wikipedia cou...
Covenantee asked 9/11, 2017 at 21:27

2

Solved

In Python, given a N_1 x N_2 x N_3 matrix containing either 0s or 1s, I would be looking for a way to display the data in 3D as a N_1 x N_2 x N_3 volume with volumic pixels (voxels) at the location...
Sergeant asked 5/3, 2017 at 17:8

1

Solved

I have a skeletonized voxel structure that looks like this: The actual structure is significantly larger than this exampleIs there any way to find the closed rings in the structure? I tried conv...
Milreis asked 26/4, 2017 at 12:11

4

I am looking for an algorithm which can draw a nice looking 3D sphere on small resolution. I found Bresenham's circle algorithm but it's for 2D drawing. I just need spheres borders (I don't need it...
Porcia asked 31/7, 2014 at 11:12

4

Solved

I'm trying to decide what the most efficient way to render a bunch of cubes with different textures in a Minecraft-like game is. I discovered instanced rendering. What I've done is I've created a ...
Paredes asked 5/2, 2012 at 18:56

2

Solved

Having a 3D uniform grid, in order to save memory in large models the empty cells(those that don't overlap with any object) don't need to be saved. I am using Dictionary in c# for this purpose. Alt...
Octofoil asked 3/9, 2014 at 16:28

4

Solved

What is the most efficient way of computing the gradient for fixed sized voxel data, such as the source code below. Note that I need the gradient at any point in space. The gradients will be used f...
Sclerometer asked 22/1, 2014 at 2:5

3

Voxel engine (like Minecraft) optimization suggestions? As a fun project (and to get my Minecraft-adict son excited for programming) I am building a 3D Minecraft-like voxel engine using C# .NET4.5...
Navicert asked 9/1, 2014 at 10:47

0

I am doing some research into how feasible it is to use voxels to represent largish (256x256x256 voxels) battlegrounds with destructible terrain for server-hosted multiplayer games. Only one battle...
Reine asked 19/7, 2013 at 14:46

2

I have recently implemented soft shadows using voxel cone tracing in OpenGL 4.3 by tracing a cone in the direction of the light and accumulating opacity values. The key thing that I am trying to ...
Cns asked 16/2, 2013 at 10:21

3

Solved

In my (Minecraft-like) 3D voxel world, I want to smooth the shapes for more natural visuals. Let's look at this example in 2D first. Left is how the world looks without any smoothing. The terrai...
Stretto asked 10/9, 2012 at 12:21

2

Solved

I'm looking for a good ray-octree intersection algorithm, which gives me the leafs the ray passes through in an iterative way. I'm planning on implementing it on the CPU, since I do not want to div...
Judicature asked 19/4, 2012 at 13:2

5

Solved

I'm making a voxel engine in C++ and OpenGL (à la Minecraft) and can't get decent fps on my 3GHz with ATI X1600... I'm all out of ideas. When I have about 12000 cubes on the screen it falls to und...
Altar asked 30/12, 2010 at 15:8

2

Is there a way to loosely describe an object (via pattern matching finite automata, for example) in 3d voxel grid in the same way we can loosely describe patterns in one-dimensional string with reg...
Officious asked 21/9, 2011 at 20:22

1

Solved

I've been searching on google, but cannot find anything basic. In it's most basic form, how is dual contouring (for a voxel terrain) implememted? I know what it does, and why, but cannot understand...
Minefield asked 26/6, 2011 at 18:31

© 2022 - 2024 — McMap. All rights reserved.