Code Monkey home page Code Monkey logo

Comments (11)

MasDennis avatar MasDennis commented on June 28, 2024

Hi Gabriel,
The problem is that that some Galaxy devices don't support integer index buffers, only short buffers.
I'm trying to come up with a good way of detecting this before it fails in the rendering loop. Haven't yet found a good way though. Currently it's a hack that checks which device it's running on.
I'll investigate further.

from rajawali.

adgeg avatar adgeg commented on June 28, 2024

OK thanks for your explanation.
It is too bad, I would really have loved working with your framework, but I think I need to use min3d instead, cause the app I am working on must run on this device...
Anyway I keep your framework in mind, and when I wouldn't have such a compatibility obligation, I'll sure choose it!
Thanks again.

from rajawali.

MasDennis avatar MasDennis commented on June 28, 2024

Actually, I just found out how to fix it :-)
I just need to check for the GL_OES_element_index_uint capability.
I will add this right away. You might have to help me test it ;-)

from rajawali.

adgeg avatar adgeg commented on June 28, 2024

OK no problem, I'm looking for your change, and I test it just after!

from rajawali.

MasDennis avatar MasDennis commented on June 28, 2024

Ok, I've committed a new jar to the examples project (https://github.com/MasDennis/RajawaliExamples)
Could you test it for me?
Thanks!

from rajawali.

adgeg avatar adgeg commented on June 28, 2024

I have replaced the jar with your new one, but nothing has changed...
I repeat the test many times, and make sure to uninstall the app and clean the project, and it is still the same...

from rajawali.

MasDennis avatar MasDennis commented on June 28, 2024

Could you check LogCat for me, specifically "supportsUIntBuffers" ?

from rajawali.

adgeg avatar adgeg commented on June 28, 2024

Indeed, the supportsUIntBuffers value is false on my Galaxy Ace. But there is no exception thrown, I just get the black screen. I think you would easily be able to correct this and throw an exception instead.
BTW, I prefer to ask you, would it be possible/realistic for me to change your lib in order to avoid the use of unsigned int buffers?

from rajawali.

MasDennis avatar MasDennis commented on June 28, 2024

Ah, my bad, some if statements were wrong after the fix.
I've just committed a new version. Could you try?
Thanks :)

from rajawali.

adgeg avatar adgeg commented on June 28, 2024

Yeah it works!!!! Perfect, thank you very much Denis!

from rajawali.

MasDennis avatar MasDennis commented on June 28, 2024

Great news. Finally a decent fix for this problem :)
Thanks for your help!

from rajawali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.