The use of 3D technology for the restoration of complex cultural heritage