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

2
votes
1answer
409 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
163 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
932 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
203 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
501 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
829 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
192 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
349 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
777 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 ...
7
votes
2answers
3k 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
780 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
562 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
228 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
766 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
96 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
82 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
294 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
574 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
142 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
994 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
731 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
2k 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
346 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
340 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
317 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
878 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
2k 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
843 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
75 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 ...
4
votes
1answer
465 views

Are models on 3D warehouse free of copyright? [closed]

Are models on sketchup's 3D warehouse free to use for personal or commercial work? I haven't been able to find copyright information on the site.
1
vote
0answers
222 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 ...
1
vote
2answers
197 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 ...
0
votes
1answer
158 views

Strange rendering in Direct3D 10 [closed]

I'm writing an application which renders graphics on the screen. The application can switch between Direct3D9 and Direct3D10 graphics modules (I wrote DLLs that wrap both D3D9 and D3D10). When trying ...
2
votes
1answer
420 views

Perlin Noise for game terrain; math error (unexpected breaks in terrain (3D grid))

So, I'm learning how to generate terrain using Perlin Noise, and I came across this code: http://stackoverflow.com/questions/4753055/perlin-noise-generation-for-terrain/4753123#4753123 PerlinNoise.h ...
2
votes
1answer
415 views

Finding holes in mesh

I have a mesh that has holes. I found a paper, An Automatic Hole-Filling Algorithm for Polygon Meshes It details an algorithm that uses a k-d tree for finding holes (from a manifold triangle mesh). ...
3
votes
1answer
244 views

How to approach skinning a snake made of cubes and is it right method for snake 3d game

I'm making a 3d snake game clone for studies and prettly much got everything to work, I have a 3d ground object surrounded by walls, and a snake head piece (cube). when you start the game 2 additional ...
3
votes
2answers
2k views

Creating a custom binary format for 3D meshes

I've seen people saying it's better and faster to use a custom binary format for your 3D models, based on your needs, instead of using exchange formats. But, I'd like to know how to create a basic ...
1
vote
1answer
141 views

Blender 2.6: Move Mesh to X Coordinate of Another Mesh

An example: There are two planes A and B with the following median points: ( X | Y | Z ) M_A ( 3 | 2 | 2 ) M_B ( 6 | 1 | 1 ) Now I want to move the plane A on the X-axis to the X coordinate ...
3
votes
3answers
2k views

DirectX 9 - model rendering from .obj files issues

Well I can clearly tell that what rendered is close to what I wanted, but there seems to be a few problems. The .obj files contained values like "f", "v", "vt". Image Of Problem: ...
1
vote
1answer
123 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
votes
1answer
425 views

Drawing polygons in 3D

I have recently been working on a 3D engine from scratch, using JavaScript and HTML5. I've successfully created lines (although slightly buggy) and points, but I can't figure out faces. My current ...
0
votes
2answers
404 views

Wavefront mesh: determine which face a point belongs to?

I have a 3D mesh Wavefront .obj file. Is there any algorithm that takes an arbitrary point coordinates as input and determines which face of the mesh that point belongs to ?? The mesh is rendered on ...
2
votes
1answer
326 views

Software rendering 3d triangles in the proper order

I'm implementing a basic 3d rendering engine in software (for education purposes, please don't mention to use an API). When I project a triangle from 3d to 2d coordinates, I draw the triangle. ...
1
vote
1answer
709 views

XNA Per-Polygon Collision Check

I'm working on a project in XNA for WP7 with a low-poly environment, my problem is I need to setup a working per-polygon collision check between 2 or more 3d meshes. I've checked tons of tutorials ...
2
votes
2answers
579 views

matrix to transform unit cube to space defined by 8 arbitrary points

I asked a question relating to similar to this already, but I think this is a clearer objective of what Im trying to achieve.. or whether its possible at all! Im trying to find a transformation ...
2
votes
1answer
672 views

Rendering multiple squares fast?

so I'm doing my first steps with openGL development on android and I'm kinda stuck at some serious performance issues... What I'm trying to do is render a whole grid of single colored squares on to ...
17
votes
1answer
890 views

Algorithm to simplify building/structural meshes

I am looking for an algorithm to simplify the meshes of buildings or similar structures. EDIT: I had made a comment that Hoppe's algorithm tends to make meshes more and more spherical with ...
1
vote
3answers
191 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. ...
6
votes
1answer
2k views

Animating a 3D model with XNA

How do I animate a biped model from 3ds max using XNA framework or not necessarily the biped model, it could be any 3D model but how can I code the animation?
2
votes
0answers
217 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 ...