Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Which one is created first? For example if a team worked on a graphical asset of a car, what would be a model and what would be a mesh of the car?

share|improve this question
2  
Often there are multiple meshes in a model –  zacaj Oct 6 '12 at 20:02
    
Why OpenGL and DirectX tags? This question isn't about any of these APIs –  Miro Oct 9 '12 at 19:17
    
One's see through, the other's just got an eating problem. I joke I joke. A mesh is just the bit of the model that defines vertex data. –  Matt D Sep 27 '13 at 7:36

3 Answers 3

In simple terms, a mesh can be regarded as the outline of some shape/object. And the model gives the complete information of that object - texture, reflectivity, color, etc.

share|improve this answer

Short answer:

The mesh (as in one single mesh) is just data about the structure of a model. The model contains textures which are used to define how to render it's surfaces. It also contains several variations of the same mesh for animation, normally controlled by bones. Each animation frame could be considered a mesh on it's own.

Long answer:

A very important difference to note is that some models are not built from a mesh in the classic sense of the word. Models structured out of Non-uniform rational basis spline (NURBS) also exit. Technically you could build a model in many ways that do not involve a mesh in the classic sense of the word, such as atoms and Voxels. When people speak of a mesh they normally refer to a polygon mesh.

The mesh is a graph. A collection of vertices, edges and faces. A face is an ordered collection of vertices connected by edges that complete a loop. It is used to describe a flat surface on the mesh.

A model is a general term to describe data. In the specific case of 3d models, we mean the mesh, it's uv-mapping, texture and animations.

A model may not have any texture or animation(if it is not complete or if it's an inanimate object or does not require textures), as long as there is a mesh it will still be referred to as a model. The mesh itself is only the 'wireframe' part of the model. Meaning the collection of edges and their connecting vertices that represent the structure of a model. Unlike a texture which represent how the model is colored, how it reflects light and such things as bump mapping details or it's animation which represent the models motion.

So every mesh is a model on it's own. Not every model is only a mesh.

here are some references:

http://en.wikipedia.org/wiki/Polygon_mesh

http://en.wikipedia.org/wiki/Wire-frame_model

share|improve this answer
    
What does only the wirefarme part mean? –  GameDev-er Oct 6 '12 at 20:10
    
@GameDev-er The wireframe is the edges and their connecting vertices. It is practically a synonym for mesh. It brings up an mental image of what a mesh looks like w/o textures imo. –  Zehelvion Oct 6 '12 at 20:33
1  
Put differently, it means that a mesh has no information about how to render its surface. Whether its a solid color, a texture, a complex material, etc. you certainly can render a meh with some material, but the mesh itself doesn't tell you which to use; you either render with some default material, or use information from a model. A mesh is for instance useful for basic collision detection, as well as being one component necessary for rendering. In actual code, the terms are generally used loosely; a Model class might not have a Material for example, relying on higher layers for that info. –  Sean Middleditch Oct 7 '12 at 0:17
    
@SeanMiddleditch - Yes, that is the most precise answer. The mesh is just data about the structure, the rest (textures) handle with how to render it's surfaces and animation (where each frame is actually a mesh on its own rights, handles motion) –  Zehelvion Oct 7 '12 at 7:55

A mesh is part of a model. The mesh defines the vertices of a object. Typically storing them in such an order as to imply their connectivity, like every 3 form a triangle.

enter image description here

Like a mesh of vertices to define the shape of an object.

The model can have other elements like an armature, animation and texture information. It can additionally include more than one mesh. Though, I imagine they're similar enough to be used interchangeably in many cases.

share|improve this answer
1  
Using downvotes is a great way to show when you don't think an answer is good, however downvoting without adding a comment about how the answer can be improved is pretty useless. Especially when there are no existing criticism comments or obvious faults with the answer. –  Byte56 Sep 27 '13 at 22:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.