I have been desiring an answer to the following question, How can I create an outline around an object? for a while now.
Below are 3 of my closest attempts.
In my first attempt, I flattened my geometry against camera view, extruded it into a tube, and then shrink-wrapped a curve around it to make my outline.
The problem? This attempt will not create a proper outline for every kind of mesh. In particular, meshes with islands, and meshes with long appendages that cover gaps.
For my second attempt, I spammed points around the outer edges of the mesh according to camera view. Afterwards, I sorted the points by their indices and set my outline over these points.
Problem? A sketchy outline. There weren't many examples of how to sort points by indices when I was looking through for answers. My points weren't sorted as intended.
Following after my second attempt, I decided to connect the points by nearest with instanced lines.
Problem? A dotted/hidden outline. Not all points connected.
Any help/input would be much appreciated.
Blender 3.6.4