This paper proposed the solution of visualization technology in virtual spinal fixation surgery system, which implemented the 2D image display and 3D bone tissue refactoring. It is designed based on Visualization Toolkit and implemented by the improved RayCasting volume rendering algorithm. First, design the uniform interface for 2D and 3D visualization, and then give 2D slicing visualization pipeline and spine 3D refactoring pipeline. In spine 3D refactoring, the system dynamically chose appropriate rendering algorithm to satisfy the real-time requirement of the system interaction based on GPU or CPU computer hardware environment. Meanwhile, provide visualization windows with visualization pipeline adjustment panel to adjust visualization effect conviniently. By 2D slicing data visualization we can transform CT value into 2D grayscale image and display it. The refactoring algorithm of 3D bone tissue refactors CT visualization data into 3D bone model. By defining the resampling coordinates in 3D refactoring window, the system provides re-slicing of axial section view, sagittal section view and coronary section view.