Initializing 3D Viewer