Comments (11)
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.
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.
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.
OK no problem, I'm looking for your change, and I test it just after!
from rajawali.
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.
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.
Could you check LogCat for me, specifically "supportsUIntBuffers" ?
from rajawali.
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.
Ah, my bad, some if statements were wrong after the fix.
I've just committed a new version. Could you try?
Thanks :)
from rajawali.
Yeah it works!!!! Perfect, thank you very much Denis!
from rajawali.
Great news. Finally a decent fix for this problem :)
Thanks for your help!
from rajawali.
Related Issues (20)
- jcenter repository has been depracated
- Seeking Luminance based desaturation
- Seeking Lighten and Darken Blend Modes
- Seeking point texture plugin
- improving SpriteSheetMaterialPlugin efficiency HOT 1
- Seeking Flexible Sprite Sheet Animation
- Seeking runtime adjustment of AlphaMask threshold
- Please restore AnimatedSpritesFragment to example app
- Stencil Buffer is not initializing corrrectly,
- Some `ScreenQuad` materials spew error messages at frame rate
- Objects starts to render with delay when camera if far from them HOT 1
- How to translate object with touch screen?
- anyway to implement ray in the library?
- Create Sphere with phiStart, phiLength, thetaStart, thetaLength HOT 1
- LoaderFBX.java:347 ArrayIndexOutOfBoundsException
- display obj model in AR
- Examples are broken
- When will the new version be released?
- load obj file fail,NumberFormatException: For input string: "nan"
- Caused by: org.rajawali3d.loader.ParsingException: Couldn't find texture ingrid HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rajawali.