openscenegraph / OpenSceneGraph

OpenSceneGraph git repository
http://www.openscenegraph.org
Other
3.25k stars 1.42k forks source link

No modal Window #1152

Open Daoudou opened 2 years ago

Daoudou commented 2 years ago

Hello :)

I want to know if it's possible to build a no modal window ?? thx in advance

my code :

 `else
  {
    osgViewer::Viewer* singleViewer = new osgViewer::Viewer;
    viewer = singleViewer;
    view = singleViewer;
    view->setUpViewInWindow(150, 150, 1024, 768, 0);
 }
view->setSceneData(root.get());`

Daoudou

LaurensVoerman commented 2 years ago

The osg library does not create modal windows on any platform I know of (linux/windows). but maybe it does on android. What is your question exactly? Regards, Laurens.

Daoudou commented 2 years ago

Thanks for your answer Sorry sorry I expressed myself badly ^^'

I rephrase: How can i build my own window and past in the view scene ?? with view.realize() ?? Daoudou