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
4
votes
1answer
369 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
35 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
47 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
89 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 ...
1
vote
1answer
3k views

How do you compute the tangent space vectors with normals given in the mesh?

Suppose you are given a mesh with normals for each vertex. These normals might not correspond to the face normals, as the artist could have tweaked them. In this case, how would you go about computing ...
2
votes
0answers
573 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 ...
1
vote
0answers
211 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 ...
9
votes
3answers
725 views

How to have multiple GameObjects sharing pieces of same material?

My question is: There's any way of having GameObjects sharing pieces of same Material, not a clone, but an extension of one? For example, in these case nine game objects sharing just the same material ...
1
vote
1answer
63 views

In Maya- how can I merge mulitple primitive cubes together into one parent item? (And is this actually needed for using in unity etc)?

Im trying to make some 3d models in Maya and then put them into Unity as characters which I can give rigidbody to etc. (Im new to Unity and 3d modelling software, but i have a small amount of ...
2
votes
1answer
983 views

Applying a face image to a mesh head

I'm playing around with 3D graphics programming and it's only a few weeks I'm into OpenGL and able to render meshes with textures with few basic transformations. I've a hobby project where I want to ...
1
vote
2answers
1k views

Should the level design be in Unity scenes (GameObjects) or in 3D programs (mesh) [closed]

I am wondering what is the most common and best way to design a game in Unity from the point of view of best practice and performance and the most easily maintainable? Is it really performant to ...
0
votes
1answer
131 views

D3D9CAPS gives unusual maximum shader instructions value

I'm trying to implement a vertex and pixel shader on a piece of hardware we're developing a game for which uses the DirectX 9.0c runtime. The shaders are for boned mesh animation and is a bit more ...
1
vote
1answer
262 views

How to create OpenGL models like the ones created by blender's wireframe modifier?

How could I create programatically wireframe models like this out of a triangular mesh? What'd be the algorithm behind? (Source) Creating an additional mesh using lines instead triangles or just ...
1
vote
2answers
56 views

What methods are there to discard points on one side of a surface but not the other?

Goal: Given a surface mesh (terrain), discard all points above a given elevation relative to the terrain. The terrain can change quite often due to tiling and LODs, so the point culling will need to ...
0
votes
2answers
745 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 ...
1
vote
3answers
46 views

Which approach to use when simulating a button press in a cockpit?

As the picture shows, I wish to press a button when I am flying the plane. I'm writing the program in DirectX 12 and C++, without a game engine. I am new to this, so I don't know which approach to use ...
1
vote
1answer
134 views

When to use LOD and when not to?

I have a simple question: are there any cases where game LOD models don't need to be created? Obviously you need LODs for landscapes, large props, characters, vehicles etc. But what about small indoor ...
1
vote
1answer
2k views

how to dent & deform damaged objects in unreal engine?

I am trying to simulate damages in cars using unreal engine when a body collides with it like it is done in this video - https://vimeo.com/162729920 I am trying to do it in the first person shooter ...
1
vote
0answers
76 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 ...
0
votes
1answer
43 views

Project vertex on a line

V,A and B are 3 points in 3D space and We have d0 (distance of V from (AB)line). I want to calculate question mark point in the image above!
-1
votes
1answer
84 views

Can I place 3D objects on a 2D sprite?

I am creating a circular island for my game. I will be doing it in Photoshop, and importing it to Unity as a .PNG. Will I be able to place grids and buildings on top of it, like in RTS games, or must ...
2
votes
2answers
2k views

How to calculate verticle normals of triangular mesh

I'm playing with some terrain generation. I have a triangular mesh that looks OK - that is if I hardcode verticles normals (on this image every single verticle has normal of (0,-1,0) The situation ...
0
votes
1answer
631 views

Load destructible mesh at runtime

Using the tutorial: Components and Collision as a guide, to dynamically load a SphereShape the following is done: ...
6
votes
2answers
12k 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 ...
1
vote
0answers
447 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 ...
0
votes
1answer
82 views

Sticking things to Walls in 3D

I'm trying to leave the second dimension and finally make a 3d game, but I'm having a hard time coming up with a way to implement a certain concept. I am trying to make a flat object which would "...
0
votes
0answers
82 views

Unity Adding Box Colliders Changes Mesh dynamics

I have a bi-pedal mesh in unity. I'm adding box colliders to each bone in a mesh so the user is able to individually select each bone. However, when I add the colliders it changes the dynamics of the ...
0
votes
1answer
747 views

Determine “bounding box size” (not scale) of model in MonoGame

I'm working on integrating some the 3D models I import into my physics system by trying to take their "size" and use that as the side for objects within my physics system. When I say size, I'm ...
1
vote
2answers
150 views

How should I manage meshes for the streets of a 3D city map in Unity?

I was recreating a small city in Unity3D and was going to place streets and pathways according to a sketch. I'm building for Android and the city is quite small; I'm planning to have the entire road ...
1
vote
0answers
58 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 ...
4
votes
2answers
7k views

Handmade Terrain vs. Terrain Engine in Unity?

I'm planning a game right now, to be made in Unity, and I'm trying to decide how I'll approach the basic level construction. Essentially, my game takes place on an island in an infinite ocean, very ...
1
vote
0answers
692 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 ...
1
vote
2answers
95 views

Simulate dirt spread (Normal distribution?)

-This question is technically more math related, but it has to do with a simulation so I am here first. I can post this in the math SE instead if needed. I am in the process of trying out some mesh ...
0
votes
1answer
2k views

How to create an animation from several .obj files in maya?

I have several .obj files. I plan to create an animation from these .obj file. Every mesh in one .obj file is correspond to one frame. And every frame only show one .obj file (meshes in others .obj ...
0
votes
1answer
1k views

Why does my mesh disappear from certain angles?

I'm trying to construct a hexagonal prism from vertices for my turn-based strategy game. This is my first time working with meshes and I have been following this tutorial. The problem I am having is ...
4
votes
0answers
178 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 ...
10
votes
1answer
1k views

Draw the middle half of a sphere programmatically

I'm trying to create the middle half of a sphere. Basically to create a sphere, stack numbers and slice numbers are given, and there are two variables phi (for ...
3
votes
2answers
13k views

How to create Half hemisphere 3D model

I already have an hemisphere.obj 3D model. But I'm trying to build a half-hemisphere (quarter sphere) model. How can I do that? What is the easiest way to do that? ...
1
vote
0answers
622 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 ...
3
votes
0answers
653 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 ...
2
votes
1answer
233 views

Point welding on generated terrain

I am converting two 2D images (A Voronoi graph and a Diamond Square noise map) into a 3D object. However when finding the corner points of the Voronoi I am left with gaps, so I thought to drop these ...
0
votes
0answers
155 views

How to prevent object from moving when it's mesh/collider is being updated?

So I a made a script that lets the player grab a vertex, move it, and then update the mesh. To help prevent the player from trying to clip it through other objects I made it so the mesh/collider is ...
2
votes
1answer
259 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-...
1
vote
0answers
44 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 ...
2
votes
2answers
845 views

Calculating vertex normals to be able to have both sharp edges and smooth gradients

I'm computing area-weighted vertex normals, but lighting looks bad on meshes containing sharp edges and corners (e.g. cubes look 'blobby' as the light leaks onto the dark sides). Is there a way of ...
0
votes
2answers
105 views

Prevent player from jumping on a mesh

I am working on a game and I have a mesh that I use to block hallways and prevent the player from going that direction. They are placed vertically with slight angles. I'm having a problem that the ...
1
vote
1answer
64 views

Mesh/Path reduction to simulate traveled path to target

I generate that kind of mesh during runtime to display the path to follow to a target (think at something like the path your GPS shows you when you are travelling): I need to reduce the displayed ...
0
votes
1answer
641 views

Invisible mesh. Are my normals, normal?

I'm creating this mesh during runtime in Unity3D. The mesh shape is ok, but as you can see on this screenshot, the mesh is not correctly rendered: it's only rendered when the camera is looking back ...
1
vote
2answers
3k views

Smooth mesh from voxel grid

Im trying to implement smooth voxel grid meshing using marching cubes algorithm but I dont quite understand how to do the interpolating (I understand that this would solve the problem) to achieve the ...
0
votes
1answer
278 views

OpenGL EBO vs Mesh representation

As an exercise set to myself, I wanted to make a Mesh loader using modern OpenGL. However, I have to ways of representing the notion of face of a mesh. Currently, I am using what seems the most ...

1 2
3
4 5
8