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

Building the tetrahedra of a set of random points - tetrahedralization

I have a set of points (1 million of them, possibly more in the future, like 10 or 100 million) in 3D space that forms a sphere (they fill the sphere - they're not just on the surface) and I would like to build the tetrahedra that connect each…
user22744
  • 101
  • 1
  • 5
9
votes
3 answers

get nearest points that form a triangle

I have some points (blue) in 2D. I want to get these three points, that form a triangle in such a way, that the point D (red) lies inside this triangle. If there is no such triangle, an exception can be thrown. So for the above picture I want to…
Rico-E
  • 1,806
  • 2
  • 28
  • 47
9
votes
1 answer

LibGDX mesh heightmap normals and lights

I am trying to get mesh normals and lights working in LibGDX project. I already have textured mesh generated from heightmap texture pixels. The problem is I cannot get normals lighted up correctly. Also Im not 100% sure I have normal vertices…
dek_vault
  • 151
  • 1
  • 5
9
votes
2 answers

A read on mesh algorithm and mesh library

I am interested to read and understand the 2D mesh algorithms. A search on Google reveals a lot of papers and sources, however most are too academic and not much on beginner's side. So, would anyone here recommend any reading sources ( suitable for…
Graviton
  • 81,782
  • 146
  • 424
  • 602
9
votes
2 answers

Low polygon cone - smooth shading at the tip

If you subdivide a cylinder into an 8-sided prism, calculating vertex normals based on their position ("smooth shading"), it looks pretty good. If you subdivide a cone into an 8-sided pyramid, calculating normals based on their position, you get…
Ned Twigg
  • 2,159
  • 2
  • 22
  • 38
9
votes
1 answer

Texture mapping using Meshlab

What is the easiest way of mapping a texture image on top of a bare 3D mesh using Meshlab, where the UV texture coordinates have not been specified?
Rai
  • 1,811
  • 3
  • 13
  • 11
8
votes
2 answers

Unity | mesh.colors won't color my custom mesh object

I have build a custom pyramid in Unity like this: Mesh mesh = GetComponent().mesh; mesh.Clear(); Vector3[] vertices = { new Vector3(0.0f, 0.5f, 0.0f), new Vector3(0.5f, 0.0f, 0.5f), new Vector3(-0.5f,…
Iraklis Bekiaris
  • 1,163
  • 15
  • 43
8
votes
1 answer

QML, Combining multiple meshes into single entity

I am trying to create a customizable Qt3D component by merging three ConeMeshes into a single entity. The user must be able to interact with the custom entity, so I have added an ObjectPicker to the file. Normally, I would use a predefined scaled…
Anders
  • 403
  • 3
  • 17
8
votes
4 answers

How can I plot 2d FEM results using matplotlib?

I'm developing a 2D plane finite element tool. One of the features is the ability to visualize the stresses on a particular object. This tool creates a quadrilateral mesh using the following data: nodes: numpy array [[x1 y1], [x2 y2], etc] -> x and…
tomas-silveira
  • 593
  • 3
  • 5
  • 14
8
votes
2 answers

How to draw lines in .ply files using Meshlab?

For example, I want to choose two points from all the point clouds, and draw a line between them. I'm using Meshlab to deal with .ply files but I don't know how to accomplish this. Can I do this using Meshlab or other ways?
Yizhi
  • 81
  • 1
  • 3
8
votes
1 answer

Three JS - How to cut a 3D object with Y plane?

Is it possible, with Three JS, to cut a mesh or an object with a plane (mostly with Y axis) that we can move ? I want the same functionality that display in this picture : The goal is to keep the mesh intact to allow for the user moving the plane…
Pouchopa
  • 253
  • 1
  • 3
  • 11
8
votes
1 answer

LibGDX edit model mesh from a template

I am working on a project that I take a "base" model/mesh, and I form it to look like a more defined terrain. I am having an issue, though, when I try to edit the mesh. This is basically how I do it: (assets is an AssetManager) Model terrain =…
Fishy
  • 1,275
  • 1
  • 12
  • 26
8
votes
1 answer

Drawing edges of a mesh in Three.js

Is there something as Stroke to draw the edges of a mesh? I would like to have my object to look like this:
Ph1
  • 341
  • 1
  • 4
  • 14
8
votes
2 answers

Detect and Remove Hidden Surfaces of a Mesh

For the past few weeks, I have been working on an algorithm that finds hidden surfaces of complex meshes and removes them. These hidden surfaces are completely occluded, and will never be seen. Due to the nature of the meshes I'm working with, there…
ContingencyCoder
  • 339
  • 6
  • 13
8
votes
5 answers

Algorithm for unique find edges from polygon mesh

I'm looking for a good algorithm that can give me the unique edges from a set of polygon data. In this case, the polygons are defined by two arrays. One array is the number of points per polygon, and the other array is a list of vertex indices. I…
Peter Shinners
  • 3,686
  • 24
  • 24