The best way to texture a 3d model?
Members - Reputation: 674
Posted 25 November 2012 - 11:36 PM
I made a 3d model in blender an now I need to texture it. I know this can be done in blender and I have been doing it. The problem is that my 3d engine only allows 1 texture per object and I have been assigning each face to a certain texture. I don't entirely understand how textures work in blender, so I was wondering the procedure for starting with a textureless 3d model and creating one texture for that model and mapping it properly?
Crossbones+ - Reputation: 2660
Posted 26 November 2012 - 01:14 PM
I'm interested in what some of the 3D veterans have to say, too. Followed.
-Mark the Artist
Digital Art and Technical Design
Members - Reputation: 3503
Posted 26 November 2012 - 01:52 PM
Moderators - Reputation: 5041
Posted 26 November 2012 - 05:19 PM
Procedural textures can be useful in certain circumstances. Procedurals attempt to mimic the surface or volume characteristics of an object without resorting to explicit UV mapping. If the model is intended for use in a game, you might be limited by shader instruction count and/or complexity, so typically you will avoid procedurals except for things such as water and so forth. If the model is intended for an in-Blender render, though, then you can get a lot of mileage out of procedural, node-based materials and never touch a UV map.
2) Hand-paint directly onto object, or via external paint application such as Gimp
Blender allows you to do texture painting directly on the model. You set up your UV mapping, ensuring that each face has its own unique space in the UV map with no overlap with other faces. Create a texture and go into Texture Paint mode. Paint away, save your texture as an image.
3) Painted and baked from high-poly
A process that is frequently used, especially with characters, is to model your object in very high detail and paint it, then bake out various textures including normal map or displacement map, ambient occlusion, diffuse, specular, etc... to textures that are applied via UV texturing to your lower polygon model. Blender offers this functionality using the Bake menu tab under Render settings (Blender Internal Render engine only; Cycles doesn't offer baking yet).
A good process for this technique is to start with the low-poly object you intend to use in the game. Add a multi-resolution modifier to it and crack the detail up a bit, then sculpt in some details. (If you set up your UV mappings on the low-poly, the multi-res modifier will also subdivide those UV mappings) You can use texture painting to paint directly on the model in blender, and you can even paint to multiple textures in order to do a diffuse map and a specular map. Then you can bake all of these to images to load into the game.
4) Modular UV mapping using seamless, pre-made textures.
If you are on a very limited texture budget and can not afford to have a unique texture for every object, you can create a small set of textures that are seamlessly tiling, then manipulate the UVs of the faces of your object to figuratively "snip" pieces of these textures out in creative ways. Multiple objects can share textures this way, greatly saving texture budget.
One of the more instructive polycount threads I have read recently is this one: http://www.polycount.com/forum/showthread.php?t=87797
Not only is it instructive in technique (pay attention to the posts in the thread that discuss the seamless UV mapping trick in 4) but it is also interesting to see one particular artist's progress as she learns multiple techniques and in the end produces a very striking and beautiful scene using all sorts of nifty tricks.
Polycount in general is a highly useful forum to browse if you are starting out, so you might spend some time over there learning things that will blow your mind.
Members - Reputation: 1414
Posted 28 November 2012 - 02:27 AM
Any faces which are exact duplicates in the UV map undisturbed in exactly the same location also slightly increases performance if only one texture is used. When several textures are used across similar parts, try to find ways of using more parts per texture to help game performance. Keep the number of separate parts, files, and textures to a minimum. Polygon count should be as small as possible. A smaller model is also less demanding than a larger one which is equal in every other way. Rendering hurts performance more than rasterization, so try to avoid a rendered model in a game if possible and use conventional textured models when you can, though shading or smoothing can be used.
Members - Reputation: 247
Posted 01 December 2012 - 10:51 PM
In this texture map, there's only 1 mesh, the head.
In this one, however, is more than just the head. It's the whole body. This is what you will want to do.