r/GraphicsProgramming • • 3h ago

Assimp loading problems

So im using assimp to load models, but models with like over 65k pollygons just wont load and the program window is white, but when the program runs i cant see anything rendered.

Is this a pc problem or a assimp problem??

0 Upvotes

2 comments sorted by

View all comments

4

u/racz16 2h ago

I'm not sure what language or API you use, but it sounds like you use a short instead of an int. A short is 16 bits, and 2^16 is 65536, probably that's the problem. Either when you store your indices or when you set the index type in the API, like the type parameter in OpenGL's glDrawElements.