Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Pages: 1
Hi.
I have a problem with my android app created in OpenSpace. My terrain does not appear when i install my apk file to my Surftab Breeze 10.1 quad. On windows everything is working fine. I loaded a texture to my terrain with visual scripting on the beginning of the scene and my dragon should move to the destination when i touch the terrain, but well, there's no terrain. Is this an device problem or (if not) can i solve this problem with a solution? Thanks for any help.
PS: OpenSpace is really great and easy, thanks for it
Last edited by Siris (22-Sep-2015 19:44:18)
Offline
Hello,
- check the texture formats on the terrain (avoid DDS file format for android compatibility)
- check the material, if you use shader you must create an opengl es shader.
- did you test on another android device ?
- remove all additional lights and set only a directional, on android only 3 lights at the same time should work on an object because of the shader generation system in Ogre.
- you can also send me the scene so I could check what could be the issue
Offline
Hi arkeon and sorry for my late answer, i had much to do in the last time...
I've tried the 4 ways, but it don't works. Anyway, i will try to make a new project and i will give you my feedback later. I think my scene is too easy to send it to you right now.
Offline
Hi arkeon.
I will pack the project into a .zip. Which files shall i pack into the .zip? I don't know all the files, but the assets folder is of course under the files for the .zip. I've tested my scene with a new camera, but the terrain doesn't appears. One more question: Where can i send it to you?
Thanks.
Siris
Offline
Hi arkeon.
I sent you an email with a dropbox link that contains my project. Unfortunality, i didn't found the folder you said. Therefore i zipped the complete project. I deleted the apk from around 20 mb.
Offline
ok so I just did a test and could see the terrain on android device.
first do not use viewports plugit if you don't need it here.
second the materials are not good (check the material files generated in the asset folder)
remove the lines
cull_hardware none
cull_software none
and set an ambient color otherwise the model wont show without correct lights at all
you should also set the textures here, but it is working with the plugit anyway but this is not clean.
Offline
Hm, strange, my android export doesn't work anymore. It's the keystore file again:
---------------------------
Error
---------------------------
The APK file was not generated, check the signing password and file.
---------------------------
OK
---------------------------
I've done these points:
"first do not use viewports plugit if you don't need it here.
second the materials are not good (check the material files generated in the asset folder)
remove the lines
cull_hardware none
cull_software none"
I imported a new object to the scene, too. Maybe i just need to use the solidify modifier in Blender. I don't know, but now i can't test my project on android.
Offline
I made some changes for the next release, the android export error is now more verbose.
until then check the files names. verify the files use only standard character, the aapt tool for android do not allow accents or special characters.
you can also try to re create the key in case the password is bad
Offline
Okay, thank you arkeon, i will wait for it, and in the meanwhile, i will prepare my project with blender
Offline
Pages: 1