3D diff engine