I'm currently working on my Game Enginea game engine and have just started with some mesh loading. I started with the format .obj (and yeah I know there are alot of better formats, but I was following guides and I think it's good pratices aswell).obj
. Now I have run in to aran into this problem.:
The guide I wasI'm following gave youme a couple of .obj.obj
files to try with and it wasthey all goodworked fine. I then asked a friend who is working with 3D animation to give me a couple of .obj.obj
files to try with aswellin addition, howeverbut his files, when opened up in a txt format, doesn't contain any new linesno newlines to separate the information at all. (everythingEverything was on one rowline). Now I theThe loading function I use depends on this to extract the information.
My question is: isAre the files I gothe gave me bad in someway and the information should be on diffrent rows, or issome way? Is my function bad because it depends on thatnewlines being there? ( and seeing how there are no ; or anything like that in theI can't see .obj.obj
files, I don't really know having any other way to seperate the informationdelimiter character...)
My friend made the 3D modells and exported the modells3D models in blender, and the guide im following isBlender. http://www.braynzarsoft.net/index.php?p=DX11LessonsThis is the guide I'm following.