GL2KitExtensions icon indicating copy to clipboard operation
GL2KitExtensions copied to clipboard

Support glDrawElements?

Open lifangda01 opened this issue 8 years ago • 4 comments

Hi I noticed that every DrawCall is rendered with glDrawArrays. Now for my object, I have an IBO but it can be only rendered with glDrawElements. Any plan for supporting glDrawElements or work-arounds? Thank you.

lifangda01 avatar Jun 09 '17 23:06 lifangda01

Sorry, I'm not supporting this code any more - I have switched over to using newer APIs and/or commercial game engines. You will have to figure out any changes yourself, sorry.

On 10 June 2017 at 00:22, Fangda Li [email protected] wrote:

Hi I noticed that every DrawCall is rendered with glDrawArrays. Now for my object, I have an IBO but it can be only rendered with glDrawElements. Any plan for supporting glDrawElements or work-arounds? Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adamgit/GL2KitExtensions/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR1-RwCOFMBYm2Nb-eEQDjyJtbamWIPks5sCdOkgaJpZM4N17JW .

adamgit avatar Jun 10 '17 00:06 adamgit

Can I ask which newer APIs ?

weepy avatar Dec 20 '17 11:12 weepy

Sorry, I thought this included some fixed-function pipeline improvements too - but looking at it now, I think I'd already removed those before I published this repo :).

The TL;DR is that so many people have switched over to using engines like Unity3D that there's been almost no interest in these improvements. I'm very happy for other people to pick this up and run with it, but the pace of GL ES improvements is so fast (e.g. PBR etc now running easily on mobile, realtime GI appearing on high-end mobile) that without a 3rd party engine it's too hard to keep up.

adamgit avatar Dec 20 '17 11:12 adamgit

I hear you. Maintaining libraries is a full time occupation! That’s why I don’t do it myself :-)

I’m just starting out trying to learn OpenGL to do some simple image filters and video montages. But all the frameworks are so heavy to do this :-(

weepy avatar Dec 20 '17 12:12 weepy