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
1answer
32 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: ...
0
votes
1answer
18 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 ...
0
votes
2answers
120 views

Objects Imported from Blender to Unreal have really zoomed Materials

I've been learning how to use Blender for UE4. I just started figuring out how to define which sides should have materials on them. In particular, I wanted this building to have different materials ...
1
vote
3answers
104 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 ...
4
votes
1answer
437 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 ...
1
vote
2answers
2k 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 ...
2
votes
1answer
446 views

Cutting a 3D mesh with a 2D shape

I have a 2D image that i want to use to cut into a 3D mesh while leaving it closed (basically cut straight through it, and close it by generating vertices in both places it cut, front and back, to ...
0
votes
0answers
9 views

Is there a way to find out what meshes are supposed to be combined in Assimp?

I'm working on my assimp loader. I know that it has a separate mesh per material. Before I used to simply combine all of them upon import. Now, I want to figure out which meshes are from multi-...
0
votes
1answer
86 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 ...
0
votes
2answers
782 views

Triangle mesh smoothing

I have a grid in terms of two arrays: points: contains 3D coordinates of points. triangles: contains 3 indices per line for ...
2
votes
1answer
346 views

Optimizing 3D tile-based geometry

For my game, I have a tool that lets me quickly create map geometry. You can see a (albeit early version) demo of the tool here. The main problem with the tool is that even a semi-large map can EASILY ...
2
votes
2answers
3k views

Finding the closest point on a concave mesh

One of my game systems requires that I find the closest point on a generalized mesh, which more often than not will be concave. This prevents me from just using Unity's built in ...
2
votes
1answer
41 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, ...
1
vote
1answer
206 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 ...
0
votes
1answer
60 views

Flat shaded triangles using the ModelBuilder?

I decided to give the ModelBuilder a try but I cannot get rid of the smoothing of my terrain. So what I tried: Create each triangle individually with there own ...
0
votes
2answers
48 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: ...
1
vote
1answer
432 views

Render order for 3D meshes

I want to highlight a certain item in an inventory. It is a 3D scene although it looks a bit 2D. That is confirmed. To do do that I have create a cube with a very small z scale (so that it looks like ...
0
votes
1answer
277 views

How to apply saturn's ring texture in Unreal Engine 4?

I'm working on a "solar system" model project. And while trying to apply saturn's ring texture which is this one : it ended up looking like this: I'm new to UE4 and this branch in general. So I ...
1
vote
0answers
11 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....
0
votes
0answers
20 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 ...
1
vote
2answers
3k views

Creating mesh at run-time

I've a set of voxel data and I want to create a mesh out of it at run-time. I've looked into MeshBuilder and MeshHelper but I ...
3
votes
2answers
3k views

3D meshes for WPF (XAML)?

I'm trying to make a WPF-3D game. WPF uses XAML. I'm trying to find free 3D assets from the internet. :-) What format of 3D models I should be looking for, direct XAML or 3D Studio format or what? I ...
0
votes
0answers
117 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 ...
0
votes
0answers
26 views

How can I detect and hide faces inside an object when combining two or more meshes?

I am trying to make a game where the player can make vehicles out of parts. To apply proper physics to the vehicles, like drag and buoyancy, I would like to get the outer hull of the various parts ...
-1
votes
1answer
55 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. ...
10
votes
2answers
1k views

How to save the Mesh from an Interactive Cloth at runtime in Unity?

At the start of a scene I have GameObject called 'sheet' positioned above a 'ball' GameObject. The sheet has an Interactive Cloth component on it and a Cloth Renderer. The Mesh for the Interactive ...
0
votes
2answers
127 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 (...
0
votes
1answer
21 views

Separating part of mesh facing upwards

I really hope you can help me fix this code: ...
1
vote
2answers
36 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 ...
0
votes
1answer
34 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:...
0
votes
2answers
165 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 ...
0
votes
1answer
98 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: ...
0
votes
1answer
14 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 ...
0
votes
2answers
3k views

Using an array of 3d points to construct point cloud or surface in OpenGL

I have an array of 3 dimensional point objects, I can manipulate the input into this array into any configuration I want, for example, it could be a vector of floating point numbers, a vector of ints, ...
0
votes
0answers
23 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 ...
1
vote
0answers
23 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 ...
0
votes
1answer
34 views

When importing a character to Unity, textures and meshes don't appear

I'm relatively new to Unity, and I'm left with doing this as my last step towards my task - importing my animated character to a game engine and program the movements. The problems that I have ...
6
votes
2answers
13k views

Performance of manipulating a mesh in realtime

Does Unity allow streaming mesh data that can be continuously changed? I have a level that is dynamically changing based on some parameters. The number of triangles stays the same, they just change ...
0
votes
1answer
153 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 ...
1
vote
0answers
38 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 ...
1
vote
2answers
197 views

OpenGL only rendering 4 tris of cube?

I'm on Win10, OpenGL 4.5 I wrote some code that takes mesh data from an OBJ file and puts it into a vertex buffer. I used this code to import a cube OBJ and render it in OpenGL. For some reason, ...
1
vote
1answer
177 views

Model gets distorted when rotating the camera

I'm currently developing my own 3d graphics engine and I'm having a hard time figuring out why my 3D models gets distorted when rotating the camera around. This is my projection matrix. I'm following ...
4
votes
1answer
163 views

Procedural mesh comes out black in any shader

I wrote a script that Creates a mesh procedurally ...
1
vote
1answer
42 views

Is there a way to normalize for both ways in Unity?

I have a building, built in blender, that has been imported to Unity. And I flipped every necessary piece and calculated the normals inside in blender. However, since I made the rooms inside the ...
0
votes
2answers
48 views

Mesh shaded as single pixel

I am trying to procedurally generate planets in Unity. The actual planet is already done, but now I am trying to add clouds. For this I created a PBR-Graph shader that draws the clouds based on some ...
2
votes
2answers
2k views

Texturing different block types on an optimized voxel mesh

I have a cubic world (like Minecraft) where I'm generating chunks. In those chunks, only visible vertices and faces are generated. Currently, it means that if I have a 2x2x1 chunk, it will generate 8 ...
1
vote
1answer
354 views

How do you combine multiple meshes into one in Blender?

I need to combine multiple meshes into one in Blender 2.8 (Just make them into a single mesh that looks like all of them in their normal positions). I am doing this mostly for performance improvement ...
2
votes
2answers
2k views

Software rendering 3d triangles in the proper order

I'm implementing a basic 3d rendering engine in software (for education purposes, please don't mention to use an API). When I project a triangle from 3d to 2d coordinates, I draw the triangle. However,...
0
votes
1answer
45 views

Material looks different on programatically generated mesh compared to resized default cube mesh

I've written some code that generates a mesh from some 2D nodes, generating both triangles and vertices. It seems to have worked pretty well, since I get a solid mesh without any weird rendering ...
-1
votes
2answers
75 views

How to load 3D modells when they are necessary

I'm working on a 3D game engine, currently I load ALL of my 3D modells into the memory when my game starts, but obviusly there will be hundreds of 3D modells, so somehow I should unload them when they ...

1
2 3 4 5
8