Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
1answer
80 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
34 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
29 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
28 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
27 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
9 views

Mesh from User-Defined Vertices

So I have an user-defined array of random vertices in 3D space (Vector3). The points don't necessarily need to be collinear or coplanar to each other. The only ...
0
votes
0answers
49 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)...
0
votes
0answers
18 views

Why my mesh is flat and change position?

Befor Star: (It's basic cube) After Start: (It's must be Eye) Code: IngredientAsset: ...
3
votes
1answer
171 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
36 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 ...
0
votes
0answers
20 views

Unity static meshes and performance?

Ok, I need help understanding this as Im experiencing severe fps drops with different variations of applying materials to meshes. What is the advance of making a mesh static, regarding how it affects ...
0
votes
1answer
89 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
150 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 ...
0
votes
1answer
25 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
97 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
294 views

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

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
90 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
96 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
25 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
30 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
34 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
77 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
68 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
394 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
88 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 ...
0
votes
2answers
259 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
0answers
18 views

Can I slice an object with a plane object in ZBrush?

I have a complex model that has thickness to it and I am trying to slice it into two parts, but the cuts are very specific so I need to use a subdivided plane that has some undulations in it. Is there ...
0
votes
0answers
61 views

Problem with DirectX Rendering Terrain Mesh

I am learning how to render 3D using DirectX (using SharpDX for C#). I am generating a terrain mesh by utilizing the vertices and connectivity in a TIN (Triangulated irregular network). For the most ...
0
votes
1answer
39 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
93 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
91 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 ...
0
votes
3answers
79 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
0answers
183 views

Unity Mesh Optimization

I am making a Minecraft style game and I am looking for a good way to hide block faces that are underground or blocked. Thank you for any suggestions. Below is my code. ...
0
votes
1answer
150 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
102 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 ...
1
vote
1answer
185 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
29 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://...
0
votes
1answer
731 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
346 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 ...
0
votes
0answers
28 views

Chunk not building completely

I'm trying to build some voxel terrain however I'm having some issues with some of the faces of the mesh not loading properly. Here's an image below : I think it has to do with either how I'm getting ...
3
votes
0answers
162 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
373 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
121 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
296 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
127 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
115 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'...
2
votes
0answers
104 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
1answer
34 views

3D scanners that captures movement?

Could there be a 3D scanner that captures movement? One that scans, let us say, 30 times per second (for 30 fps) to make an animated 3D scene? Is this possible? Why? Suppose we want to scan a person ...
1
vote
0answers
44 views

How collision boxes are assigned to object in 3D games? [closed]

Level designers make levels and then programmers import the models and use it but How and when collision boxes are generated for objects and models in the 3D map placed at random locations? Thanks.
1
vote
0answers
65 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 ...