adding bool to render or not , exports ply file eitherway