Fracture mechanisms of intact rock-like materials under compression