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

Removing the Water Tight-ness property from the mesh constructed by poisson reconstruction using Point Cloud Library

I would like to generate visually appealing surface reconstruction from the the point clouds. I am using point cloud library. I tried creating a mesh using poisson reconstruction method but later found that it gives a water tight reconstruction. For…
Sai
  • 377
  • 2
  • 7
  • 18
5
votes
3 answers

algorithm to find edges using vertices (2D and 3D) in a mesh

I have a a mesh, with certain types of elements (e.g. triangular, tetra). For each element I know all its vertices i.e. a triangular 2D element will have 3 vertices v1, v2 and v3 whose x,y,z coords are known. Question 1 I am looking for an…
memC
  • 1,005
  • 2
  • 14
  • 23
5
votes
1 answer

Mesh Grid Simplification

I have a few 1000s triangles connected in a 2D mesh grid. It represents water flow. This grid is a delaunay triangulation. I need to merge the triangles back into a minimal amount of simple polygons such that each polygon is constraint not to have…
tommy chheng
  • 9,108
  • 9
  • 55
  • 72
5
votes
4 answers

How to simplify a marching squares mesh?

I'm running a marching squares (relative of the marching cubes) algorithm over an iso plane, then translating the data into a triangular mesh. This works, but creates very complex mesh data. I would like to simplify this to the minimum triangles…
miketucker
  • 1,074
  • 1
  • 15
  • 27
5
votes
2 answers

Reading .ply files in matlab

How do I read a mesh file (.ply) and display it in Matlab? Also, how can I change the camera viewpoint of said model? Thanks
Aly
  • 15,865
  • 47
  • 119
  • 191
5
votes
2 answers

How to correct winding of triangles to counter-clockwise direction of a 3D Mesh model?

First of all let me clear .. I am not asking about 2D mesh, to determine the winding order of 2D mesh its very easy with normal-z direction. Second is, I am not asking any optimized algorithm, I do not worry about the time or speed, I just want to…
maxpayne
  • 1,111
  • 2
  • 21
  • 41
5
votes
1 answer

Three.js - BinaryLoader vs. BufferGeometry for large meshes?

I'm looking for a most efficient way to load large polygonal meshes (up to 1M triangles) to Three.js. I'm considering either using a THREE.BufferGeometry object or loading with THREE.BinaryLoader. My questions are: Does BinaryLoader.js create a…
Simon
  • 113
  • 1
  • 8
5
votes
0 answers

three.js - how to replace a mesh geometry w/o recreating the mesh

I'm loading several STL files (one by one) into the same scene. Those files are different LODs of the same model (from low-poly to high-poly). I'd like to simulate a continuous model update from low to high resolution. I tried to create a separate…
Simon
  • 113
  • 1
  • 8
5
votes
3 answers

A Java Mesh Library?

I'm currently looking for a Java Mesh Library. If my understanding is correct, this would be something similar to OpenMesh. All I've found at moment is JMesh 'A Polygonal Mesh Library in Java' ( http://jmesh.origo.ethz.ch/ ) which is still in…
mtremsal
  • 79
  • 1
  • 6
5
votes
1 answer

Create a tetrahedral mesh from a closed triangular mesh

I'm looking for an algorithm (or implementation) to create a tetrahedral mesh from a closed (i.e. without holes) 3D triangular mesh. The best solution would be an open source application that can import mesh files (e.g. OBJ, STL and VTK), display…
Ailurus
  • 731
  • 1
  • 10
  • 23
5
votes
1 answer

How to handle COLLADA indices?

I wrote a simple reader for the COLLADA file format, and it seems to work OK. Now, I have a Blender-exported cube mesh which is edge-splitted and triangulated, so it should have 12 triangles (2 per face), 24 vertices (4 per face) and 36 indices (6…
manabreak
  • 5,415
  • 7
  • 39
  • 96
5
votes
1 answer

Detect tetrahedra within a triangulated mesh?

Let's say I have a mesh that has lines connecting the vertices in a way that would allow it to be split into tetrahedra. Is there an algorithm I can use to detect the presence of the tetrahedra given the vertices and lines? (I.e., given the mesh…
Conner Ruhl
  • 1,693
  • 4
  • 20
  • 31
5
votes
1 answer

Creating a 2d mesh in python

I am really new to programming... But here is my question : I cannot post images but the plot I wish to have is a "crown" (two concentric circle with radius a I mean, mathematically speaking is really easy to define but how can I do it with a python…
lasofivec
  • 331
  • 1
  • 4
  • 11
5
votes
2 answers

How to create a .mesh file with OGRE?

I'm relatively new to OGRE graphics engine, so my question may seem too obvious, but searching for relevant information was not successful. Given: I have an OGRE application with a scene created of some meshes, lights, cameras and textures. It is…
Nikolay Rys
  • 137
  • 2
  • 9
5
votes
2 answers

Convert multiple quad strips into single quad strip

I want to convert the five quad strips in the figure below (which are specified be the black indices below) into a single quad strip by adding appropriate degenerate quads. The added gray indices seem to do the trick, but I am wondering if there is…
wcochran
  • 10,089
  • 6
  • 61
  • 69