Part of my game takes SVG polylines (which are just basically a set of x,y coordinates that define a multi-segment line) and converts them into 3D 'paths' (ie. a line created as a set of faces all pointing 'up').
I was wondering if there was a standard algorithm I should consider for how to smooth the corners of the lines when there is a change of direction. I don't want to turn the whole path into a smooth curve - I just want to smooth out the corners where the line turns sharply.
What I'd love is an algorithm that - given two vectors (V1 & V2) and a line thickness (T) - returns the best two 2d coordinates to use as the corner vertices so that the I don't have to add any additional polygons to the line, and that both of the incoming lines keep their thickness.
Is this wishful thinking, or is there something like this out there?