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
2
votes
1answer
380 views

What is the best way to render eletric wires (like in gta 4)?

From the top of my mind, I see 2 ways to do it : classic mesh. (but that's likely to be a lot of tris for little screenspace) bilboards (but the placements of the billboards may be tricky. still ...
2
votes
1answer
2k views

Font to polygon or triangle mesh

I've been happy using bitmap fonts for games so far, but now I find I really need the polygon edge in some form. I saw the freetype engine some time ago, which can provide rastering of truetype fonts ...
2
votes
1answer
39 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, ...
2
votes
1answer
291 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
1answer
911 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 ...
2
votes
0answers
581 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 ...
2
votes
1answer
435 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 ...
2
votes
0answers
73 views

Blender: Setting additional properties per face [closed]

I wish to use Blender to model level for 3D game. Level is a set of Meshes. I have to set special (additional) properties per face (triangle). These properties are like integer number or vector or ...
2
votes
0answers
401 views

Swap limbs of a skinned mesh

If I have a model, such as a robot, I am able to swap its limb meshes out and replace them with other robot limb meshes by merely removing the limb mesh from the skeleton and attaching the new one to ...
2
votes
0answers
317 views

Vertex Normals, Loading Mesh Data

My test FBX mesh is a cube. From what I surmise, it seems that the cube is on the extreme end of this issue, but I believe that the same issue would be able to occur in any mesh: Each vertex has 3 ...
2
votes
1answer
265 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
4answers
653 views

Import from mesh vs hardcoded vertices performance

Which brings better performance at run-time: a cube imported from a mesh, or a cube made from hardcoded vertices? Are there limitations to a certain method? Is one of them better architectural-wise?
1
vote
1answer
1k views

What is the difference between the marching cubes algorithm and metaballs?

After doing some research, I found out about the marching cubes algorithm and "metaballs". How exactly do they differ?
1
vote
2answers
1k views

BoundingBox created from mesh to origin, making it bigger

I'm working on a level-based survival game and I want to design my scenes in Maya and export them as a single model (with multiple meshes) into XNA. My problem is that when I try to create Bounding ...
1
vote
1answer
8k 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 ...
1
vote
1answer
132 views

Can i tell if a Vertex Tree is a solid shape?

if a Vertex looks like this: struct vertex { vec3 point; vertex [] connected; }; Can I tell if this makes a solid shape with no holes? (e.g a sphere or a ...
1
vote
3answers
239 views

The need to reduce mesh count

In Panda3d, I load a model and place 10000 references to it in the scene-graph. It runs at (say) 2Hz. I load a 3d model containing 10000 copies of that exact same object, and it runs at (say) 60Hz. ...
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 ...
1
vote
3answers
460 views

What name (if any) applies to this particular 3D rendering technique?

Is there a name for this technique where when instead of rendering certain polygons, you just calculate a few key points and do the drawings in 2d? For instance, instead of rendering a sphere, you ...
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 ...
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 ...
1
vote
1answer
3k views

Character Models: Single Mesh vs. Individual Parts

I was looking up 3D character models from various games (Battlefield 3 and DMC to be specific), just as research work and upon importing the model into Blender3D, I found that every part of the model ...
1
vote
1answer
2k views

Opengl create tunnel TRIANGLES and texture coords on a 3d path

I have a path, lets say a bezier, or a circle. I d like to make a continously 3d cylinder (tunnel) on it (R=0.5f) How can I calculate tha TRIangles (TRIANGLE_STRIP) coordinate, and the texture ...
1
vote
2answers
34 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 ...
1
vote
2answers
283 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
62 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, ...
1
vote
1answer
4k 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 ...
1
vote
1answer
409 views

deformable terrain

I'm currently working on a 3d sandbox mmo and would like to know what would be the best way to store the terrain of the world. I was thinking about making some kind of mesh, like the kind you would ...
1
vote
1answer
149 views

To split or not to split large 3D objects?

I have a fairly simple question for which I'm seeking guidance: Should large 3D objects be splitted into smaller ones? By wide, I mean an object that would be as wide as a game level is, below is ...
1
vote
1answer
268 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
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
136 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
531 views

Mesh slicing/knifing with multiple planes

I have a ginormous mesh which I want to cut with multiple planes. For simplicity I want to know how to cut a mesh with single plane and repeat the logic. Consider a ...
1
vote
1answer
1k views

How can I implement procedural humanoid generation like MakeHuman?

Some applications allow you to generate a human mesh by simply adjusting parameters. The results are broad and convincing: you can get from a thin asian girl to a muscular african man by just ...
1
vote
1answer
372 views

Android Object get Jagged at the border

I am new to OpenGL ES 1 in android. My 3D Model border getting Jagged. Please help me to look like a smooth border instead of jagged. Screenshot : http://i.stack.imgur.com/1Gq83.png ...
1
vote
1answer
2k views

How to generate texture coordinates for a rectangle?

I've got a function which generates geometry data for a rectangle. So far I've got the vertex, indices and the normals nailed, but I have no idea how to generate the texture coordinates - so far I've ...
1
vote
2answers
1k views

How to correctly create bullet rigid from custom .mesh in Ogre?

Being new to 3d programming and bullet physics in particular, I am wondering how a 3d model or the mesh generated out of it effects the accuracy of bullet physics simulation. I have written a ...
1
vote
2answers
487 views

Finding Surface of Inner Volume mesh

I am working on the generation of Hexahedral mesh generation using octree based discretization. I have a volume mesh (Hexahedral), using isomorphism I need to project the outermost surface vertices of ...
1
vote
1answer
149 views

Progressively loading the racing arena in a 3D driving sim

I need advice and resources on a 3D car simulator. I want to progressively load the track for the player as I'm thinking of porting the game to mobile devices. This seems too difficult to me as I'm ...
1
vote
1answer
516 views

Triangle Strips of Tetraheron

I am confused about the triangle strip representation of closed mesh .The vertex buffer for triangle strip representation of the a figure is shown below: A(0,1) B(0,0) C(1,1) D(1,0)E(2,1) vertex ...
1
vote
1answer
403 views

Realtime rendering using a ray tracing engine

I want to render an object that has a mesh with one million hexagonal elements(100 * 100 * 100). Lights, shadows and textures is not important and each element has a solid color. and finally, the ...
1
vote
2answers
2k views

What is the best way to store meshes or 3d models in a class

I am wondering, how I should store my mesh into memory after loading it from whatever file. I have Questions floating in my head: Should a mesh could have sub meshes or does the 3d model just store ...
1
vote
1answer
178 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 ...
1
vote
2answers
193 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
40 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 ...
1
vote
1answer
330 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 ...
1
vote
1answer
264 views

My vertex cache for reusing vertices in marching cubes algorithm in unity fails for one case, but I cant figure out what case

I implemented the marching cubes algorithm in unity and wanted to reuse vertices instead of creating new ones for every triangle. I am looping through a 3D array of points as I generate the mesh in ...
1
vote
1answer
172 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 ...
1
vote
1answer
334 views

Is there a way to specify normals as per-face instead of per-vertex in Unity?

The documentation says that mesh.normals are assigned to vertices, not triangles. I've got a somewhat detailed mesh where faces are joining at right angles. If ...
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 2 3
4
5
8