added render function to view3D
added initialization to view3d