Features of compressive failure of brittle materials