There's been much discussion of mesh networking w/ OpenVPN before; check the mailing list archives.
In the meantime, as long as it's a fairly small number of endpoints (3, as in the case you mention, should be no trouble at all), you can just simulate it w/ extra tunnels and an appropriate routing table.