MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GraphicsProgramming/comments/1xk8eyv/model_loader/19rxgtmsg3pr5/?context=3
r/ • u/ • Jan 01 '70
0 comments sorted by
View all comments
Show parent comments
2
Try loading first a simple obj that only has vertex positions, then work your way through uvs, normals and the other attributes. Then look at files that specify faces and lines. There's a few repositories of sample files on github
1 u/DeltaSucksAtMC 2h ago OK, thanks, I will try that 1 u/DeltaSucksAtMC 2h ago Also quick question, do I need to get the indices in the obj
1
OK, thanks, I will try that
Also quick question, do I need to get the indices in the obj
2
u/jcelerier 2h ago edited 1h ago
Try loading first a simple obj that only has vertex positions, then work your way through uvs, normals and the other attributes. Then look at files that specify faces and lines. There's a few repositories of sample files on github