Hi Ferdi,
You should be able to just specify the screen number to open up a
window on the required card. osgviewer itself should open up on both
windows by default, does this happen? If so then it's querying the
available screens and then opening up windows across then using the
ScreenIndentifier part of osg::GraphicsContext::Traits. The code in
src/osgViewer/View.cpp so have a look through it for inspiration.
Robert.
On Sat, Dec 6, 2008 at 9:01 PM, Ferdi Smit <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How do I open a context on a specific GPU using OSG on windows (vista 64bit
> with 2 pcie cards)? In linux I can simply configure a second screen using a
> different GPU by BusID, and then open a context on :0.0 or :0.1 (i.e.
> osg::GraphicsContext::ScreenIdentifier("", 0, 1). Anyone knows?
>
> -- Regards,
>
> Ferdi Smit
>
> _______________________________________________
> 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