Re: [osg-users] SingleThreaded leading to whole application just running on one core

2016-09-24 Thread Fabian Wiesel
Hi, > OSG is setting the affinity for some of its own threads, which is totally > legitimate. Currently, I was not able to confirm it on my Mac. But I think, I observed such a behaviour in my application on Linux. But take it with a grain of salt, as it can be the result of some other side

Re: [osg-users] SingleThreaded leading to whole application just running on one core

2016-09-24 Thread Pete Black
OK, Apologies if I caused offense. Goodbye. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68731#68731 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] ReadImage not routing to plugin?

2016-09-24 Thread Robert Osfield
Hi Robert, There isn't any easy way around this as there isn't a 1:1 mapping between all file extensions and loaders can load files. The extensions that a 3rd party library like ffmpeg supports isn't even fixed w.r.t what version of the OSG is compiled against it. For instance we might make an

Re: [osg-users] ReadImage not routing to plugin?

2016-09-24 Thread Robert Spearman
OK, I see the design flaw I was missing. You have to load a plugin library in order to see what extensions it handles, and plugins are only loaded when needed. But "needed" can only be known if you have loaded the plugin already. That's why there are so many hard coded extensions in the

Re: [osg-users] ReadImage not routing to plugin?

2016-09-24 Thread Robert Osfield
On 24 September 2016 at 16:37, Robert Spearman wrote: > > I did get the plugin to be used by preloading the plugin library - had been > using the wrong parameter. > > But my question is, why do I have to manually load a plugin? Why isn't this > automatic if the

Re: [osg-users] [3rdparty] Viewing Image in osgviewer using c++ code.

2016-09-24 Thread Robert Osfield
On 24 September 2016 at 11:10, Uma Devi Selvaraj wrote: > Hi, > > I am new to OSG ,Can Somebody tell me how to view > image(.jpeg,.png,geotiff etc..) in osgviewer using c++ code . I am able to > read image using osg::Image and osg::DB class. I don't how to display

Re: [osg-users] [3rdparty] WireFrame display for 3d model using c++ code

2016-09-24 Thread Robert Osfield
HI Uma, On 24 September 2016 at 08:13, Uma Devi Selvaraj wrote: > I am new to OSG. Can somebody tell me how to view wireframe of 3d model > using c++ code. I am able to view wireframe , points,texture etc using > osgviewer(with help of 'w' key ) only when I open the

Re: [osg-users] SingleThreaded leading to whole application just running on one core

2016-09-24 Thread Robert Osfield
Hi Pete, > I have no particular desire to repeat the last discussion, but i'll say it > again. But then you'lll throw is some ill-informed and emotive language anyway. >From my experience of maintaining an open source project for 17 years is that emotive language is used when people have a

Re: [osg-users] ReadImage not routing to plugin?

2016-09-24 Thread Robert Spearman
I did get the plugin to be used by preloading the plugin library - had been using the wrong parameter. But my question is, why do I have to manually load a plugin? Why isn't this automatic if the extension to plugin mapping is already in the registry? Thanks, Rob

Re: [osg-users] ReadImage not routing to plugin?

2016-09-24 Thread Robert Osfield
Hi Rob, osgmovie requires you to explictly preload the plugin if you don't use the .ffmpeg suffix try: osgmovie -e ffmpeg mymovie.qqq This will load the plugin with the extension/name ffmpeg. Robert. On 23 September 2016 at 23:30, Rob Spearman wrote: > >

[osg-users] [3rdparty] Viewing Image in osgviewer using c++ code.

2016-09-24 Thread Uma Devi Selvaraj
Hi, I am new to OSG ,Can Somebody tell me how to view image(.jpeg,.png,geotiff etc..) in osgviewer using c++ code . I am able to read image using osg::Image and osg::DB class. I don't how to display it in osgviewer. ... Thank you! Cheers, Uma -- Read this topic online

[osg-users] [3rdparty] WireFrame display for 3d model using c++ code

2016-09-24 Thread Uma Devi Selvaraj
Hi, I am new to OSG. Can somebody tell me how to view wireframe of 3d model using c++ code. I am able to view wireframe , points,texture etc using osgviewer(with help of 'w' key ) only when I open the 3d model using the "osgviewer <3dmodel_name>" in cmd prompt. ... Thank you! Cheers,

Re: [osg-users] SingleThreaded leading to whole application just running on one core

2016-09-24 Thread Sebastian Messerschmidt
Hi, Wow, before this escalates: OSG is setting the affinity for some of its own threads, which is totally legitimate.And I totally agree, that it would be nice to have an interface to control the core/wether affinity is used in single-threaded mode except from having to subclass the viewer.

Re: [osg-users] SingleThreaded leading to whole application just running on one core

2016-09-24 Thread Christoph Weiss
On 09/24/2016 02:18 AM, Pete Black wrote: I have no particular desire to repeat the last discussion, but i'll say it again. Hardcoding CPU affinity is: a) unexpected In particular it is not done by some osg::setThreadingModel() but rather deep down in the call stack by a function that is