Capsule Unwrapper

Capsule Unwrapper

This one is the result of my search for an acceptable unwrapper. It will work well for only convex-like meshes. There are a few controls so you can tweak them to get a better unwrapping.

Note: This script is useful for unwrapping meshes whose shape is close to a capsule (For example most head models) It may perform badly for other types of meshes. Use Strubi's unwrapper for general unwrapping. That one always outputs a planar unwrap (Great job Strubi!)

Usage tips:

  • Generally the mesh to unwrap must be looking towards y axis and z axis must be up.
  • The script reports degenerate faces that can't be unwrapped but it relies on face normals to do so. Therefore you should do a Alt+N (Recalc Normals Outside) before starting to unwrap.
  • Download:

    Download capsule_unwrapper.zip . (Current Version: 1.00) (~107 Kbytes)

    Short Tutorial:

    An unwrapper is basically used for creating texture images for your models. It can be used in several ways depending on what you want to do.

    Texturing your model from scratch: Start the script with ALT+P. Append the model you want to unwrap with SHIFT+F1. Select the model and click UPDATE button. The script will generate an unwrapped version of your model. Tweak the script's parameters until you're satisfied with the result. When ready, you should: (a) Click on "assign UV" button so that uv texture coordinates of your model will be changed. (b) Render. You will use this image as a guide for painting a texture image. One way to do this is to open the image in your favourite 2D program (GIMP, Photoshop etc.), make it half-transparent, insert a new layer below it and paint the new layer. This new layer will be the texture image for your model. One thing to note: The texture image should not be shaded since Blender will do the shading later. When finished, simply assign the texture image to your model.

    Texturing game models: Since your game model will not be shaded properly in the game mode, you must use a shaded texture. Do the setup as above. When rendering try to obtain a good image by selecting subsurfaces, adjusting the lights, etc. You can use this shaded image directly as a texture for your game model. Of course you may want to improve it and add extra features using a 2D Paint program (or if you are a hardcore blenderhead, you can use Blender's Texture paint tool)

    There may be many other uses as well. For example, I am planning to use Strubi's unwrapper to export Blender's radiosity solution to my game engine as a light map. I am sure that will look terrific.

    Created: -November 2001
    Last update: -November 2001
    Armagan YAVUZ
    [email protected]

    Hosted by www.Geocities.ws

    1