3d viewer init implemented