Hi, I build OSG3.0.0 on android with OpenGLES1. I red that Environmental mapping is not working on Android. So I convert model to earth.ive with embedded textures.(the convert tool is VPB,on windows the earth.ive texture display no problem)
On android ,these are the things what I did 1) I added "-losgdb_jpeg -ljpeg -lpng -ltiff" under "LOCAL_LDFLAGS" in Android.mk file 2) I added "USE_OSGPLUGIN(jpeg)" to "OsgMainApp.hpp" file. 3) The earth.ive is in Image folder only. The Image directory is in my mobile SD card (/mnt/sdcard/OSG/images). 4) The "libosgdb_jpeg.a libjpeg.a libpng.a libtiff.a" file is located in both "/home/xing/android/obj/local/armeabi" and "/home/xing/android/obj/local/armeabi-v7a" directories. Why the texture is not displaying. Thank you! Cheers, MuXing ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50166#50166 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org