Soft halos

When rendering a large halo that intersect the geometry it creates an ugly seam where the halo is clipped by the geometry.

To fix this I implemented a new halo mode “soft”-halo. It scales down the alpha value of the halo where it is close to the geometry.

Screen shots (regular halo at the top and soft halo at the bottom)
http://koti.mbnet.fi/%7Eilmola/halo.png

http://koti.mbnet.fi/%7Eilmola/putki.png

And a patch if someone wants to try:

http://koti.mbnet.fi/~ilmola/halo_patch.txt

This is to try on the CVS version?

Yes, the patch is made against the latest svn version…

wow, dude, this is awesome!
thanks! :slight_smile:

Now if you can make halos be raytraced, able to be reflected and refracted, and SSS’ed I’m sold on halos over billboards.

Nice work, and good to have another Blender developer.