Abstract. Solid materials are responsible for many interesting phenomena. There are various types of them such as deformable objects and granular materials. In this paper, we present an MPM based framework to simulate the wide range of solid materials. In this framework, solid mechanics is based on the elastoplastic model, where we use von Mises criterion for deformable objects, and the Drucker-Prager model with non-associated plastic flow rules for granular materials. As a result, we can simulate different kinds of deformation of deformable objects and sloping failure for granular materials.