Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [3d-meshes]

Geometric representations of objects in 3 dimensions. 3D-meshes are made up of a collection of triangles or other polygons, forming volumes and surfaces. They are commonly used for visual representations on computer screens.

70 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6 votes
0 answers
731 views

Procedurally generated paths with intersections

The Problem I've been attempting to create some procedurally generated paths for a while now, but I've reached a problem when it comes to generating the intersections of the paths. The paths are ...
Daniel Holst's user avatar
4 votes
0 answers
177 views

Understanding unknown mesh data structure

I have a large number of old mesh files in a custom, undocumented binary format. I have managed to parse almost everything but am left with one group of structures, described below, that I don't ...
user avatar
4 votes
0 answers
276 views

How do I find the face of an object?

I'm working on a build mode but the thing of it is the player is able to deform meshes. Part of my build system includes having "snap" points thus I need to be able to find the face and recenter the ...
Sie's user avatar
  • 319
4 votes
0 answers
960 views

How to convert an octree to a polygon mesh?

So if I have dynamic voxel terrain data stored in an octree representation what would be the best way to go about converting the octree to a polygon mesh which I can render with OpenGL? A lot of ...
Edward J Brown's user avatar
3 votes
0 answers
772 views

Keeping a mesh entirely at the GPU and changing its vertices there with a ComputeShader (Unity5)

In a Unity game I have an object whose mesh is made of around 10k vertices and I have to make changes to these vertices (position, color, etc) almost every frame. Considering that such object is ...
AndraSol's user avatar
  • 177
2 votes
1 answer
174 views

Unity intersection of mesh renderers on Android

Iโ€™m currently developing a game with Unity and ran into a problem while building for Android. The player and obstacles are mesh renderers (for example cubes & boxes). On iOS and the Unity editor, ...
azulbocu's user avatar
2 votes
0 answers
843 views

Triangulating a 3D mesh from a set of data points

I'm trying to implement the Bowyer-Watson point insertion version of the Delaunay triangulation algorithm, but in 3D. I previously implemented the 2D version without problems, but when transitioning ...
Yattabyte's user avatar
  • 1,023
2 votes
0 answers
443 views

Swap limbs of a skinned mesh

If I have a model, such as a robot, I am able to swap its limb meshes out and replace them with other robot limb meshes by merely removing the limb mesh from the skeleton and attaching the new one to ...
EvilWeebl's user avatar
  • 153
2 votes
0 answers
321 views

Vertex Normals, Loading Mesh Data

My test FBX mesh is a cube. From what I surmise, it seems that the cube is on the extreme end of this issue, but I believe that the same issue would be able to occur in any mesh: Each vertex has 3 ...
Ramon Johannessen's user avatar
2 votes
1 answer
328 views

Rendering a distant star field in Unity using a separate camera for near stars

I'm currently working on a hobby project which is a universe simulator (exclusive to stars) built in unity3D. In order to deal with the raw scale of the universe I'm trying to implement two co-...
MarsYeti's user avatar
  • 135
1 vote
0 answers
283 views

Tilemap vs terrain vs optimized mesh for top-down game

I'm experimenting with a top down vertical scroller in Unity, with a perspective camera, NOT orthogonal. (It's unclear how 'pixelated'/pixel art I will want the graphics but that's another question) ...
James Carlyle-Clarke's user avatar
1 vote
0 answers
46 views

How to cut a desired shape out with desired depth of a mesh on VR?

I am creating my first Unity project which is a ๐•๐‘ ๐ฌ๐ข๐ฆ๐ฎ๐ฅ๐š๐ญ๐ข๐จ๐ง, and I am struggling with a particular issue. I need to create ๐š ๐œ๐จ๐ฆ๐ฉ๐ฅ๐ข๐œ๐š๐ญ๐ž๐ ๐ฆ๐ž๐ฌ๐ก ๐œ๐ฎ๐ญ ๐Ÿ๐ž๐š๐ญ๐ฎ๐ซ๐ž that ...
Saif Eddine Layouni's user avatar
1 vote
0 answers
86 views

How to render a block being carved by a milling machine?

I'm making a simulation of a milling machine - something a bit like this diagram: At the top there is a cylinder mesh representing the milling tool. Below it is a cube mesh representing the material ...
Zhukov Artem's user avatar
1 vote
0 answers
396 views

Raycasting to determine point inside or outside mesh, edge case?

I'm trying to determine if a point is inside or outside a (triangle) mesh. The best way I found was to cast a ray from the point and count how many triangles intersect. (Odd or even). I used Mรถllerโ€“...
Dolfje's user avatar
  • 11
1 vote
0 answers
71 views

Fast way to test whether a point is over a 3D mesh

I have a map with islands, and I need to detect whether the player is on an island or not. The player can be flying far above the island, so a fixed-distance raycast is not sufficient, and firing long ...
Robotex's user avatar
  • 251
1 vote
0 answers
49 views

Pink Objects/Sub-Meshes (NOT MATERIALS)

Using URP. Any object I import into unity from blender (fbx), the sub-mesh that comes with it are pink. All the materials are fine, I can put the object in my scene with a material and it looks normal....
Bean's user avatar
  • 11
1 vote
0 answers
34 views

Generating a mesh from a set of generatively produced co-ordinates

Using Unity I've been producing sculptural forms that look like this. It's made of patterns of cubes that twist around each other using a flocking algorithm. I'm trying to get it into a 3D printable ...
Tom's user avatar
  • 190
1 vote
0 answers
106 views

Update to the ROAM Large Scale Mesh LOD Method

I'm looking to create very large planetary terrain meshes. The most efficient and researched methodology I've seen so far was the ROAM 2.0 Method. However, this was written and published in 2005. Does ...
Jee's user avatar
  • 111
1 vote
0 answers
38 views

How to make Procedual Context Sensitive Mesh Generation during Runtime

In the game that i am trying to make i essentially generate an infinitely generating maze that has no dead ends and each corridor is of the same width. i have successfully managed to create this ...
FlamesWillBurst's user avatar
1 vote
2 answers
6k views

How can I edit collisions in Unreal Engine?

I made a concave house model. When I import it to Unreal Engine it generates a simple box collision that covers the full mesh. I need a collision that only covers the walls. How can I generate one or ...
Tomdzsó's user avatar
1 vote
0 answers
576 views

How can I blend meshes together where they intersect?

In a lot of my scenes I have things like this: and this: All the places I've circled are places where a prefab overlaps with another one or with the terrain. Is there any way to make those lines ...
Ryan's user avatar
  • 153
1 vote
0 answers
440 views

How can I get visually accurate collision normals with sphere collisions?

I'm solving simple 3D sphere collisions by checking the sphere for overlap with a mesh, finding the nearest point on that mesh's surface to the center of the sphere, and then resolving the collision ...
IanLarson's user avatar
  • 771
1 vote
0 answers
392 views

Unity3D Mapping uv coords from quads with unique vertices directly to texture map

this is my first post in this stack exchange! I was wondering how I would go about mapping the texture of my tiles for my tilemap directly to the texture atlas. I generate the mesh with unique ...
Pim Schwippert's user avatar
1 vote
1 answer
131 views

What are perimeter and aspect ratio, in the context of 3D mesh approximate convex decomposition?

I'm trying to understand the logic behind Mamou and Ghorbel's algorithm in their paper A Simple And Efficient Approach For 3D Mesh Approximate Convex Decomposition. I cannot understand what is the ...
John Katsantas's user avatar
1 vote
3 answers
131 views

How to find and manipulate a line on a mesh?

In Unity I currently have a script that allows me to "grab" a vertex, move it, and then update the mesh accordingly. How would I grab a line (which is basically grabbing two vertices I think) and move ...
ElectricBoogaloo Pt. 2's user avatar
1 vote
0 answers
112 views

How to procedurally create an extruded cube mesh's indicies?

I'm working on a tool that allows the user to create rails(basically an extruded cube) by placing 3d points where the vertices of rail would be. The picture below shows what I'm talking about. The ...
Grigori's user avatar
  • 51
1 vote
0 answers
465 views

How to fix a crowbar mesh deformation problem

I am having a problem exporting my model to Garry's Mod. Every time i compile the model in crowbar it comes out deformed like this when the model is really suppose to look like this how do I fix ...
A guest's user avatar
  • 111
1 vote
0 answers
84 views

Most efficient way to modify character mesh at run time

What is the most efficient way in unity to alter the mesh of a character in this scenario: When the player pick up an item: -A part of the mesh should be replaced, for example, the left arm is ...
Westside Tony's user avatar
1 vote
0 answers
581 views

Generating 3D models / meshes

In LibGDX how can I construct a 3D terrain model that has Position Normal Color The model does not require a texture, it is colored on a per vertex basis. I've looked into LibGDX's ModelBuilder and ...
Charanor's user avatar
  • 7,870
1 vote
0 answers
61 views

Swapping a mesh from MCS female to a custom mesh

I'm trying to swap a mesh from the MCS female CBJacket with a custom mesh that's supposed to be a lab coat. But it keeps turning in to a ball of spiky mesh! I made sure the avatar and armature for the ...
Aedan Graves's user avatar
1 vote
0 answers
832 views

Libgdx - Building dynamic 3d models with Modelbuilder/MeshPartBuilder while rendering

Context: I'm building a mobile game targeted for android with libgdx. It's an endless highscore based game. The environment/terrain is build dynamically. It's kind of a maze/wall/block terrain. I'm ...
user91018's user avatar
1 vote
0 answers
781 views

Map video texture to a half sphere in Unity

I'm new to unity3D. and am trying to play a 360-degree video. But instead of mapping the whole 360-degree (equirectangular) video to the whole sphere, I need to map the half-video to a half-sphere ...
Mary's user avatar
  • 239
1 vote
0 answers
47 views

How Would You Animate a 3d Characters Face (With Textures)

So I'd like to do a low poly style of modeling, and one of the corners I'd like to cut is on head geometry. Specifically, making the details of the face a texture (like a Mii or a character in Animal ...
Magic Marbles's user avatar
1 vote
0 answers
157 views

Exact collision detection for high-detail deformable triangular meshes

What robust methods or approaches exist for exact collision detection involving high-detail, deformable geometry? The kind of mesh I am describing is a surface that is specified as a triangulated ...
bw_0x7c6's user avatar
1 vote
0 answers
120 views

Broken UVs for Maya/Mudbox model

I have tried using the automatic mapping in Mudbox and Maya, neither worked sufficiently, I was still experiencing polygon overlap. I tried mapping separate limbs but I came to the same problem, this ...
user3011105's user avatar
1 vote
0 answers
371 views

How to extract the texture from an image onto a mesh?

(preamble: I think this fits either here or SO with computer vision tag, I chose gamedev because I think you guys are probably really good with textures and meshes, but tell me if my decision was ...
Ela782's user avatar
  • 131
0 votes
0 answers
15 views

Select polygon (and create submesh) by color of texture?

For a procedural unity mesh operation: What is a performant way to select polygon (and create submesh) by color of texture? Raycast hit a point on the mesh, then paint bucket search for the same ...
ina's user avatar
  • 294
0 votes
1 answer
35 views

How do I go about Mesh Simplifcation in generating multiple LODs?

I have been recently looking for any information on creating multiple LODs (level of detail) for an inputted mesh. However, there does not appear a lot of articles or pseudo code on how to go about ...
Noah Williams's user avatar
0 votes
0 answers
51 views

How to render two different meshlets at two different LODs in a Mesh Shader?

I would like to know how to render two different meshlet at two different LOD values. So, for example, I render the meshletA at LOD1 and I render the mesheletB at LOD2. Please let me know if this is ...
Giuseppe's user avatar
0 votes
1 answer
42 views

tubular mesh around any y=f(x). issue calculating normals

I used this to help create a 3d cylindrical mesh that wraps around any y = f(x). Each vertex is calculated by a point P: ...
Emre Tekmen's user avatar
0 votes
0 answers
30 views

In Unity: how can I get the precise diameter of the cross section of an imported mesh?

For a simulation, I imported a mesh structure into my Unity project. This mesh consists of triangles and cannot easily be modelled by spheres/ cubes etc. I am wondering, if there is a way to get the ...
the2second's user avatar
0 votes
0 answers
85 views

Group voxels into object?

I'm working on Voxel editing software, and I need to have the ability to group voxels into objects. As for simple editing, I'm using the following data structure: Chunk - represents a fixed 3d grid ...
Sergey Sharpov's user avatar
0 votes
1 answer
26 views

Issue with rotating tail for 3d model in Maya

I've been stuck on this issue for a long time and it's been driving me crazy: I have this model of Jabba (see image 1) which I bought off of CG Trader several years back. I want the character to look ...
Manx30's user avatar
  • 1
0 votes
1 answer
265 views

Calculating normals for a simplified terrain mesh

I am trying to simplify a mesh I am generating from a heightmap by creating larger triangles for areas of equal elevation, like this: This however gives me issues with my normals: I am calculating ...
Henningsson's user avatar
0 votes
0 answers
35 views

How to get a scene information from Unread Engine 4?

I learn game engine development and I was interested to work not only with box and sphere meshes also with a large model with difference meshes and textures in this model. I bought a 3d model. The ...
Andrey Klimenko's user avatar
0 votes
1 answer
169 views

GameObject mesh.vertices array is empty

I've an Icosphere GameObject: I want to iterate over each of the faces and change the material based on their distance from the center, however I don't seem to be able to retrieve the list of ...
TomSelleck's user avatar
0 votes
0 answers
431 views

Problem Cloning Skinned Mesh Renderers Mesh via script

I was trying to clone a rigged mesh via script and change its orientation as the characters face wasn't facing at forward direction. So I created a Editor Script for that: ...
Bipin467's user avatar
0 votes
3 answers
1k views

Collision detection between transformed meshes (not primitives)

I know questions related to collision detection have been asked multiple times, but I find all of them like this and this depend on the assumption that I have some sort of measurement of the object ...
Extorc Productions's user avatar
0 votes
0 answers
26 views

Need an approach for mounting turrets

I'm working on a game with the ability to customize the type of turrets on your starship. My question is how would I go about positioning the turret mesh at the hardpoint locations. Do I need to ...
Hayden Morris's user avatar
0 votes
0 answers
681 views

How to ensure Unity does not rearrange the sub-meshes of a mesh on import?

having a bit of a head scratcher problem here. I have my artist's making multiple unique meshes in Maya that contain 3 materials. Each material is assigned to a sub-mesh in a specific order. This ...
BakaBlue's user avatar