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);
}