Skip to content

rmerkushin/SpriteTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spray

Sprite tools for Blender

How to use

  1. Import the target object to scene and set it location to 0,0,0. The front side of object should be turned to the direction of negative Y axis, like on image below.

  1. IMPORTANT! Set the correct frame range (start and end fields). Set start and end frame to 1 in case of target object doesn't have animation.
  2. Go to 3D View > Tools Panel > Spray and press Add Isometric Camera button.
  3. Set sprite resolution.
  4. Fill the Target field with correct name of target object (it's case sensitive) and press Align To Target button (it will be available after filling the Target field).
  5. Switch to camera view (Numpad 0). The camera should be align and fit to the target object for all frame and directions. Use Height and Orthographic Scale in case of incorrect alignment.

  1. Set light for target object or set Environment Lighting in World properties for object.
  2. Set prefix for sprite names. Sprite will be named by mask: {prefix}_{direction}_{frame}.png, example: dummy_sw_15.png.
  3. Select output path and press Render Sprites button.
  4. Profit! (Don't be afraid of black background in the gif below. Sprite background is transparent by default.)

TODO:

  • Update for Blender 2.8 compatibility
  • Save sprites to sprite sheet

About

Sprite tools for Blender

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages