Hey, I'm trying to hold a load of 3D models in my program... But I'm not sure how to go about doing it.
At first, I tried an array of faces, containing an array of vertices, each being an array of XYZ. This returned stack overflows for big models.
So then I tried an array of faces, which referred to an array of vertices which was an array of XYZ... But again - stack overflow.
I checked, and apparently some of my models actually have 20,000+ faces... And this is far too many to put into an array.
I know I could just make it a lower polygon model... But I'd rather change my method than my target.
I'm not entirely sure how else to go about doing this... And I've tried to look about on Google to try and see how some other people have done it, but I've not been able to find anything.
Could anyone give me a helpful push in the right direction?
Thanks,
Stephen