Questions tagged [mesh]

Do NOT use for questions about mesh-networks. Use [mesh-network] instead. A mesh is a collection of vertices, edges, and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling.

From Wikipedia:
A polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling. The faces usually consist of triangles, quadrilaterals or other simple convex polygons, since this simplifies rendering, but may also be composed of more general concave polygons, or polygons with holes. Check for more Mesh Detail

2641 questions
4
votes
3 answers

What algorithms exist for finding a bounding surface to a set of points?

Suppose you have a point cloud, and you want a surface that wraps those points to enclose them all, and wrap them fairly tightly so it intersects with the outer points in the cloud - how do you generate this wrapped surface? That is, where some or…
David
  • 13,360
  • 7
  • 66
  • 130
4
votes
2 answers

Triangular mesh topology

I've got a triangular mesh class which contains a list of nodes (2d in my case but that shouldn't matter) and a list of faces. Each face is a triangle and it only contains the indices into the node array. The mesh comes out of a Delaunay algorithm…
David Rutten
  • 4,716
  • 6
  • 43
  • 72
4
votes
4 answers

Check if a point is inside an arbitrary hexahedron

I am working on a 3D finite element code, where i face the following problem: If I take an arbitrary point (say x), how do I figure out, which element it is in? This can be simplified to: How do I check if an arbitrary point (x) lies inside or…
4
votes
1 answer

Blender - Why is my Mesh not moving with my rig?

I imported a .fbx model to blender and made a rig, which I want to attach to the mesh. The problem is, that, after parenting, when I rotate the bones, the mesh is not moving with it. The following links are a few screenshots to make it more clear,…
debaser36
  • 45
  • 1
  • 5
4
votes
1 answer

Broken Vertex Data in Mesh Class

I'm trying to implement model loading, but I'm stuck with one problem. When i try to draw a mesh (a single textured quad written by hand for test purposes) for some reason duplicated data associated with the first vertex is passed to the vertex…
4
votes
1 answer

How does WoW handle the graphics of armor swapping?

I've been trying to figure this out for .. forever and I while i've gotten my head around a good deal of it .. there are a few things I just can't seem to grasp. First, do they merge textures somehow? For example, you can have a forearm that shows…
Azmundai
  • 41
  • 2
4
votes
1 answer

Why I can't create Face3 in ThreeJS Typescript project

I am trying to create Mesh by using Face3. I am using Threejs in typescript project. There are several problems I am facing. const points = [ new Face3(-1, 1, -1),//c new Face3(-1, -1, 1),//b new Face3(1, 1, 1),//a new Face3(1,…
USMANHEART
  • 93
  • 1
  • 9
4
votes
3 answers

Create triangular mesh from vertex coordinates

Given a set of 2d data points with coordinates x and y (left picture), is there an easy way to construct a triangular mesh on top of it (right picture)? i.e. return a list of tuples that indicates which vertices are connected. The solution is not…
Amir
  • 307
  • 3
  • 14
4
votes
3 answers

Matlab: `mesh()` plot with less number of grid

Let's say data is a matrix of size 129 * 129. by using mesh(data, 'FaceColor', 'none', 'EdgeColor', 'black') we get something like We can find that the grid are quite intense. I would like to have the same figure but with less number of mesh…
null
  • 1,167
  • 1
  • 12
  • 30
4
votes
2 answers

Open3d Python Issue: No attribute 'estimate_normals'

I am working with open3d for python3 on windows. It was installed through pip via 'pip install open3d-python'. I've checked documentation and everything seems right with my script, which attempts to convert a point cloud file (.ply) to a mesh…
figbar
  • 714
  • 12
  • 35
4
votes
1 answer

Find triangle containing point in spherical triangular mesh (Python, spherical coordinates)

Main problem In Python, I have triangulated the surface of a (unit) sphere using an icosahedral mesh. I have a list simplices of tuples containing the indices of the three vertices of each triangle, and I have a two lists describing the coordinates…
falidoro
  • 399
  • 3
  • 14
4
votes
2 answers

How to select multiple layers in Meshlab

I have 20 layers of obj files. I want to set part of them visible while others invisible. It's not convenient to set it one by one. Is there a easy way to select multiple layers at the same time and change their visibility.
Jundan Luo
  • 41
  • 4
4
votes
2 answers

ImportError: cannot import name 'mesh'

I am trying to create and save an stl file with a cube and I cannot import the mesh module for some reason. When hovering over mesh, it says: "Cannot find 'mesh' in '__init__.py'" I originally had the directory folder named stlExperiments but then…
Riley Fitzpatrick
  • 869
  • 2
  • 16
  • 38
4
votes
1 answer

geodesic distance on 3d triangular mesh using scikit-fmm or gdist

I'm trying to evaluate a geodesic distance matrix on the TOSCA dataset. e.g. the following 3d mesh- I've tried using two python implementations. The first one is the scikit-fmm, which does not seems to work on 3d structures at all (am I right?)…
DsCpp
  • 2,259
  • 3
  • 18
  • 46
4
votes
1 answer

Questions about the Gmsh Python API

I am trying to write a script that will automatically mesh geometries for CFD analysis using the Gmsh Python API. There are a few issues I am running into: First of all, I would like to be able to write Gmsh script files (.geo) for debugging…