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.

learn more… | top users | synonyms

1
vote
1answer
42 views

Why isn't the bitangent calculated?

In teh tangent space vertex attributes why is the bitangent (aka binormal) provided as an attribute instead of calculated? If the three vectors of the tangent space must be perpendicular then the ...
0
votes
0answers
13 views

Having Trouble importing Maya file into UE4

I'm new to Unreal so please bear with me. I'm importing a maya file into UE4. It imports OK, but the problem is that the child meshes are not showing. How can I access each single mesh in the file ...
2
votes
2answers
98 views

3D position to UV coordinates in fragment shader

I am interested in converting an arbitrary 3D position computed at run time in the fragment shader to its corresponding UV coordinates. Notice that the 3D position I am interested in is NOT a 3D ...
0
votes
1answer
82 views

Mesh Manipulation - changing vertex data dynamically

I have am trying to achieve Mesh Manipulation of any mesh based on User Input mostly sliders, example of what I am trying to do is http://www.youtube.com/watch?v=-oMxVGmeO-s . I am not sure whether to ...
0
votes
0answers
25 views

How to combine vertex, normal, UVW arrays optimally?

In Unity, meshes have multiple arrays for various vertex components (Normal, Position, UV coord, etc), and triangles consist of three indices that define the (same) offset into each array to build the ...
0
votes
2answers
73 views

How to draw non-triangulated mesh?

I am working with DirectX (C#/C++). I am wondering is it possible to do not triangulate meshes and what the difference between cases (in loading and rendering code)? If so, how to do this? I know ...
2
votes
2answers
96 views

Materials and Mesh association

I'm trying to implement a Material system in a small engine for training and I've got questions about materials. Currently I've got that: Material: A Material with array of Technique Technique: ...
1
vote
1answer
78 views

Can you export lighting models directly from 3D application to a real time renderer?

is it possible for example to insert lighting in a 3D Model software like 3DSMAX and export an animated model like md5,..etc. and export the lighting too ?
0
votes
1answer
91 views

How do I connect my objects to my meshes?

I am creating a simple 3D engine and I've run into a problem. I have an array of objects [Camera, Player, Player, MonsterA, MonsterB, MonsterA] and a number of mesh files that I need to associate ...
2
votes
1answer
84 views

Optimising meshes

The game MegaGlest uses a MD3-like mesh format, which is keyframe-based vertex animation. One of the challenges moving forward is to continue to support lower-end hardware. We know some users have ...
2
votes
2answers
89 views

Angle between two planes

I have two triangles in 3d space which share 1 edge and I would like to determine if the angle between their normal vectors is "uphill" or "downhill". In other words, if you set one flat, would the ...
4
votes
1answer
320 views

Quads Vs Triangles

I'm curious to know which is better for games? Quads or Triangles? Wouldn't quads be better for rendering performances and smoothing out tessellation?
2
votes
0answers
45 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 ...
1
vote
1answer
163 views

How to generate AABB, OBB & Sphere from polygon soup

How can I generate AABB, OOBB and Sphere from a polygon soup, where the bounding volumes are defined as follows: AABB should be specified by min(x,y,z) max(x,y,z) OOBB should be specified by ...
0
votes
1answer
198 views

Problems with 3D Array for Voxel Data

I'm trying to implement a voxel engine in C++ using OpenGL, and I've been working on the rendering of the world. In order to render, I have a 3D array of uint16's that hold that id of the block at the ...
3
votes
1answer
58 views

Armature rest matrix - why does this exist?

I'm not sure I have a clear idea on what purpose the rest matrix/bindpose is supposed to serve in skeleton animation. If it is supposed to transform a bone into the rest pose and the mesh itself is ...
0
votes
2answers
276 views

Unity Mesh and Collider not aligned on rotation

I have a GameObject with a mesh and a collider. When I rotate the object the mesh and the colider do not act the same way and when the GameObject is rotate 65 degrees on the z axis the mesh and the ...
2
votes
0answers
167 views

What's the proper way to set up texture atlas in Unity 3D?

I am using Unity3d (free) to make a game with user-defined content (i.e., load in a map, it'll build the level for you). Everything is working as expected, except for the rendering. Note the ...
2
votes
1answer
128 views

Light is not spreading evenly

I am using SunBurn for lights and rendering, when i create sceneobject in code, effect is like this see in this light is in the middle so sceneobject in middle is well lit and as we go to corner ...
1
vote
5answers
250 views

Drawing transparent and opaque 3D objects. How do I preventing z-fighting?

I am using a transparent weighted average algorithm to draw my transparent objects. The transparent object is drawn with the following notable render states (the rest are default XNA values): ...
4
votes
2answers
266 views

Building triangle adjacency data

Given a list of triangle indices, how exactly does one go about converting that to a list of indices with adjacency for a geometry shader? Note that we're strictly talking about indices here - ...
2
votes
1answer
121 views

How check if an arbitrary given mesh is a single closed mesh?

I'm building a space game where it is allowed for the player to insert his own mesh to be his spaceship. The problem I'm facing is that a ship must be a Polygon Mesh. The player will then be able to ...
3
votes
1answer
105 views

How to calculate where specular highlights converge with an anisotropic shader?

If you look at a rendering with an anisotropic shader applied you will notice that there are special spots on the 3D surface/mesh where the lights seems to converge, a point where a given vector ...
3
votes
1answer
394 views

How do I create a manual object with colors for each vertex?

How do I create a shaded manual object with colours for each vertex? Eg if ogreObj is the Ogre::ManualObject : ogreObj->begin("BaseWhiteNoLighting", Ogre::RenderOperation::OT_TRIANGLE_LIST); ...
1
vote
1answer
107 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 private class ...
5
votes
1answer
277 views

Why are my animated objects (from Blender) always playing at the global origin in Unity?

I created and animated a sledgehammer in Blender 2.67b using an armature. The sledgehammer has one animation (created using the Action Editor) called "Idle". I parented the imported sledgehammer to an ...
12
votes
3answers
583 views

What caused “falling out of the world” and what fixed it?

A lot of early 3D games had the problem where you'd be trundling merrily along and suddenly everything was black, with an island of what looked like the hollow facade shell of the scene you'd been ...
2
votes
2answers
143 views

.md5mesh normals are not smooth

I'm currently working on a project that requires me to load .md5mesh format and draw it. Following this link I've managed to load the mesh into the engine successfully, but a problem arises when ...
1
vote
1answer
166 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 ...
2
votes
1answer
273 views

XNA 4.0: Blender .fbx File Won't Display 3D Model

So I followed the basic 3D model display tutorial found here: http://msdn.microsoft.com/en-us/library/bb197293%28v=xnagamestudio.31%29.aspx And while I know this is for XNA 3.1, I can still get the ...
6
votes
2answers
2k views

Voxel Face Crawling (Mesh simplification, possibly using greedy)

Edit: This is just for my own learning experience, it is NOT for performance reasons that I ask this question. This is in regards to a Minecraft-like terrain engine. I store blocks in chunks ...
2
votes
1answer
437 views

Lightmapping & runtime combine children

Is it possible to have lightmapping on runtime generated combine children in Unity? It is possible to bake combined meshes when they are done in the editor, but the .apk/.ipa size increases too much. ...
3
votes
1answer
373 views

How can I divide a 3D mesh into small pieces?

I'm considering a manufacturing game. A player should assemble parts of an object in given time. The object will be a 3D mesh model. I want to automatically split the 3D mesh into many small pieces to ...
3
votes
1answer
157 views

Why do some .obj files have no newlines?

I'm working on a game engine and just started with mesh loading. I started with the format .obj. I ran into this problem: The guide I'm following gave me a couple of .obj files to try and they all ...
5
votes
1answer
412 views

How can I render an .stl file in XNA or Monogame?

How should I go about rendering a .stl file as a 3d model in XNA? The .stl file contains a bunch of triangles that add up to a solid mesh. I have already figured out how to read the contained data. ...
0
votes
1answer
81 views

How to know if a model is composed of a group of models?

I've downloaded a model, and try to ungroup the model and learn how this model was made. However, the big model in the image below can not be ungrouped anymore. I feel that this model is composed of ...
1
vote
0answers
81 views

3D Model Loading in DirectX 11 [duplicate]

At the moment I am trying to implement fbx model loading in my DirectX 11 code. This is old code I had create for use with DirectX 9 and I'm simply trying to bring it back up to date. Since I first ...
-2
votes
1answer
174 views

Programmatically creating a 3d mesh in XNA

Surprise! Another question related to Minecraft. Anyways: Rather than drawing thousands of blocks each frame, I remember reading somewhere that Minecraft breaks the map into 16x16x256 chunks, and ...
1
vote
2answers
327 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
votes
1answer
91 views

Looking for pre-broken models/meshes for use in a unity project [closed]

Hi guys for my final year project I'm working on comparing the difference between a few destruction techniques for a game environment, based on looks and computational efficiency. I intend on ...
0
votes
2answers
409 views

Irrlicht rendering basic OBJ

I have been trying to render a "room" with some basic functions and I found some "bugs". So at first I have made a "room" out of 6 planes in blender and gave each of them a diffrent color. ...
1
vote
1answer
383 views

How would one render dynamic vertices in OpenGL ES 2.0 like in a 3D modeling program?

Is there an easy way to re-render dynamic vertices in OpenGL ES 2.0 so that one could, for example, make a modeling program? I understand how to make a dynamic vertex array, but what I don't ...
5
votes
3answers
767 views

UDK or Unity Dynamic Runtime Mesh Boolean subtraction (or alternative) [closed]

I'm new to 3D game dev and was wondering if anyone could help me out. I'm planning to use UDK and would like to have deformable items in the world. So a projectile strikes a target, and a dent or ...
3
votes
1answer
197 views

Stitching meshes together

I have a voxel engine that generates a mesh per chunk and now I want my meshes to be 1 mesh, but if I create them as a single mesh I kind of lose the benefit of chunking the data in the first place. ...
7
votes
1answer
256 views

Path Finding for an Arena based map in 3D using NavMesh

I have a 3D arena map (consider a small island surrounded by water on all sides) for a multiplayer Tank fight game. The moveable areas are marked using a Navigation Mesh made by the Arena designer. ...
0
votes
1answer
127 views

Unable to manipulate Imported Object menu (Unity)

I've imported a model, but for some reason I can't edit any settings under the Imported Object menu, such as the Mesh Filter or the Mesh Renderer. See this: http://i.stack.imgur.com/t7ZYR.png for a ...
3
votes
2answers
574 views

XNA 3d model mesh.draw() throws TextureCoordinate0 is missing error

I've downloaded a bunch of 3d models from turbosquid.com. The majority of the one's I've downloaded are simply .fbx files. When I load the model into my game and run it, the following error is thrown ...
4
votes
2answers
527 views

Displaying (3D) objects' name above them

The Elder Scrolls: Morrowind has a rather interesting way to display each focused objects' name. It's all a bit fuzzy in my memory right now, but the most important part I remember perfectly: the ...
1
vote
1answer
199 views

Are interleaved vertex data formats better than non-interleaved formats?

I have been reading up on data formatting for 3D objects so that I can render my meshes as fast as possible in OpenGL. I am quite new to OpenGL so bear with me. The format for interleaving your ...
2
votes
1answer
65 views

Swapping limbs between meshes

I'm trying to achieve what was done in the game impossible creatures. I will have a skeleton to which I will apply different meshes to i.e. torso mesh, leg mesh, etc. I would also like these meshes to ...