ddiakopoulos / tinyply

:earth_africa: C++11 ply 3d mesh format importer & exporter
597 stars 118 forks source link

error while reading ascii PLY files #51

Open PerspectivesLab opened 2 years ago

PerspectivesLab commented 2 years ago

hi there, i am exporting from 3dsmax in the ply format, for each ply export in cant read the ascii file, tinyply generates an error teapot_ascii.zip

you will find joind an example file the error is generated at:

template<typename T> void ply_cast_ascii(void * dest, std::istream & is)
{
    *(static_cast<T *>(dest)) = ply_read_ascii<T>(is);
}
ddiakopoulos commented 2 years ago

Thank you @PerspectivesLab I will take a look

PerspectivesLab commented 2 years ago

@ddiakopoulos Hi ! do you comfirm the bug from the file joined ? thanks