Re: [osg-users] osg rain effect on multiple channels
Hi Nick, On 23 December 2013 07:41, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: I tried the default osgParticle::PrecipitationEffect accross three channels (left,center,right) with the default settings and the observation is that is shows ok on the center and right channels, however there is no effect on the left channels - same code only the view and projection matrix different. Any clue why? I don't have any ideas why this might happen. How are you setting up the different channels? Different machines? Sample machine different graphics contexts? What happens if you change the view matrix of the left channel to be nearer to the centre direction? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg rain effect on multiple channels
Hi Robert, machine per channel, the view matrices are set to blend on the edges. I will try your hint and let you know Nick On Mon, Dec 23, 2013 at 12:47 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On 23 December 2013 07:41, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: I tried the default osgParticle::PrecipitationEffect accross three channels (left,center,right) with the default settings and the observation is that is shows ok on the center and right channels, however there is no effect on the left channels - same code only the view and projection matrix different. Any clue why? I don't have any ideas why this might happen. How are you setting up the different channels? Different machines? Sample machine different graphics contexts? What happens if you change the view matrix of the left channel to be nearer to the centre direction? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] 3.2.1 test results - not a regression
Hi Rebbeca, Have you tried with a newer ndk? I've just compiled the trunk against ndk-r9 and ndk-r8e . I think this issue was solved in ndk-r8c. Cheers. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg rain effect on multiple channels
Hi again Robert, It has to do something with the ClipNode (mimiced code from the osgprecipitation example). On one of the channels the rain is less dense then on the other two, I managed to get some rain visible by reducing the clip distance on the ClipPlane. Nick On Mon, Dec 23, 2013 at 1:43 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Robert, machine per channel, the view matrices are set to blend on the edges. I will try your hint and let you know Nick On Mon, Dec 23, 2013 at 12:47 PM, Robert Osfield robert.osfi...@gmail.com wrote: Hi Nick, On 23 December 2013 07:41, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: I tried the default osgParticle::PrecipitationEffect accross three channels (left,center,right) with the default settings and the observation is that is shows ok on the center and right channels, however there is no effect on the left channels - same code only the view and projection matrix different. Any clue why? I don't have any ideas why this might happen. How are you setting up the different channels? Different machines? Sample machine different graphics contexts? What happens if you change the view matrix of the left channel to be nearer to the centre direction? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgviewerQt crash on startup
Jean-Claude Monnin wrote: The examples osgQtWidgets and osgQtBrowser run correctly, but osgviewerQt crashes. Following error is displayed on the console: Cannot make QOpenGLContext current in a different thread I haven't looked much into it yet. Is this a know issue? Is osgviewerQt working with QT 5.0 or 5.1? A similar issue with Qt 4.8 is known in Ubuntu ( https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1198806 ) but doesn't appear to have been reported here before, and still exists in development head: $ osgviewerQt [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. osgviewerQt: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. Aborted (core dumped) $ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osgWidget Label Text Callback
Hello, Could anyone tell me how I might use a callback to update the osgWidget::Label text each frame? I have a working osgWidget and can set the text using osgWidget::Label::setText(string), but I can't seem to figure out how to use a callback to keep that string updated based on a class that contains a string that is frequently updated. -Ethan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57750#57750 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgviewerQt crash on startup
This may be a more general Qt+threading problem: osgQtBrowser/osgQtWidgets are also affected if run with threading (--frame-thread). The following is from 3.2 branch tip, Qt 4.8: palmer@lap14:~$ osgviewerQt --SingleThreaded [doesn't crash, though the view windows are blank because the .osgt files it tries to load don't exist] palmer@lap14:~$ osgviewerQt --CullThreadPerCameraDrawThreadPerContext [doesn't crash, though the view windows are blank because the .osgt files it tries to load don't exist] palmer@lap14:~$ osgviewerQt --CullDrawThreadPerContext [=default] [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. osgviewerQt: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. Aborted (core dumped) palmer@lap14:~$ osgviewerQt --DrawThreadPerContext [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. osgviewerQt: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. Aborted (core dumped) palmer@lap14:~$ osgQtBrowser --frame-thread [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. osgQtBrowser: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed. Aborted (core dumped) palmer@lap14:~$ osgQtWidgets --frame-thread Subfile cow.osg could not be loaded Subfile cow.osg.(15,0,5).trans could not be loaded osgQtWidgets: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. [hang] ^C Segmentation fault (core dumped) palmer@lap14:~$ palmer@lap14:~$ osgQtWidgets --frame-thread Subfile cow.osg could not be loaded Subfile cow.osg.(15,0,5).trans could not be loaded [xcb] Unknown sequence number while processing reply [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. osgQtWidgets: ../../src/xcb_io.c:635: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed. Aborted (core dumped) palmer@lap14:~$ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org