by Nadnerb » Sun Dec 30, 2007 12:39 am
If you have created a texture in blender (not from an image) and you want to use it in an age, (which requires it be uvmapped from a image) you can use blender's "Bake" function to have it generate a texture image for you.
Take the object into UV edit mode, select all faces, and in the UV image editor, create a new blank image. Use the u->unwrap(smart projections) function to generate a uv map such that no faces overlap on the image. Then, in the render panels, find the 'bake' tab, select 'textures' and press BAKE. Blender will then render the selected object, and write all the surface colors to the texture image. You'll need to 'save as' the image from the uv image editor before you can use the baked image, and it will be lost if you close blender before doing this.
Also, baking writes to the uv layer currently selected with the 'render' button, but you can type in the name of a uv layer in the 'map input' tab of the material settings panels, after you've selected 'UV'.
This can also be used to create light map textures and other fun things.