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.
2,477
questions
-2
votes
0
answers
11
views
How can I make the meshes link visit enforce download that mesh? [closed]
I am 77days! I am quite curious and needs to know can I do the task I told in the title. But if still confused here is an explanation:
I am currently trying to make it so on website visit the file ...
0
votes
0
answers
14
views
Open3d Ray Casting Generates Error in Python
I am using Open3d in Python to cast shadows and determine intersections on an object. In the example below I use a 2 twist mobius strip from the Open3d library as the object and create a tensor for ...
1
vote
0
answers
23
views
Creating a Mesh from MRTK Hand joints
I have an application for Hololens 2 where i need to show other participants' hands.
I got the networking part, but i now have a set of 25 HandJoint positions per hand. I would like to visualize the ...
1
vote
0
answers
24
views
How can I optimize mesh in gmsh? (for the intersection between entities)
I have a geometry composed of four walls, a slab, and beams.
geometry image:
I am using gmsh for meshing it, starting from a step file. I would like to know how to guarantee the continuity between ...
0
votes
0
answers
20
views
Closing holes in mesh while retaining point cloud shape
I have a ply file that I am attempting to turn into a mesh for the purposes of ray tracing. It looks like this is the open3d visualizer and is supposed to represent a part of a city:
I used open3d to ...
-1
votes
0
answers
21
views
Associate 2D image values to triangles of a 3D mesh
I'm trying to implement an approach for the saliency detection on 3D meshes with Python. The authors propose to make different captures (2D views) of the mesh and compute 2D saliency on these 2D ...
0
votes
1
answer
26
views
How to update vertex of mesh in three.js after rotation?
I'm working in 1.4.2 three.js version. I rotate mesh and want to get it updated vertexes. Here is my codepen: https://codepen.io/DYDOI-NSK/pen/mdxLpoB?editors=1012
Here is my code:
I have a function ...
0
votes
0
answers
17
views
VTK - store separate mesh points and variable data separately
I am looking to output simulation data from a static, unstructured mesh, that can be visualised in ParaView. I typically use the .vtu format to output each variable (e.g. velocity, temperature), which ...
0
votes
0
answers
15
views
How to get the pixel value of texture by per wedge texture coordinate index?
I want get the pixel value of texture by per wedge texture coordinate index, but I can not realize it by the following code.
ms = meshlab.MeshSet()
# Load a mesh wi_th texture per wedge
ms....
0
votes
0
answers
12
views
Change the color of mesh object generate by LIDAR
I successfully generate a 3D object using LIDAR and generate an obj file from it. But right now it will show crayon colour rather than custom colour. how I can give custom colours for mesh?
private ...
0
votes
0
answers
44
views
what's a good way or algorithm to extrude a 2D mesh to 3D?
I have a 2d mesh defined by a list of vertices and triangles that I'm rendering in a 3D engine. For this example let's say it looks like a car tire off its rim. So a fat circle with a hole in it. I ...
0
votes
0
answers
10
views
How to use PyMeshLab to reduce mesh number to a certain number
I need to simplify some models to the same number of faces. How should I do it?
0
votes
1
answer
46
views
how i can subdivide object with blender python , i get error object mode to edit mode (Operator bpy.ops.object.mode_set.poll() failed,)
import bpy
file_loc = 'mm_frame.obj'
imported_object = bpy.ops.import_scene.obj(filepath=file_loc)
obj_object = bpy.context.selected_objects[0] ####<--Fix
bpy.ops.object.mode_set(mode="...
0
votes
0
answers
52
views
What algorithm do i need to convert a 2D image file into a representative 2D triangle mesh file?
I am looking for some advice to point me in the direction of the algorithm I would need to convert an image file into a mesh. Note that I am not asking to convert from 2D into 3D - the output mesh ...
1
vote
0
answers
47
views
Pymeshfix/Pyvista unexpected cleaning result
I try to repair the following mesh (a dental bridge):
Within the mesh are some holes and also intersecting triangles. I use the function tin.small_boundaries() and if i detect intersecting triangles ...
1
vote
1
answer
31
views
Need help making a 3D mesh given co-ordinates of the vertices and vertex indices of each face for 3D Slicer - trimesh python
Given the following data:
The Cartesian co-ordinates of the vertices in the surface mesh: n vertices x 3
The vertex indices of each face in the surface mesh: n faces x 3
I'm trying to export some 3D ...
1
vote
1
answer
28
views
Set a distance between two meshes in THREE.JS
I have this code which generates cylinders in position of each Poi (sprite), So i want to set a distance between the cylinder and the sprite , how can I do?
const THREE = this.context.three;
const ...
0
votes
0
answers
20
views
3D Surface plot from a set of coordinates using plotly
I have a set of coordinates, (x,y,z). It comes in separate vectors x_orig, y_orig, z_orig. Each of them is 1-dimentional.
I would like to create a surface, using plotly. However, the Surface command ...
0
votes
0
answers
15
views
Graphql Yoga Express - no overload matches this call
import { createServer } from '@graphql-yoga/node';
import express from 'express';
// create mesh
const { schema, getEnveloped } = await getBuiltMesh();
// create express server
const app = express();...
0
votes
1
answer
31
views
How can I map data onto a mesh grid in python?
I have a set of coordinate points I want to map onto a meshgrid. I have generated the meshgrid as such:
import numpy as np
a = -4
b = 4
z = 50
x = np.linspace(a, b, z)
y = np.linspace(a, b, z)
X, Y = ...
0
votes
1
answer
35
views
Istio outbound https traffic troubleshooting
I have 2 AKS clusters, Cluster 1 and Cluster 2 both running Istio 1.14 minimal out-of-the-box (default configs).
Everything on Cluster 1 works as expected (after deploying Istio).
On Cluster 2, all ...
0
votes
1
answer
33
views
Emit particles from the volume of a custom mesh in unity
So I’ve got custom mesh shapes and I’m emitting particles but I can’t get to emit them from inside the volume, only vertices and triangles, what’s the best way to do it?
1
vote
0
answers
63
views
Open3d: Visualize PLY file with face colors
Is there a way of reading a PLY file and show the face colors when visualizing the geometry?
This is how I open a dialog window to select the PLY file and read the mesh and subsequently visualize it.
...
0
votes
0
answers
28
views
How to treat normal vectors with theoretically impossible values that the camera shouldn't be seeing in 3D rendering
I am creating a small 3D rendering class in C++ and OpenGL, and I am currently implementing lighting, which, obviously, requires normals to do some calculations.
The problem is that, while doing some ...
0
votes
0
answers
42
views
Cubic search mesh with spheres and points sample (Python)
I have a set of 500,000 spheres 3D coordinates along with their radii (non-unique) which are put in a pandas DataFrame object.
I would like to create an efficient search routine where I sample many ...
0
votes
1
answer
32
views
Unity: Set position of GameObjects as mesh vertices
for an augmented reality project I want to project an scalable picture ontop of 4 tracked images which should be like a map. Therefore I want to grab the locations of the Images and put an empty on ...
1
vote
1
answer
41
views
Wgs to Mercator
We have this function we have been using to convert Wgs coordinates to Mercator. The goal is to have a thin split in latitude towards the poles, and a large one close to the equator to make the 3d ...
0
votes
0
answers
33
views
How to put a physical tag on gmsh?
I m trying to mesh a simple slab with 2 distributed forces on the middle (hence the line embeded in my code).
I m using the Python API. I got a nice mesh when I do not specify any physical tag, but ...
0
votes
1
answer
49
views
Problem with making mesh at runtime. (Unity3d)
I'm trying to make mesh with Vector3 data from database at runtime.
Here is my code
private IEnumerator CreateShape()
{
int count = 0;
triangles = new int[x_size * y_size * 6];
//index ...
1
vote
1
answer
71
views
Inflation layer not working in certain geometries in ANSYS meshing tool
I am trying to implement an inflation layer between two geometries in my mesh using ANSYS, and I am confused about the procedure.
I found online (see the answer from Gopinath N K on 1/17/22) that in ...
0
votes
1
answer
45
views
Istio outbound traffic fails
I am running Istio 1.14 minimal on K8s 1.22
I am testing different outbound connections from inside the mesh and they all fail with errors like:
Execution of class com.microsoft.aad.msal4j....
1
vote
1
answer
24
views
Why is it easier to render a mesh with potentially tens of thousands of vertices, UV mapping, materials, etc than it is to make an irregular collider?
This question isn't about how I should make my colliders in engine, but rather why people will raise performance concerns when talking about mesh colliders when it seems to be a normal thing to render ...
0
votes
0
answers
24
views
Find intersection between a 3D mesh and a line given by a sequence of point, using python
i have a 3D mesh (.vtk file) and a curve expressed as a sequence of points. I want to find the intersection point/points between the curve and the mesh. Does anyone know ho to something like that ...
0
votes
0
answers
18
views
Unity mesh uv goes on another triangle
UV texture goes on another triangle
Triangles:
And output:
On first row first texture should be cut, but it's full and the next is cut. It should be otherwise.
How could I solve it? Please help.
0
votes
0
answers
17
views
Detection of rotational/cylindrical symmetry in 3d meshes
I'm looking for code for detecting rotational symmetry (specifically, cylindrical symmetry) in meshes, to classify which vertices are on parts that have symmetry.
I can find papers on the subject, but ...
0
votes
0
answers
42
views
How Can I verify whether a vertex is "Topologically Inside" a region defined by other vertices?
I got a .obj file, which looks like:
v 0.000110 -6.418805 204.660678
v 0.000106 -6.706387 204.752516
v -0.000157 -7.310809 205.666899
v -0.000120 -7.274895 205.336523
...
f 30/1072/1 1002/1096/2 31/...
1
vote
2
answers
81
views
How to stitch two meshes together along overlapping seams without altering other parts of the meshes?
I'm trying to join two meshes together into one single mesh. The boundary edges of both overlap perfectly, but they do not have the same spacing - thus, all faces touching the seams need to be deleted ...
0
votes
0
answers
18
views
Fast 3D mesh generation from pointcloud
I would like to build a simple mesh from a set of points in the fastest way possible. Hypothethically my point cloud could be in a very low number of points range (something like 1000 to 50000).
I've ...
0
votes
0
answers
15
views
BLENDER: Why is Vertecies getting weighed by alot of bones with automatic weighing
I have bought two female characters online and adjusted each to use as character models for game.
unfortunately with one of them(Female_Legs02) when 'parenting with automatic weights' it selects a lot ...
0
votes
0
answers
19
views
In BoxGeometry images are not visible on 3D Box from different camera view angles
I Have Created a 3D cube in which I'm Adding images to all the sides of the 3D cube .
I've Used 'side:THREE.DoubleSide, Transparent:True' to make it visible from any angle or Side of the cube .
But, I'...
0
votes
0
answers
15
views
Decals and React
I’ve been stuck for days, and couldn’t figure it out.
I’m trying to put a small graphic (as in Team Badge, and player’s number at the back) onto a basketball jersey. I can’t use Texture as anything I ...
1
vote
1
answer
44
views
Why does my buffer geometry fail when I try to load in vertices, faces and normal from .mat file?
I want to load in my matlab geometry into my three.js scene. My 3D data is saved in a struct .mat file which contains .vertices, .faces, .VertexNormals and .VertexColorData arrays. I am able to load ...
0
votes
0
answers
18
views
Format suitable for output of simulated animation
I am trying to find a format suitable for output the meshes I am getting from a simulation. Right now I am exporting each step of the simulation as an OBJ, but it is not a suitable format, as it can't ...
0
votes
0
answers
44
views
Python Plotly Scatter Plot on 3D Mesh
I have an STL(mesh) file that I want to render on plotly. I found this library which is using
import plotly.graph_objects as go
the go object of plotly.
and I want to make a scatter plot on the same ...
1
vote
1
answer
258
views
Surface Reconstruction from Point Cloud in Python Pyvista
I am in the process of creating a mesh from my 3D PointCloud data. I have obtained my mesh and will attach pictures below. I was curious if anyone knew how to only obtain the mesh of just the scanned ...
0
votes
0
answers
29
views
How can I get normal map from a point cloud with normals and a camera parameter (with extrinsic and intrinsic)?
I have a reconstructed point cloud(actually it is generated from a triangle mesh) with normals of a real object, and I have a camera with known intrinsics, so I take a picture of this object in a ...
0
votes
1
answer
51
views
How to cut a figure (3D model) with a plane into 2 parts?
please tell me how to cut a figure into a plane into 2 parts, something like in the picture
I tried to do as on this link, but it did not work, maybe someone else will tell you how you can divide the ...
0
votes
0
answers
106
views
Cannot process multiple app roots in the same compilation unit
Take my liberty to ask.
I am integrating some modules of nRf mesh and nRf toolbox, and encountered the problem of multiple app roots.
The error description:
The annotation of @AggregatedRoot:
The ...
1
vote
0
answers
42
views
Unity Get surface on an object
So I need to get information on which triangles are on the same surface, right now I compare normals to the original hit point and then select which normals are below an angle threshold.
But obviously ...
0
votes
1
answer
108
views
Generate unstructured surface mesh from coordinates
Problem summary
I have a rectangular prism like in the image below where I know the coordinates of the vertices.
I want to discretize the lateral faces of the prism into an unstructured surface mesh ...