smartGL
smartGL copied to clipboard
SmartGL is a Graphic Engine for creating Android Games and Apps. It is based on OpenGL and handles 2D Sprites and 3D Textured Objects.
[ship.zip](https://github.com/smart-fun/smartGL/files/9403133/ship.zip) ``` private Object3D loadShip(@NonNull Context context) { mSpaceFrigateTexture = new Texture(context, R.drawable.ship); WavefrontModel modelColored = new WavefrontModel.Builder(context, R.raw.ship_1) .addTexture("ship", mSpaceCruiserTexture) .addTexture("cube1_auv", mSpaceCruiserTexture) .create(); Object3D object3D = modelColored.toObject3D(); object3D.setScale(1f, 1f,...
In my quest to add skeletal 3D animation for smartGL, I made a Collada/DAE file loader Simply [download this ColladaModel.java](https://github.com/creek23/smartGL/blob/master/smartgl/src/main/java/fr/arnaudguyon/smartgl/tools/ColladaModel.java), then place it in directory of `{yourproject}/app/src/main/java/fr/arnaudguyon/smartgl/tools/{here}` **DISCLAIMER:** it is...
To reproduce problem, create a tilemap. White grid shows because of white-ish halo surrounding each texture. Made a quick fix, [available on my fork](https://github.com/creek23/smartGL/commit/04814cc3d9e8a04380ed7f68b5d7a49a79098712#diff-d4c908643de2559e9ebc37f4fe9f9646): https://github.com/creek23/smartGL/blob/master/smartgl/src/main/java/fr/arnaudguyon/smartgl/opengl/OpenGLRenderer.java ~creek23
Tried rendering 100x100 iso tile, and FPS dropped to 2frames/second How come SmartGLRenderer tries to render objects outside the screen? I had to implement my own clipping by checking tile...
I was trying out Transparent Background as per code snippet on this link: https://github.com/smart-fun/smartGL/wiki/Transparent-Background Basically, I have a demo code from https://github.com/smart-fun/smartGL (just the rotating 2D sprite -- not the...
I want to display a animated 3D model in .fbx format. How can I achieve this ?
Hello, I am an Android develop who really interested in game development and I just start for a while. I really interesting to how the game engine work. I would...
Hello, I'm currently trying to apply touch event to my 3d Object. How can I use onTouchEvent? thank you very much.
how can you add light ? I tried to add it through "setLightParallel", but I can't do it
Thanks for this really great library . After I return to show the SmartGl app from the background running apps list , it takes a lot of time to be...