Create 3dresample