Author Topic: Blender: Alpha channel image temp gen  (Read 378 times)

Offline Xjazz

  • Gold Member
  • *****
  • Posts: 2653
Blender: Alpha channel image temp gen
« on: March 26, 2008, 05:04:25 PM »
Hi

While waiting the new TE-OE (cough)H2H(cough), I coded a small alpha channel image template generating script.

It creates for the selected mesh object( with UV-texture) a same size alpha channel template image with [UV-texture name]_a.bmp name AND setup the material settings ready for the rendering.



This Blender screen setting is done manually.

In picture I have a plane mesh object
The plane object is textured with terr0001.bmp image and assigned with default material (1.).
Just generated and already painted alpha channel image at left (2.). The painting toolbox (C-key) at left.
The plane object in 3D view, see through the small render-preview screen (Shift+P) (3.). Shows the painting result almost real-time.
The final render result (F12) view (4.)

The script packs the alpha channel image and save it to the *.blend file folder.

Place the script to the 'Script'-folder. It's visible in 'Help-menu'
http://warezhouze.1g.fi/Here/Blender3d/AH_scripts/AlphaImage10.py