[osg-users] Android osgPlugins

Rafa Gaitan rafa.gaitan at gmail.com
Fri Aug 21 07:13:51 PDT 2015


Hi Christian,

Since osgAndroid is in github, the best you can do is send a pull request
with your changes, so I can review them, and easily apply them.

Thanks for your efforts!
Rafa.


El jue., 20 ago. 2015 a las 22:20, Christian Kehl (<christian-kehl at web.de>)
escribió:

> Hi,
>
> In the meanwhile, I was working further on the topic - and cracked it this
> time, I think. First and foremost, I use OpenSceneGraph 3.3.8 (still) and
> compile it for Android, while having the necessary 3rdParty-folder inside
> the OpenSceneGraph root folder (little suggestion: at some point this may
> be changed in the makefiles to search that folder by environment variable
> path, such as the data folder ...). I just define the GLES profile and the
> android platform and build it. Next:
>
> A) For generating the PREBUILT_STATIC_LIBRARY, I took a sip from the
> OpenCV recipe that defines a local mk-file function that builds each 3rd
> Party dependency for the android package.
>
> B) These local prebuilds are then referred to via
> "LOCAL_WHOLE_STATIC_LIBRARIES", which is necessary so that the ndk-build
> linker finds all referred functions. That's the actual behaviour I kind'a
> expected in any case for a STATIC library (containing all content), bust as
> Jan pointed out: Android NDK - you'll never know what you get :D
>
> This way, it works for me now, as I can load osg.Image() within Android
> using a jpeg image, in order to texture a geometry.
>
> Manual and code submission are still on my agenda. The appended make file
> is afree-for-all to try out - just take the ".txt" extension away.
>
> Cheers,
> Christian
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64855#64855
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150821/11ea3107/attachment-0003.htm>


More information about the osg-users mailing list