Add-on: Create a vertex group from visible vertices

Michel Anders has published an add-on that lets you create a vertex group only from vertices that are visible from the camera.
Michel Anders (varkenvarken) writes:Hi,
I recently wrote an addon that might be a time saver for more people. It’s called ‘Visible Vertices’ and it can create a vertex group with non-zero weights for just those vertices that are visible from the camera. It even takes into account any objects that block the view and adds less weight to vertices further away from the camera. Such a weight map can be used for example to restrict the distribution of particles to just the visible parts of a ground mesh, saving render time and memory.
A full description with examples and download instructions is available in this blog article.
Enjoy,
— Michel.

Nice! A useful addition to my add-ons collection. Thanks, Michel!
Wow! Nice solution!