#When Adding IBO object wont render?

10 messages · Page 1 of 1 (latest)

upper ruin
#

can you describe the issue specifically

pale badge
#

when I had just the vertices and no index buffer, it would render perfectly fine, as a black triangle, I followed a tutorial for adding and index buffer, and made a class for it, and it didnt work, so I made a post about it, in the OpenTK discord server, and they said my ibo wasnt connected to my vao, and so I binding my vao before making the ibo, and nothing changed

upper ruin
#

perhaps the indices are wrong or something

#

use a graphics debugger and make sure the API state looks correct and if it does then inspect the vertex stream

pale badge
#

actually, made me have to double check my vertices and indices, and my vertices are wrong, because there in normalized screen space. but I fixed them and its still not rendering. aswell I am using RenderDoc for debugging but I'm not really sure what I'm supposed to be looking for

pale badge
upper ruin
#

sounds worth investigating

pale badge
#

Ive been looking in my code, and I havent deleted a buffer, as it may have said I did, should I bind the buffer while rendering the object?

upper ruin
#

yes it needs to be bound

#

the vao