Hello Jan, I didn't use any animated model in android but, Did you add the serializers or deprecated wrappers into your Android.mk file?
I recently added (pushed up just now) some missing libraries to the Android.mk. $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgvolume.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgtext.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgterrain.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgsim.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgshadow.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgparticle.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgmanipulator.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osgfx.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osganimation.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_serializers_osg.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgwidget.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgviewer.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgvolume.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgtext.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgterrain.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgsim.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgshadow.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgparticle.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osgfx.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osganimation.a \ $(OSG_SDK)/obj/local/armeabi/libosgdb_deprecated_osg.a \ And I also have this in my JNI code: USE_OSGPLUGIN(ive) USE_OSGPLUGIN(osg) USE_OSGPLUGIN(osg2) USE_OSGPLUGIN(rgb) USE_OSGPLUGIN(OpenFlight) USE_DOTOSGWRAPPER_LIBRARY(osg) USE_DOTOSGWRAPPER_LIBRARY(osgFX) USE_DOTOSGWRAPPER_LIBRARY(osgParticle) USE_DOTOSGWRAPPER_LIBRARY(osgShadow) USE_DOTOSGWRAPPER_LIBRARY(osgSim) USE_DOTOSGWRAPPER_LIBRARY(osgTerrain) USE_DOTOSGWRAPPER_LIBRARY(osgText) USE_DOTOSGWRAPPER_LIBRARY(osgViewer) USE_DOTOSGWRAPPER_LIBRARY(osgVolume) USE_DOTOSGWRAPPER_LIBRARY(osgWidget) USE_SERIALIZER_WRAPPER_LIBRARY(osg) USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation) USE_SERIALIZER_WRAPPER_LIBRARY(osgFX) USE_SERIALIZER_WRAPPER_LIBRARY(osgManipulator) USE_SERIALIZER_WRAPPER_LIBRARY(osgParticle) USE_SERIALIZER_WRAPPER_LIBRARY(osgShadow) USE_SERIALIZER_WRAPPER_LIBRARY(osgSim) USE_SERIALIZER_WRAPPER_LIBRARY(osgTerrain) USE_SERIALIZER_WRAPPER_LIBRARY(osgText) USE_SERIALIZER_WRAPPER_LIBRARY(osgVolume) Cheers, Rafa. 2013/2/8 Jan Ciger <[email protected]> > Hello, > > I am trying to load a simple keyframe animated object (a spinning Blender > monkey) on Android, however it fails every time. The model loads, but the > osgAnimation nodes (BasicAnimationManager, Animation, etc.) are stripped > out/not loaded. Thus no animation. I have tried .osg (loads, but no > animation), .osgt (does not load at all, not recognized on Android for some > reason), .osgb (doesn't work at all - error), .ive (loads, but no > animation). And yes, the .osg/.osgt file loads correctly on the desktop, > including the osgAnimation callback and everything else, I am even able to > play the animation from my code. > > I suspect that the osgAnimation serializers are not active, but I have > USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation) > in my code and the libraries are linked in. > > I guess I am missing something obvious, any tips? > > Thanks a lot, > > Jan > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Rafael Gaitán Linares CTO at Mirage Technologies S.L - http://www.mirage-tech.com gvSIG3D Developer - http://gvsig3d.blogspot.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

