Hi Jorge,

Do you want me to dive in look at your submissions with a view to
merging the changes now, or is the post a work in progress for others
to test?

Robert.

On Fri, Mar 11, 2011 at 10:24 AM, Jorge Izquierdo Ciges
<[email protected]> wrote:
> In this message we include a code example of osgViewer to load a model from
> SD in Android with GLES1. Multitouch Support and context is done in Java
> side. To use 2.x Android devices (Native context requires 2.3) Its a Static
> Osg build and uses serializers and deprecated to draw all osg native
> formats. All linux compatible plugins with no dependecies can be used but we
> only enabled a few of them. For those who use or test this code example
> remember to set correctly your include and library routes in Android.mk (jni
> folder)
> At the same time the image in this post is a example running on GLES 2.0
> there have been some troubles setting shaders because they don't follow
> "exactly" Shader implementation in GL2 mainly light and precission issues
> that have been already disclosed in this forum. This is only to show current
> progress. At this time osg doesn't work with GLES2.0 (Even if you set it to
> do so) and will make your program crash. We have made fixes and make it
> work. Soon we will send a submission fixing the trouble.
>
> 2011/3/10 Robert Osfield <[email protected]>
>>
>> Thanks Mourad, fix now merged and submitted to svn/trunk.
>>
>> On Thu, Mar 10, 2011 at 2:30 PM, Mourad Boufarguine
>> <[email protected]> wrote:
>> > Hi all,
>> >
>> > I gave osg android port a try on Windows using cygwin, and it worked
>> > like a
>> > charm (only a tiny problem with osgViewer, when cross compiling for
>> > android
>> > using cygwin, the windows path in osgViewer/CMakeLists.txt is used
>> > rather
>> > than the android one, fix attached).
>> > For the moment I only compiled all the osg libs and plugins that don't
>> > rely
>> > on a 3rdParty lib. I will let you know when I succeed to build an app
>> > for my
>> > nexus S :) (the test apk Jorge sent, works for me)
>> >
>> > Thanks for your efforts.
>> >
>> > Mourad
>> >
>> >
>> > On Tue, Mar 8, 2011 at 5:37 PM, Robert Osfield
>> > <[email protected]>
>> > wrote:
>> >>
>> >> Hi Rafa, Jorge and all ;-)
>> >>
>> >> On Mon, Mar 7, 2011 at 11:53 AM, Rafa Gaitan <[email protected]>
>> >> wrote:
>> >> > Finally Jorge and me have finished a first approach to build OSG
>> >> > under
>> >> > Android using the android NDK.
>> >> >
>> >> > Attached you will find all required code and cmake modifications
>> >> > (They
>> >> > are based on a previous submissions I sent last week).
>> >>
>> >> Many thanks for your efforts.  I have now merged and checked in
>> >> changes to OpenSceneGraph svn/trunk.  I haven't tested the Android
>> >> build at all yet, only the normal Linux build side.
>> >>
>> >> Would it be possible for you to put up a documentation page on the
>> >> wiki to show how to set up to build the OSG on Android?
>> >>
>> >> Thanks,
>> >> Robert.
>> >> _______________________________________________
>> >> osg-submissions mailing list
>> >> [email protected]
>> >>
>> >>
>> >> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>> >
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> >
>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>> _______________________________________________
>> osg-submissions mailing list
>> [email protected]
>>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to