I'm working on a game engine and just started with mesh loading. I started with the format
.obj. I ran into this problem:
The guide I'm following gave me a couple of
.obj files to try and they all worked fine. I then asked a friend who is working with 3D animation to give me a couple of
.obj files to try in addition, but his files, when opened up in a txt format, contain no newlines to separate the information at all. (Everything was on one line). The loading function I use depends on this to extract the information.
Are the files he gave me bad in some way? Is my function bad because it depends on newlines being there? (I can't see
.obj files having any other delimiter character...)
My friend made and exported the 3D models in Blender. This is the guide I'm following.