People who code: we want your input. Take the 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.

Filter by
Sorted by
Tagged with
0
votes
1answer
584 views

Changing the 3D model of the Unity ARkit face tracking demo

I was able to get the Unity ARkit face tracking demo working with an iPhone X to animate a face model in realtime: I then tried to get it to work with my own 3D model, and imported the FBX file with ...
0
votes
0answers
139 views

Unity 3D Model imported with offset Mesh

So I've edited up an image to help show the problem, since showing the game itself is not an option: When I imported my model, the model appears normally, however when I actually put it into the ...
1
vote
2answers
280 views

Mesh made in Blender is correct in Unity3D as a rendered mesh, but “empty” as a collider?

I created a simple stair "block" in Blender, and it's rendered correctly, but when I tick "Generate Colliders" and try to use it in a Mesh Collider, there is nothing. (Ps.: I need the real mesh as a ...
1
vote
1answer
59 views

How to know if two surface are in the same direction?

In my code I creat a Mesh that are composed by multiple tile. those tile can have edge that are shared, and I need to know if the normal of the tile that have shared edge have the same direction, ...
5
votes
2answers
1k views

How to make procedurally generated terrain look realistic

I generated a terrain using a technique from this blog post, everything worked well and I got the wanted result. This is what my generated island looks like: As you can see the terrain have a polygon ...
1
vote
1answer
345 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
61 views

How to remove an element from the scene while keeping it in array?

I combined cube meshes to make a big one. I stored the info of every cube in an array within a list of chunk. Now i want to delete the cubes in the scene to only keep the combined result, but without ...
2
votes
1answer
500 views

On changing a voxel, don't recombine everything again, only modify the changed parts?

I'm working on a voxel based game, where destructible structures are made out of cubes. (Some of them has 3000 voxels) I solved the framerate issues by combining them, but after making it able to ...
0
votes
1answer
50 views

Does collision detection data structures require a manifold mesh

Is it possible to apply spatial split techniques (oct-trees bsp-trees, etc) when meshes are not necessary manifolds? The mesh in question represents the "map". This means that it is static so spatial ...
0
votes
1answer
37 views

Are the sides of a beveled rectangular prism considered “ngons”, to be avoided?

Many tutorials I have watched say that everything should be made in 'quads' (ie. no triangles, and no ngons). I think this is mainly due to getting into this habit so that if I make a complex model, ...
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 ...
3
votes
1answer
2k views

How to UV map a procedural cylinder mesh? (Unity)

I have a script that generates a procedural cylinder. Each side is a quad that consists of two triangles. The two triangles share vertexes, so, a side with two triangles is defined by 4 points. The ...
0
votes
1answer
38 views

Comparing the scale and rotation of (otherwise) identical meshes from vertex data

I am designing a tool that can read an obj file with duplicate meshes in, and export the transformation, scaling and rotation of each duplicate relative to the original model. I can establish the ...
0
votes
1answer
3k views

How to change the mesh of the character in UE4?

I made a Bellsprout mesh in Blender, exported it as an FBX file, and imported it into UE4. I can insert it in the stage without problem, but I would like to use this Bellsprout mesh to replace the ...
0
votes
0answers
91 views

Hi,Dynamically modifying meshes in Unity3D

I'm working in Unity3D and I want to remove sections from a mesh at runtime similar to the idea of bombs removing sections of walls. In 3D modelling software this is a pretty standard Boolean ...
0
votes
1answer
480 views

LineRenderer on Mesh surface

Goal: Render distance lines between two points on the surface of a mesh-based primitive (i.e. sphere, cube, etc). Current Solution: Iteratively traverse distance line between two end points and "...
0
votes
0answers
59 views

Unity: how to mimic the lighting of a mesh as seen in the editor view

I have a camera which shows a "bird's eye view" of a procedurally generated mesh like so: Currently in the editor view (right), the terrain looks exactly as I would like it to. However, in game (left)...
3
votes
1answer
563 views

How to make low poly ground look better

I'm working in Unity and have created some low poly meshes using blender. Currently, the meshes look good, but the ground seems very lacking. I am not sure how to make it feel natural or even look ...
0
votes
1answer
342 views

Sometimes can't use the rendered mesh as a collider in Unity?

Most of the times I can use the Mesh Filter's mesh as collider in Mesh Collider But sometimes there is just nothing. No ...
1
vote
1answer
7k views

How do I generate a sphere mesh in Unity?

I'm making a game and I need a way to generate a sphere mesh in Unity for whatever reason. It needs to be generated by code and not be a pre-made sphere or a sphere primitive as I need to edit in ...
0
votes
0answers
672 views

Algorithmically fracture a mesh in Unity3D?

I want to create a plugin which shatters/fractures meshes, so I can make every object destructible if I want to. Like in Unreal's built-in feature. My quick approach to this problem is randomly ...
1
vote
1answer
29 views

How to make my model's top section rotate without rotating the entire model?

I'm trying to learn a bit of Maya modeling so that I can be self sufficient when it comes to creating super basic assets for my game development. I'm trying to understand skeletal rigging and how it ...
1
vote
0answers
270 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 ...
0
votes
1answer
1k views

Why is my spherecast returning an incorrect hit on mesh collider?

I have a mesh collider that is largely a flat plane facing up. Any SphereCast against that surface should return a normal of Vector3(0, 1, 0), but that isn't always happening. When near an edge on the ...
0
votes
0answers
203 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 ...
1
vote
0answers
244 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 ...
0
votes
0answers
43 views

Efficiently drawing a batch of meshes?

I was playing around with some isometric ideas, I want to create fairly large maps with a couple of Z levels, much like the older X-com games. I figured I am probably way better off to draw the quads ...
0
votes
1answer
82 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
1answer
72 views

Architecture for defining large numbers of meshes at runtime

In my project, there are large numbers (think 4-digit numbers) of 3D meshes that are created or modified one by one, or in groups, at runtime (based upon user interaction). These meshes have the ...
0
votes
1answer
759 views

Emit particles from only some parts of a mesh

I have a 3D mesh with 3 sub meshes in it, for 3 different materials. I would like particles to spawn from the mesh, but only from location where one of the material is assigned. How can I make this ...
2
votes
1answer
107 views

Working in large play-area maps, what are the performance and practical differences between Unreal Terrain and a subdivided OBJ mesh terrain?

I've managed to reliably use SRTM Geotiff Raster Data with some modifications to create decent terrains in unreal, but there is a small problem with how I go about city-building when I'm not using the ...
0
votes
1answer
2k views

Getting the winding order of a mesh

I'm doing some topological operations on my mesh and I need to know the winding order for my mesh. Since I will be importing models from different sources I will need to know whether the winding ...
0
votes
1answer
105 views

Why is there no standard 3d file format that saves models as (collections of) primitives?

I have been looking around for a file format that saves models as a collection of primitives (Boxes, Spheres, Cones, Cylinders, etc.). After some research, I came to the conclusion that pretty much ...
1
vote
2answers
1k views

How can I convert my list of vertices and indices to a list of triangles?

I have a full 3D collision mesh that is represented by a list of vertices and another list of indices. I need to convert the list of vertices and the list of indices into a set of triangles. First I ...
0
votes
1answer
70 views

Import 3D model into Unreal Engine 4

(Sorry if I misunderstood the context of what I want, I'm currently noob in game development). I want to retrieve a 3D model from let's say Saints Row 3, and import it to Unreal Engine 4, is it ...
0
votes
2answers
154 views

Does it make sense to use voxel editors only for meshing?

I am a hobbyist game developer. If there is something that I really don't like is 3D modeling, in particular all the work that needs to be put in the "pipeline" for the creation of models, in ...
0
votes
1answer
141 views

Issues with Marching Cubes

so I'm trying to write a marching cubes class for my game, at the moment I have it close (I think). Right now I'm focusing on vertexes and indices. So I'm getting triangles to appear where I want them ...
1
vote
3answers
102 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 ...
0
votes
1answer
469 views

Creating single texture for all materials in substance painter with ID map. ID map doesn't bake properly

I am trying to create single texture for multiple materials in substance painter according to this tutorial. https://www.youtube.com/watch?v=HMP2xpGHimY I have two models made in Blender. One with ...
0
votes
1answer
275 views

How can I produce 3D environments for VR from HDRI images?

I have a question regarding to the HDRI maps as many some of you have a bit of experience in this field especially for Oculus Rift platform! I've been trying to achieve a 3D landscape from this HDRI ...
2
votes
1answer
211 views

Playing Tetris on non-linear surfaces

I am considering designing a Tetris game where instead of a traditional flat game board, the game will transform the board into different kinds of surfaces. I think I lack the appropriate mathematical ...
0
votes
1answer
102 views

Vertices displaced when smoothing in Maya

The issue below appears when smoothing in maya. I would prefer to solve the problem normally as opposed to import/export obj. Below the image is a .ma file you can download yourself. File: https://...
2
votes
2answers
3k views

Finding the closest point on a concave mesh (Unity C#)

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 ClosestPoint function, ...
1
vote
1answer
507 views

Issue With setting Mesh.triangles in Unity Script

I have been having an issue in making floating islands. For this i have created an array filled with the position data for both the top and bottom half of the island. Everything works fine when i only ...
4
votes
0answers
172 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 ...
2
votes
1answer
901 views

Draw edges of a complex 3D shape

I have a 3D complex shape composed of simpler primitive geometric shapes. The geometric shapes are made of triangles. I already know how to draw the edges of a single object (geometric shapes). In ...
0
votes
1answer
204 views

Monogame - Problem with lighting 3d mesh

I am having an issue with lighting my 3d icosphere. For some reason,the lighting appears to be coming from the correct direction (+X, -Y, -Z) but it also appears to be coming from (-X,+Y,+Z) and I ...
0
votes
1answer
620 views

Ogre3d 2.1 - How to apply texture on mesh?

I have searched forums and tried to read the Ogre 2.1 samples, but I still have no clue how to apply texture on mesh :( Here what I've done so far. I use Easy Ogre Exporter to export the scene (...
0
votes
1answer
273 views

Unity - occlude a transparent part of a generated mesh with a non transparent part

I am making a procedurally generated voxel world made of blocks. Some of the blocks have non cubic shapes (ramps), and some of the blocks are transparent (water). All the blocks are part of the same ...
0
votes
0answers
179 views

Level editing using a 2D map for a 3D game

We're trying to make a level editor for a 3D game that involves walking around outdoor environments. In many ways a heightmap satisfies the game's needs, but it also falls short in several ways, so we'...

1
2
3 4 5
8