Questions tagged [mesh]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

obj to grd sdf generators?

I am trying to generate sdfs from objs but when I try to use the only tool I find online it segfaults on even the simplest inputs, such as the blender cube. Does anyone know of a tool to generate grid ...
0
votes
0answers
40 views

Reorder mesh triangles

Good Morning! My problem is: I need to get the vertices of a mesh and send them to a shader. Inside the shader I will reassemble the mesh from its vertices. So far so good, I send the information and ...
0
votes
1answer
40 views

Are vertices of each LOD version always loaded into VRAM

Are vertices of each LOD version always loaded into VRAM? I know many game engines have a LOD feature for mesh vertices and textures. I'm just wondering if all vertices and textures of all(each) LOD ...
1
vote
1answer
51 views

How to map texture pixels to the corresponding 3D positions?

I have a mesh stored in .obj format with a texture image in .png format. For any "defined" pixel in the texture image, I'd like to compute the corresponding 3D coordinates when the texture ...
0
votes
0answers
44 views

Methods to interpolate between 2 topologically identical 3D meshes

I have 2 3D surface meshes. These meshes have vertex-correspondence and have the same topology (same edges and triangles connecting the vertices). However, the vertex positions (3d coordinates) are ...
0
votes
0answers
89 views

How to convert triangle mesh into a rectangle mesh?

How to convert a triangle mesh into a rectangle mesh(with customized criteria)? Can someone point out some directions for me? Open source project is more preferred. Thanks in advance.
0
votes
0answers
17 views

Cad ingesting SDK that supports STEP , Parasolid and Solidworks filetypes and Also Meshing

We have an internal CSG (Constructive Solid Geometry) format.Converting/Ingesting other CSG-based files to our internal format is straightforward. We also managed to convert some polygon (mesh) based ...
2
votes
1answer
53 views

Catmull–Clark issue with plane corners

I implemented catmul clark based on this Wikipedia article. And it seems to work fine for meshes where the edge point count is equal to the face point count, but not for planes where the corners have ...
0
votes
0answers
41 views

Is there any open source code available for simplification of tetrahedral mesh?

I am currently working on tetrahedral meshes and I want to downsample the mesh using techniques like Qslim but there is not much about tetrahedral meshes in the literature. I try to use it as a ...
2
votes
3answers
884 views

How can I get a signed distance (SDF) from a mesh?

I am trying to use constructive solid geometry (CSG) and boolean operators to combine various shapes and get the outer (possibly concave) hull. This seems to work okay when using primitive shapes like ...
0
votes
0answers
67 views

Quadric Edge Collapse Decimation of an object for reducing number of its vertices damages the original shape of object

I have been using "Simplification: Quadric Edge Collapse Decimation" for simplifying my meshes to only have ~800 vertices and it has been working with a couple of meshes I tried. However, ...
0
votes
1answer
37 views

Computing heat diffusion creates weird results

I am trying to model heat diffusion on the surface of a mesh. I annexed the most important bits of theory about this topic as screenshots on the question see the bottom. The crux of the issue is we ...
0
votes
0answers
42 views

Finding the "face number" of a mesh in obj format in MeshLab or other visualization tools by clicking on it

I am interested in clicking on different faces of an object mesh (loaded as in obj format) in MeshLab (or other obj file visualization tools) and understand what is the face number? For example if my ...
2
votes
0answers
42 views

Divide mesh according to level of detail

Background I need to remesh by OpenVDB, like what Blender remesh does: Voxel Uses an OpenVDB to generate a new manifold mesh from the current geometry while trying to preserve the mesh’s original ...
5
votes
1answer
83 views

Existing method to automatically fill in this sort of concavity in meshes?

I am working with a PWP3D-like algorithm that renders silhouettes of a mesh in order to segment a frame of video and update an object's pose. Because it is only the silhouettes of the mesh that matter,...
0
votes
0answers
45 views

How can I render a triangle mesh at 10bit (or 12bit or 16bit) channel depth color?

For a vision research experiment, I have a monitor that supports 10bit/channel (=30bit color). I want to render a triangle mesh in a simple scene that uses the full bit depth, and I want to save this ...
0
votes
0answers
41 views

Under what conditions does a mesh operation cause the mesh become non-manifold and how to avoid it?

I'm implementing some mesh operations (e.g. edge collapse, edge split, edge flip etc) and need to ensure applying such operations does not cause the mesh to become non-manifold. However, I'm not sure ...
0
votes
1answer
30 views

Differential or intersection of islands of 2D polygons in different layers

I have a 2D layer/section containing the 2D polygons colored in shades of green. I have another layer containing the 2D polygons colored in shades of blue. I intend to figure out how different are ...
0
votes
1answer
28 views

Render Duplicate Miniature Scene Replica

Context I am working on project for implementing and user test a World-in-Miniature (WIM) interface for VR. A WIM essentially is a replica of the scene the user is currently in, but in miniature. ...
1
vote
3answers
98 views

Silhouette below 3D model

There are some 3D applications which can cast shadow or silhouette below 3D models. They render pretty fast and smooth. I wonder what kind of technology is the standard procedure to get 3D model ...
0
votes
0answers
64 views

Backface culling in DX12 not working properly

I've modified code of my path-tracer to rasterization only, to play a little with DirectX 12. However, I have problem with correct backface culling, even though my PSO seems to use correct options: ...
0
votes
0answers
19 views

Calculating minimal voxel size in a mesh

I am developing a script that will determine a minimal voxel size in a mesh. My first thought was to caculate the area of given face. Another approach would be to calculate minimal line length and ...
1
vote
1answer
87 views

Is There an algorithm to remove intersections between two tetrahedrons?

I have a mesh made up of several tetrahedrons, I know for sure that there are intersections between some of them: how can I remove these intersections, without generating others? In other terms: if ...
0
votes
0answers
45 views

Algorithm to select regions based on curvature on a mesh

I'm trying to understand how to implement an algorithm similar to the one used by Magics' mark surface tool, you can see such behaviour on this video. Quoting the video: "Basically with this tool ...
0
votes
0answers
77 views

Comparing two triangle meshes

How to quantitatively compare two meshes? For example, comparing the same object mesh before and after processing it. Is there any library or code readily available for this?
2
votes
0answers
25 views

Wrapping a point cloud skeleton with a mesh

Using Unity I've been producing sculptural forms that look like this. It's made of patterns of cubes that twist around each other. I'm trying to get it into a 3D printable format. From unity I export ...
2
votes
1answer
168 views

Tetrahedron orientation

I am developing a software that needs to interact with a mesh processing program, using tetrahedral meshes, however I am finding difficulties in this. The program requires all tetrahedrons to have ...
0
votes
1answer
326 views

Vertices, Vertex Normals and Face Normals

Using Open 3D Model Viewer, I have converted an OBJ file to an STL file. In the source file, the Vertex Normals are specified and in the destination, the face normal of the triangles are present which ...
2
votes
1answer
106 views

What's the simplest, open, animation format?

I have an obj parser that handles triangle meshes specifically. I want to extend it (and the rest of my system) to handle animations as well. However, I don't think I am ready to tackle the glTF ...
0
votes
1answer
427 views

Drawing a cube and wireframe opengl

I'm trying to render a cube and it's wireframe together using OpenGL The main function is this: ...
3
votes
1answer
67 views

Why is the valence of regular vertices 6?

So I recently learnt that supposedly for any mesh, and pretty much any scheme, the valence of regular vertices must be 6. It seems to be related to the Euler-Poincare formula but I have not been able ...
2
votes
1answer
56 views

Sort half-edges around common vertex in 3d [closed]

I'm trying to figure out this problem for very long time and am no getting nowhere. I'm working on a simple 3d modeler that uses half-edge data structure. Say I have non-manifold geometry where two ...
3
votes
1answer
52 views

Mis understanding of the Heat Method

I have been trying to understand a paper in CG for a while, called the Heat Method by Ken Many things have clicked but I don't fully understand it yet. In particular. In the following $u$ is a vector ...
3
votes
1answer
156 views

Algorithm for constructing doubly connected edge list in 3d

This post explains how to construct double connected edge list in 2d. One of the steps in the algorithm is to sort the halfedges around a vertex in clockwise order. However this will not work in 3d. ...
4
votes
1answer
75 views

Gradient descent (Not ML) on arbitrary meshes

So I am doing a gradient descent like algorithm on the surface of a mesh and I just noticed something: The above is the geodesic gradient (the distance to a single vertex) Look at where the ear ...
2
votes
1answer
32 views

Wondering if it's possible to 'extend' a texture beyond the mesh without altering the mesh itself

I'm in Blender and working with a pre-existing 3D model- I want to add more length to it, but I don't want to mess with the mesh- Is it possible to extend the texture beyond the mesh without changing ...
2
votes
3answers
314 views

How to Sample 3D Points Outside and Inside the Mesh Surface

I have a mesh of an object enclosed in unit volume cube and I would like to sample points inside and outside the mesh surface. What are the different ways of doing it? Is there any sample code ...
1
vote
1answer
227 views

Calculating the gradient of a tetrahedral mesh

How can I compute the gradient for a tetrahedral mesh (3D)? For triangular mesh, I got an answer from the following post Calculating the gradient of a triangular mesh How can I get a similar formula ...
2
votes
2answers
119 views

Smart half edge iteration?

In my HE implementation, half edges are stored in an array. When I iterate over the edges, I color all the HE black, and when I do an operation on an edge (e.g edge splitting) I mark both the current ...
0
votes
1answer
233 views

What method is used for baking grayscale curvature maps

I'm looking for a way to generate curvature maps like this: The map stores the Convexity and Concavity of each pixel as a value from 0 to 1, where .5 is no curvature and 1 and 0 are the extremes. I ...
2
votes
1answer
157 views

How do you apply a normal map to a 3d mesh?

I'm writing my own mesh renderer, and I previously was able to apply a normal map to a sphere, so I understand the basic process of applying a normal map. But my understanding is that in order to ...
0
votes
1answer
42 views

Fast and exact Geodesics on meshes, Backtracking confusion

The following is an excerpt from a 2005 paper on geodesics on triangular meshes, taken from section 3.5 In this case $p$ is a point on some arbitrary face in a mesh, $p'$ is a point on one of the 3 ...
4
votes
1answer
104 views

Reducing artificial rings in mean curvature of mesh

I have an isosurface/mesh (generated via marching cubes) of a micro-CT scan. Originally the surface looks very noisy, which becomes prevalent when the mean curvature is visualized: To reduce the ...
0
votes
0answers
28 views

MMP Geodesic algorithm I need clarification

I am reading the 1987 paper on Geodesics on polyhedra and I am confused on something. The paper states: If $I1==NIL$, the channel is simply that part of $f’$ to the left of $\beta_2c_2$; and if $I2==...
1
vote
1answer
54 views

Finding geodesics on a mesh?

What are some state of the art methods/algorithms to find geodesics on arbitrary manifold meshes?
0
votes
1answer
138 views

How to use PCA to reconstruct 3D Mesh?

Given a set of human body mesh {S_i}, for each S_i, the points are N*3, we can do PCA on that. We can use PCA to reduce the dimension of {S_i}, for example to k dimension. Let the main direction of ...
1
vote
1answer
51 views

chess-like rectangles on the mesh

I am new to concepts in CG. What are the red and white rectangles trying to represent in the following screenshot? The image is from the paper "MoSh: Motion and Shape Capture from Sparse Markers".
0
votes
1answer
352 views

Rotation of meshes in PyTorch

I am doing some project on object reconstruction and I need to rotate an object in PyTorch during the training to make sure I am augmenting the data properly. My data consists of points and it's ...
0
votes
2answers
156 views

What tris and quads need for?

I know that 3D artists make a 3D model with quads. And they advise to remesh with quads only (if it's possible). So I have some questions: Why do we use quads in CG (for games, cartoons, film, etc) ...
1
vote
0answers
63 views

Problem calculating tangent space

I am currently writing a 3D rendering engine for educational purposes. In general everything is working except that I am chasing down a problem in my cube mesh / tangent calculations that I can't find....