Hello!
I'm working on a model processing tool, but I'm having some trouble localizing my error. I've loaded an obj file and split it into separate vertex buffers for each material used.
Drawing each vertex buffer individually works perfectly. However, drawing certain combinations of vertex buffers crashes the game without an error report. It's weird.
It only happens with one model so far, but it happens every time I load this model. The error is clearly on my part, but I need help figuring out what I'm doing wrong! What error in the vertex buffer could crash the game without an error message, and only when it's drawn after a different vertex buffer?
EDIT:
It seems to be related to the amount of geometry submitted at the same time. The model has a high triangle count.
Are the limits to this documented anywhere?
I'm working on a model processing tool, but I'm having some trouble localizing my error. I've loaded an obj file and split it into separate vertex buffers for each material used.
Drawing each vertex buffer individually works perfectly. However, drawing certain combinations of vertex buffers crashes the game without an error report. It's weird.
It only happens with one model so far, but it happens every time I load this model. The error is clearly on my part, but I need help figuring out what I'm doing wrong! What error in the vertex buffer could crash the game without an error message, and only when it's drawn after a different vertex buffer?
EDIT:
It seems to be related to the amount of geometry submitted at the same time. The model has a high triangle count.
Are the limits to this documented anywhere?
Last edited: