11
$\begingroup$

How I can have an object in the foreground with a transparent background? I do not want to have a background that is just keyed out because that always leaves halos even when I do the correct lighting. So how would I go about having a background that is transparent alpha channel and all? Also what video file do I have to use to preserve the alpha channel?

$\endgroup$
  • $\begingroup$ How would I preserve the transparency when I animate the png? $\endgroup$ – rain Jul 30 '14 at 20:14
  • $\begingroup$ This is not actually a duplicate question. The question that others have cited as being duplicated is about transparent PNG "files". This question is about creating transparent VIDEO files. It just so happens that for Blender Internal rendering of a QuickTime .mov file, using PNG, Animation, or AVI codecs results in videos that have an alpha channel IF the RGBA is selected and the Alpha Shading option is set to "Transparent". I routinely us this technique to generate transparent animations that I can composite in Final Cut Pro. $\endgroup$ – neoscribe Mar 7 '16 at 4:00
  • $\begingroup$ @neoscribe Lossy video for alpha compositing is not the greatest idea. Compression and non-linear encodings will produce an awful result. Image sequences using linearly encoded formats is the most adequate way to produce files for compositing. $\endgroup$ – Gez Dec 21 '18 at 23:54
10
$\begingroup$

You need to go to the "Properties" panel, "Render" tab, subsection "Film" and check "Transparent".

Transparency check box

Also, keep in mind that animations should first be rendered to individual images, to avoid file corruption, and joined using something like Blender's Video Sequence Editor. This is demonstrated in this video.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.