Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#32580] Nodes Don't Register Alpha Channel

Date:
2012-09-19 05:39
Priority:
3
State:
Closed
Submitted by:
David Brennan (davidbrennan)
Assigned to:
Nobody (None)
Category:
None
Status:
Todo / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Nodes Don't Register Alpha Channel
Detailed description
In the Node Editor, there are certain Nodes which do not transfer the alpha data. This effectively prevents you then from using further Nodes beyond them (or makes it very difficult).

For example, if you have Text on one Render Layer and then a regular scene on another Render Layer, and you want the Text to have a black outline, so you set up a "Dilate/Erode" Node beneath....that Node won't register any alpha data, and so you won't be able to overlay it!

I've seen this in MANY Nodes. Attached is a .Blend with a simple scene and just two of the problem Nodes: Lens Distort and Dilate/Erode. This will allow you to quickly confirm the problem. A screencap is also attached.

(In the interim, if there is anybody who can offer any work-arounds, that would be fantastic.)

Blender 2.63a
Windows XP 32-bit

Followup

Message
  • Date: 2012-09-19 06:20
  • Sender: David Brennan
  • (This should be in the compositor category, obviously. Sorry that I forgot to specify that originally.)
  • Date: 2012-09-19 23:37
  • Sender: David Brennan
  • That looks like a great work-around, although hopefully the Bug will be fixed so this won't be necessary and other users won't get aggravated.

    Alternately, "JaceP" had a set-up in which you use a pair of "Separate RGBA" Nodes to isolate the colors from the alpha channel originally, but this work-around definitely seems leaner and faster. Thanks!

    (I can't escape from your good works, Olson!)
  • Date: 2012-09-25 14:31
  • Sender: Sergey Sharybin
  • Indeed some nodes are not dealing with alpha as it could be expected. In most cases it's because alpha is not a part of equotion and it's not so obvious which value it should be. Foe\r sure some nodes could be improved to give reasonable alpha, but it's not considered a bug.

    Also, value nodes (dilate/erode i.e.) are working on a single channel only. It's how they're designed to work and they can not deal with alpha.

    Added notes to http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Tools#Compositing

    Thanks for the report, but marking as a TODO now.
  • Date: 2012-10-03 21:43
  • Sender: David Brennan
  • Thank you for the information and for considering this so deeply, Sergey. Hopefully, even though this doesn't quite qualify as a "bug", some productive Blender master will be able to amend and refine how some of these Nodes utilize the alpha channel.
 

Attached Files:

Name Date Download
untitled.png 2012-09-19 05:39 Download
NoAlphaOnNodes.blend 2012-09-19 05:39 Download

Changes:

Field Old Value Date By
status_idOpen2012-09-25 14:31nazgul
close_dateNone2012-09-25 14:31nazgul
StatusNew2012-09-25 14:31nazgul
File Added22072: NoAlphaOnNodes.blend2012-09-19 05:39davidbrennan
File Added22071: untitled.png2012-09-19 05:39davidbrennan