03-06-2019, 03:27 PM
(This post was last modified: 03-06-2019, 03:34 PM by Brian Beuken.)
Hi Joachim
there's some code we can't seehere but I can see one thing wrong...if your drawing a billboard, from an element list, you mybe don't have 6 vertices, you have 4? though my examples don't remove the repeats.
Also you need to make sure you bind the array and the element buffers. you seem to be unbinding them after you set them up.
let me know if this gets you further?
there's some code we can't seehere but I can see one thing wrong...if your drawing a billboard, from an element list, you mybe don't have 6 vertices, you have 4? though my examples don't remove the repeats.
Also you need to make sure you bind the array and the element buffers. you seem to be unbinding them after you set them up.
let me know if this gets you further?
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's