use osgEarthSilverLining with multi-viewport

classic Classic list List threaded Threaded
2 messages Options
hawayii hawayii
Reply | Threaded
Open this post in threaded view
|

use osgEarthSilverLining with multi-viewport

hi

    i am using osg-3-4-0 and osgEarth 2-8.
    my osgEarth code is very simple as shown below. it uses SilverLiningNode to render sky. And there are two camera, one is master camera and the other is slave camera which has its own graphicscontext.
    the problem is that the program will crash when running the code. but it works well when there is just a master camera.
    does it mean that osgEarthSilverLining doesn't support multi-viewport?
    i hope someone can give me some suggestions, or give me a sample code which can work well.


thanks


main.cpp
Philippe Renon Philippe Renon
Reply | Threaded
Open this post in threaded view
|

Re: use osgEarthSilverLining with multi-viewport

Do you get the same crash if SilverLining is not used ?

Do you have stack traces of the crash ?