[osg-users] Latest OSG cannot realize viewer under Android
michael kapelko
kornerr at gmail.com
Thu Oct 20 06:45:59 PDT 2016
Since I can't find the starting point for Android with latest OSG, I'll try
to dive back into year 2011 to the point where it first worked for Jorge
Izquierdo Ciges who wrote the first Android docs:
http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/44-building-openscenegraph-for-android-3-0-3-0-1
I'll recreate mid-2011 development environment and challenge my luck.
2016-10-20 1:38 GMT+07:00 Robert Osfield <robert.osfield at gmail.com>:
> Hi Michael,
>
> I haven't done any development under Android myself so can't comment
> on the specifics. A few general comments might help a bit perhaps.
> Hopefully others in the community with Android experience will be chip
> in with specifics.
>
> The osgViewer library doesn't have any Android support built into it,
> so it's not possible to just use osgViewer like you do on the desktop.
> Instead you'll need to have create an GLES graphics window from within
> Android and then get osgViewer to render to this via the
> GraphicsWindowEmbedded adapter. This is the route that the
> OpenSceneGraph/examples/osgAndoidExampleGLES1/GLES2 take, this is what
> the setUpViewerAsEmbeddedInWindow(..) call will be doing.
>
> Robert.
>
>
> On 19 October 2016 at 15:26, michael kapelko <kornerr at gmail.com> wrote:
> > Hi.
> > I'm trying to make a minimal OSG application to work under Android.
> > I closely follow GLES2 example.
> > Upon viewer->realize() call I get the following errors:
> >
> > I/OSGLog: Warning:
> > GraphicsContext::WindowingSystemInterfaces::
> getWindowingSystemInterface()
> > failed, no interfaces available.
> > I/OSGLog: AcrossAllScreens::configure() : Error, no WindowSystemInterface
> > available, cannot create windows.
> > I/OSGLog: Viewer::realize() - failed to set up any windows
> >
> > This leads to a viewer without instantiated Camera.
> >
> > Is it normal to have those errors? Is there any windowing interface for
> > Android?
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-
> openscenegraph.org
> >
> _______________________________________________
> 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/20161020/e7e5feab/attachment-0003.htm>
More information about the osg-users
mailing list