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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 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
1 vote
1 answer
37 views

Detect intersections between an `AABB` and a `CollisionShape3D`

I thought this would be a simple matter of getting the mesh that defines the CollisionShape3D and checking if any of the triangles of the mesh intersect with the <...
beyarkay's user avatar
  • 127
1 vote
0 answers
79 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
3 votes
2 answers
536 views

Should I model with quads or with n-gons?

Model 1 — all 4-sided polygons Wireframe Gun Model 1 Model 2 — polygons have arbitrary number of sides/vertices Wireframe Gun Model 2
Paneer Handi's user avatar
0 votes
1 answer
35 views

Material going to oposite side in procedural mesh creation

Tried to instantiate this gameobject procedurally, material texture went to the other side: ...
JamesB's user avatar
  • 279
2 votes
1 answer
242 views

How to swap skinned meshes for a customizable character in Godot?

Using Godot 3.5.1, I need to make a system that switches armors/helmets/hair styles/weapons and so on. I've seen a single tutorial for how this is done in 3D games in Godot, and apparently it is not ...
Cei's user avatar
  • 863
1 vote
0 answers
30 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
0 votes
0 answers
68 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
20 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
132 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
32 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
1 vote
0 answers
77 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
0 votes
1 answer
143 views

How to create an octahedron for sphere subdivision?

I have vertices that generate the first out of two pyramids. However, I want to have the second pyramid facing downwards as to make an octahedron. What are the correct vertices to use, because I've ...
Chillzy's user avatar
  • 47
0 votes
1 answer
36 views

Mesh is displayed differently in Unity with some undesireable visual elements

I'm not sure what to make of this: this is what it looks like in unity scene view/game view This is, for example, the same upright triangle in microsoft's 3d object viewer: I have no clue what to ...
user1999728's user avatar
1 vote
1 answer
223 views

GridMap centers meshes of different heights in cell

I am trying to use the superb GridMap in Godot 4 beta 5. I have, so far, only 2 different types of meshes in my MeshLibrary. 1x1x1 cube 1x1 plane My intention is ...
Matthew Goulart's user avatar
0 votes
0 answers
45 views

Simple and easy workflow for High-poly to Low-poly?

I am unable to find some models in low-poly style that I want. Since I don't need to add detail, but rather remove the details, I wonder if I could use a simple workflow to reduce the polygon count ...
Kamoverflow's user avatar
1 vote
1 answer
181 views

How to handle overlapping meshes?

So I want to note that I am a beginner at game dev but an okay coder. I wish to make a game in which the character changes clothes. I have a character and a few clothing meshes that all have the exact ...
isa türk's user avatar
  • 111
0 votes
1 answer
99 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
1 vote
1 answer
356 views

Seamless random morphing hex tiles' vertices in Unity3D?

I have a hex based, fully flat tilemap the tiles' mesh currently isn't generated, but a static mesh file containing 6 vertices, UV mapping, etc. Then I saw this picture on Unity Answers: I'd like ...
Tudvari's user avatar
  • 711
0 votes
1 answer
89 views

Custom world map chunks not loading correctly

...
Jax's user avatar
  • 420
1 vote
0 answers
237 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
0 votes
1 answer
222 views

How to get height from a mesh

I have a terrain which is a mesh. Given the x and z coordinates in which a character is placed, I would like a function that ...
Luca Venturini's user avatar
0 votes
0 answers
328 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
1 answer
87 views

Converting mesh vertices to world coordinates for raycasting

My goal is to figure out if a point exists within a 3D polygon. To do this here is what I am doing: Load obj mesh ...
joethemow's user avatar
  • 101
0 votes
1 answer
156 views

Unreal 4: How to save generated UProceduralMeshComponent to level file in editor and load it at runtime?

I have UProceduralMeshComponent that I generate in editor from data entered by level designer. Now I need to save it to level file in editor to load it in runtime without generating new mesh again. Is ...
Robotex's user avatar
  • 251
1 vote
1 answer
4k views

What is the purpose of tangent and bitangent vertex attributes?

Every vertex of a 3D mesh has position and some optional values like texture coordinates, vertex color, and normal, but also tangent and bitangent vectors. While the purposes of texture coords, vertex ...
convert's user avatar
1 vote
0 answers
68 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
0 votes
1 answer
29 views

3D Asset Creation. "Joining" parts VS Hidden/Redundant Faces?

I am trying to create a Laser Cannon in 3D art program Maya. It is for use in a game made in Unreal Engine. I have this same 'problem' with many aspects of my 3D CG Art but this is just one simple ...
I_Keep_Trying's user avatar
0 votes
3 answers
536 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
25 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
2 answers
570 views

Should Game-Ready Assets Be Single Meshes or Multiple Meshes?

Say for example that someone is modeling a sword asset. A sword has many pieces -- the blade, guard, hilt, pommel, etc. -- so should this be modeled as a single mesh (or as multiple meshes which then ...
NJJ_002's user avatar
  • 19
0 votes
1 answer
254 views

Unreal Engine - Materials Import as Gray

I imported the .fbx files from here: https://www.cgtrader.com/3d-models/industrial/other/big-warehouse-pack into an Unreal Engine 4.27 project. All the meshes load in properly, but the materials are ...
Quantum Guy 123's user avatar
0 votes
1 answer
260 views

Switching out the mesh of a game object at runtime

I am trying to switch out the mesh of a game object. I have this script: ...
inorganik's user avatar
  • 141
2 votes
1 answer
149 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
1 vote
0 answers
45 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
0 votes
0 answers
571 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
0 votes
0 answers
586 views

How to weld nearby mesh collider vertices together to erase seams in Unity?

I'm using Unity 2020.3.2f1 and I have a very commonly seen problem. I have a Spherecollider which I am using for a physics game, and geometry that uses ...
Empty Set's user avatar
0 votes
1 answer
918 views

Unity Cutting a hole in mesh

I've set myself a stupid task, that I didn't solve couple years back, again. I've got few meshes with normals pointing inside. Caves. Like mostly circular rooms and tunnels that should connect them. ...
zORg Alex's user avatar
  • 129
0 votes
2 answers
138 views

how can I rotate a tetrahedron's vertices so that it's pointing straight up?

I am trying to render an Equilateral triangle in 3D, and I came across this answer: https://math.stackexchange.com/a/562895/15497 So based off of that, I made my vertex points: ...
patrick's user avatar
  • 209
0 votes
2 answers
283 views

How mesh transformation works under the hood

We can look at the most popular engines like Unity and Unreal engine (maybe Godot and other). As far as I understand (at least I would do this), we store the original mesh, and then for every change (...
0dminnimda's user avatar
0 votes
1 answer
27 views

Separating part of mesh facing upwards

I really hope you can help me fix this code: ...
Nakel's user avatar
  • 3
0 votes
1 answer
387 views

How to edit a Rigged 3D Model without Ruining the Rig?

I have some rigged 3D models that I want to use. They came as .fbx. and sometimes I want to make some minor edits such as merging/moving/removing some vertices or something of that nature. The Problem:...
danglingPointer's user avatar
1 vote
2 answers
122 views

Exported FBX to Monogame doesn't translate all meshes

I'm taking a crack at a minecraft clone in Monogame, and I am trying to get my model to render as it's shown in Blender 2.9.1. When I look at the model in Blender, it looks great. When displaying in ...
Bill Sambrone's user avatar
0 votes
2 answers
708 views

Best Practices for Texturing Large Objects

Kind of a 3D graphics newbie here. This is the biggest prop I've ever tried to texture, and I'm kind of stumped. How do you get a decent resolution on large meshes like this without exporting ...
ejkszymanski's user avatar
0 votes
1 answer
995 views

Creating Sphere Triangles from Vertices

I came across a way to create the vertices of a sphere, located here: https://gamedev.stackexchange.com/a/150293/62793 I converted this to the following C# example: ...
Krythic's user avatar
  • 790
0 votes
1 answer
219 views

Unity mesh only rendering one set of triangles

I've been using Unity3D to procedurally generate terrain with Perlin Noise and I've come across a problem where the mesh that I've constructed only renders one set of triangles. The following is my ...
Shrey Joshi's user avatar
0 votes
0 answers
91 views

Blender->Unity Import Animation Failing by Overlapping Mesh Objects

I'm new to both Unity and Blender. I created this penguin 3d model, rigged it up and animated it in Blender and all looked good. When I imported it into Unity, I noticed that this idle animation did ...
Lamar's user avatar
  • 101
1 vote
0 answers
31 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
0 votes
1 answer
181 views

Half of my tris are textured in streaks and blurs

I have written code to import meshes from OBJs and textures from BMPs. My texture coordinates seem to be getting messed up somehow, or some other issue is occuring, because I am getting these effects ...
sunsigil's user avatar
1 vote
1 answer
748 views

How to inflate and deflated an object?

I'm trying to find a way to make an object inflated/deflated in Unity, So I can change parameters via script and control a range of 0-100% inflation. I have seen that there is a way to get this exact ...
omer simchoni's user avatar

1
2 3 4 5
8