Re: [osg-users] osg threading model

2011-12-16 Thread Vijeesh Theningaledathil
Hi, Thanks a lot Jason Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44404#44404 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osg threading model

2011-12-13 Thread Jason Daly
On 12/13/2011 01:47 AM, Vijeesh Theningaledathil wrote: Hi, Excuse me for posting this question as I'm just a beginner in the computer graphics. Which threading model will give the best performance in a dual core computer with Nvidia Quadro graphics card. The answer to that will depend

[osg-users] osg threading model

2011-12-12 Thread Vijeesh Theningaledathil
Hi, Excuse me for posting this question as I'm just a beginner in the computer graphics. Which threading model will give the best performance in a dual core computer with Nvidia Quadro graphics card. Also I have a doubt regarding the makeRotate for camera rotation. If I use pitch,roll, yaw

Re: [osg-users] OSG Threading

2009-09-21 Thread Prasad Pokala
Hi Jean, Thanks for the input, actually I had done the same thing now my class::display() as viewer-frame(). When I call class::display() as you told osgviewer(scene) is running but I cannot see any geometry on the scene. Its blank even though I had set some geometry. If I replace

Re: [osg-users] OSG Threading

2009-09-21 Thread Jean-Sébastien Guay
Hi Prasad, If I replace viewer-frame() with viewer-run() I can see the geometry. what is the problem?? This is an FAQ. viewer-run() automatically adds a trackball manipulator to the viewer if there is none (it's a convenience function used in examples so it makes sure everything is set up

Re: [osg-users] OSG Threading

2009-09-21 Thread Prasad Pokala
Hi All Jean , Jean Thanks its working well. I have some other question I have created a small user interface where you can browse the model(tree view).I can select or unselect geometry from tree view . Visualization of the model as shown inside a other form in same window. (till here

Re: [osg-users] OSG Threading

2009-09-21 Thread Tomlinson, Gordon
: Monday, September 21, 2009 11:12 AM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] OSG Threading Hi All Jean , Jean Thanks its working well. I have some other question I have created a small user interface where you can browse the model(tree view).I can select or unselect

Re: [osg-users] OSG Threading

2009-09-16 Thread Prasad Pokala
Hi Jason Robert, Thanks for the reply. When I set viewer.setDone(true) the osg window(scene) is closing. I want the OSGWindow should be operational(running) and wants to work with my rest of the application. [color=orange]Class1[/color] { Class2 scene; // My applicaion (c++

Re: [osg-users] OSG Threading

2009-09-16 Thread Jason Daly
Prasad Pokala wrote: Hi Jason Robert, Thanks for the reply. When I set viewer.setDone(true) the osg window(scene) is closing. I want the OSGWindow should be operational(running) and wants to work with my rest of the application. [color=orange]Class1[/color] { Class2 scene; // My

Re: [osg-users] OSG Threading

2009-09-16 Thread Prasad Pokala
Hi Jason, I do not have a loop but I will call display() when ever is required. When I wrote only viewer.frame() as soon as it come out of display() the osgwindow(scene) is closing. I want osgwindow(scene) should be running after display() Thank you! Cheers, Prasad

Re: [osg-users] OSG Threading

2009-09-16 Thread Jean-Sébastien Guay
Hi Prasad, I do not have a loop but I will call display() when ever is required. When I wrote only viewer.frame() as soon as it come out of display() the osgwindow(scene) is closing. Well of course if your viewer instance goes out of scope at the end of display(), the viewer will

[osg-users] OSG Threading

2009-09-14 Thread Prasad Pokala
Hi, Hi, I am new to OSG. I have a following code inside my c++ application to run OSGViewer. osg::Group* root; osgViewer::Viewer viewer; root = new osg::Group(); . ( setting up the viewer/adding geometry).

Re: [osg-users] OSG Threading

2009-09-14 Thread Jason Daly
Prasad Pokala wrote: Hi, Hi, I am new to OSG. I have a following code inside my c++ application to run OSGViewer. osg::Group* root; osgViewer::Viewer viewer; root = new osg::Group(); . ( setting up the viewer/adding

Re: [osg-users] OSG Threading

2009-09-14 Thread Robert Osfield
Hi Prasad, You can do the multi-threading in any way you, you can even thread the main loop out into a separate thread, or you can even just use the OSG's database pager if to create procedural scene graph elements. You have lots of choice. You don't really say enough about your apps needs to