Creating an interactive 3D viewer for object manipulation