Abstract:3D visualization for geological information is employed to set up the digital model of geological characteristics by appropriate data structures;and with computer technologies,the digital description is expressed vividly. Using 3D visualization,the complicated geological structures,the physico-mechanical properties of strata and the interactive deformations of constructions are described. Based on rectangular meshes and irregular triangular meshes,a method of triangular prism element is presented to construct 3D entities of strata and pile foundations;and 3D visualization for geological objects and pile foundations is realized by OpenGL technology in the environment of visual C++.