HI Mohmoud, I haven't programmed on Android yet, but as CompositeViewer can be made to work with a single GraphicsContext I see no reason why you can't just create a GraphicsWindowEmbedded and assign this to each of your View's Camera, with a separate Viewport selecting the part of the window you want to use.
Robert. On 4 June 2013 11:23, Mahmoud Hossam <[email protected]> wrote: > > Dear Ladies and Gentlemen, > > I am currently working on developing a visualization tool using > OpenSceneGraph. I am supposed to develop a branch for the tool to work on > Android. > > I am having some problems and my experience with OSG cannot really help me > pass it. > > > > In few Words > > - - My tool should have multiple views of the displayed object. > Something like CAD software or Maya (where you basically have 4 views, one > orthogonal view and 3 top, front and side views). > > - - I easily managed to do that on Widows using Composite Viewer > displaying multiple Views. > > > > On Android I used the example provided of GLES1. In the native code. > OsgViewer is used and it is setup in the window by using > setUpViewerAsEmbeddedInWindow() . > > > > - - I am trying to use different function to setup the view for > the windows but It does not seem to work, I am always getting this error > (View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface > available, cannot create windows.). > > - - What do you think the problem here? for Android it is better > to use One CompositeViewer as the render object for the EGLView class in > Java? or is it better to make different EGL instances with different normal > Viewer? > > > > Thanks in advance for your help, > > Best Regards, > > Mahmoud Aly > > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

