OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Rendering multiple screens


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
njr3
Newbie


Joined: 31 Oct 2018
Posts: 1

PostPosted: Wed Oct 31, 2018 8:46 pm    Post subject:
Rendering multiple screens
Reply with quote

Hi,

I'm fairly new to the the osg community but I'm currently trying to create a program that will span over 4 screens (same view different angles).

I tried to setup viewer.setUpViewAcrossAllScreens() but it crashes claiming the following:

    Error: win32windowingsystem::getsampleopenGLcontext() - unable to create an OpenGL rendering context
    Grapicswindow has not been created succesfully.
    Error: win32windowingsystem::getsampleopenGLcontext() - unable to create an OpenGL rendering context
    Grapicswindow has not been created succesfully.
    Error: [screen #0] GraphicsWindowWin32::makeCurrentImplementation() - Window not realized; cannot do makeCurrent.
    Warning: detected OpenGL error 'invalid operation' at Before Renderer::compile
    Warning: detected OpenGL error 'invalid operation' at start of GLOBjectsVisitor::apply(osg::Drawable& drawable)


Any help would be great !

Thanks,
Nat
Back to top
View user's profile Send private message
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 484
Location: France

PostPosted: Sat Nov 03, 2018 2:16 pm    Post subject:
Reply with quote

Hi,

hack example osgwindows (https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgwindows/osgwindows.cpp)

and replace traits.readDisplay with traits->setScreenIdentifier()


Cheers,
Julien

_________________
Twirling twirling twirling toward freedom
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Render multiple PRE_RENDER cameras to... ivar General 2 Tue Nov 13, 2018 3:41 pm View latest post
No new posts Resizing FBO camera while rendering romulogcerqueira General 9 Tue Oct 02, 2018 3:34 am View latest post
No new posts CompositeViewer with multiple view, a... Angel General 3 Tue Aug 28, 2018 1:15 pm View latest post
No new posts How to speed up rendering in this case. pwang General 3 Tue Jul 31, 2018 3:00 am View latest post
No new posts Volume rendering issues... tommwilliamson General 4 Wed Jul 25, 2018 12:19 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP