Project: Blender Extensions
Tracker: Py Scripts Release
Script name: io_import_images_as_planes.py
Wiki page: http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Planes_from_Images
Author(s): Florian Meyer (tstscr)
Category: Import Export
SVN Download: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/io_import_images_as_planes.py
This script imports images and creates Planes with them as textures.
At the moment the naming for objects, materials, textures and meshes is derived from the imagename.
One can either import a single image,
or all images in one directory.
When imporing a directory one can either check the checkbox or leave the filename empty.
As a bonus one can choose to import images of only one type.
Atm this is the list of possible extensions:
extList = ('jpeg', 'jpg', 'png', 'tga', 'tiff', 'tif', 'exr', 'hdr', 'avi', 'mov', 'mp4', 'ogg', 'bmp', 'cin', 'dpx')
If someone knows a better way of telling if a file is an image which blender can read, please tell so ;)
when importing images that are allready referenced they are not reimported but the old ones reused as not to clutter the
materials, textures and image lists.
instead the plane gets linked against an existing material.
there is still more stuff to do.