Re: [osg-users] Different line types

2008-08-14 Thread Robert Osfield
Hi Andre, There is nothing I or anyone else can do to suggest how you fix your problem as there really isn't any where near enough information in your emails to help us even guess at what the problem. It's like me telling you I have a piece of string in my hand and telling you that while I don't

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread Robert Osfield
Hi David, I really don't know what is up with your usage, there really isn't enough info about how you set up things to know where things are going astray. A window being black suggest to be that rendering itself hasn't started yet, just that the window has been realized. The osgViewer doesn't

Re: [osg-users] pick on specific subgraph / nodepath

2008-08-14 Thread Riccardo Corsi
I've checked the source code about this, and after using the nodepath to unproject the 2D coordinates and retrieve the 3d start and end points of the line-intersector, the visit is called like this: osgUtil::IntersectionVisitor iv(picker); iv.setTraversalMask(traversalMask);

Re: [osg-users] usb joystick in openscenegraph

2008-08-14 Thread Eric Sokolowsky
You may also find that DIVERSE can fill your needs. It's a virtual reality controller that can be used with osg. See: http://diverse-vr.org/index.php?page=documentation/introduction -Eric On Tue, Aug 12, 2008 at 12:35 PM, Jan Ciger [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE-

[osg-users] Qt4, OSG and HUD

2008-08-14 Thread Eric ZAREMBA
Hi all, Since Qt 4.4, we are able to mix OpenGL and Qt in a way which provides more possibility than the osgViewerQT do by using QGraphics framework, especially for HUD display. I joint the example I write to do this. The main function loads a model a display into my QGraphicsScene

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread David Johansson
Hi Robert, Here is code that produces the problem. I'm building/running on Ubuntu 8.04 with osg 2.4 #include iostream #include vector #include string #include osg/Node #include OpenThreads/Thread #include osgDB/ReadFile #include osgViewer/Viewer #include osgViewer/ViewerEventHandlers class

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread Paul Melis
I've tried a different series of entering view one or more times, followed by closing one or more of the shown windows and repeating. But I've not seen any black windows yet. What is the sequence that reproduces the problem for you? This is on Linux, nVidia 96.43.01 driver Paul David

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread David Johansson
Hi Paul, type view 2 times to get 2 views. close the first window, i always press 'f' to get out of fullscreen, type view again.. turns up black. Maybe this is my driver? I'm using the default ubuntu Nvidia driver. Also, running Compiz in the background.. Regards, David Johansson On Thu,

Re: [osg-users] LineSegmentIntersector does not work with Billboards

2008-08-14 Thread Robert Osfield
Hi Judd, I have done some work on osgUtil::IntersectionVisitor to add proper support for Billboards. Could you try out the attached IntersectionVisitor header/source files and let me know how you get on. This builds against OSG-2.6/OSG-SVN, but might also compile against 2.4. In my own testing

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread Paul Melis
David Johansson wrote: Hi Paul, type view 2 times to get 2 views. close the first window, i always press 'f' to get out of fullscreen, type view again.. turns up black. No problems here with that sequence... Maybe this is my driver? It could be I'm using the default ubuntu Nvidia

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread Paul Melis
Paul Melis wrote: David Johansson wrote: Hi Paul, type view 2 times to get 2 views. close the first window, i always press 'f' to get out of fullscreen, type view again.. turns up black. No problems here with that sequence... This was with 2.4 btw Paul Maybe this is my driver? It

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread David Johansson
Hi Paul, output of : cat /proc/drivers/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 169.12 Thu Feb 14 17:51:09 PST 2008 GCC version: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) Also running on GeForce 7950 GX2 (http://www.nvidia.com/page/geforce_7950.html) It has 2 GPU's maybe

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread Paul Melis
David Johansson wrote: Hi Paul, output of : cat /proc/drivers/nvidia/version NVRM version: NVIDIA UNIX x86_64 Kernel Module 169.12 Thu Feb 14 17:51:09 PST 2008 GCC version: gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7) Also running on GeForce 7950 GX2

Re: [osg-users] osgViewer's turns up black when run from different threads.

2008-08-14 Thread David Johansson
Hi Robert, This does nothing i'm afraid. nvidia-xconfig --sli=Off followed by a restart of X.. David On Thu, Aug 14, 2008 at 4:02 PM, Robert Osfield [EMAIL PROTECTED] wrote: On Thu, Aug 14, 2008 at 2:56 PM, David Johansson [EMAIL PROTECTED] wrote: output of : cat /proc/drivers/nvidia/version

[osg-users] Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread Jason Beverage
Hi all, I recently updated our product to use the --terrain flag in VirtualPlanetBuilder to increase the speed of our database creation and things are working wonderfully except for on the machines that have the Intel 945GM chipset which are crashing. I've narrowed the problem down to the fact

Re: [osg-users] Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread Robert Osfield
HI Jason, You could try disabling the vertex array extension for Intel via the the osg::setGLExtensionDisableString() From include/osg/GL /** Set a list of extensions to disable for different OpenGL renderers. This allows * OSG applications to work around OpenGL drivers' bugs which are due to

Re: [osg-users] LineSegmentIntersector does not work with Billboards

2008-08-14 Thread Judd Tracy
It seems to work just fine in my application. Thanks for the support. Judd Robert Osfield wrote: Hi Judd, I have done some work on osgUtil::IntersectionVisitor to add proper support for Billboards. Could you try out the attached IntersectionVisitor header/source files and let me know how

Re: [osg-users] Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread Jason Beverage
Hi Robert, Thanks for much for your quick response, I'll take a look at this and see how things go. After your suggestion and doing a quick Google I saw this post from Rafa that looks to be close to the same issue I have.

Re: [osg-users] pick on specific subgraph / nodepath

2008-08-14 Thread Riccardo Corsi
Hi Robert, could you please just confirm the this is the way the function is meant to work?? If so, any idea on how to have my modified osgpick example to work? Thanks a lot! Ricky -Original Message- From: [EMAIL PROTECTED] on behalf of Riccardo Corsi Sent: Thu 14/08/2008 10.39 To:

Re: [osg-users] osg sequence timing

2008-08-14 Thread Max Bandazian
Thanks for the responses. I'm not sure what stopping the frame loop refers to, since something like while(!viewer-done()) { if (viewer-getFrameStamp()-getFrameNumber() == 500) { rootNode-addChild( osgDB::readNodeFile(some_animation.flt)); } viewer-frame(); } would

Re: [osg-users] osgViewer's turns up black when run from differentthreads.

2008-08-14 Thread Jason Daly
David Johansson wrote: Hi Robert, This does nothing i'm afraid. nvidia-xconfig --sli=Off followed by a restart of X.. Not sure if this helps or not, but you have to use the multigpu option with the 7950GX2, not the sli option. multigpu is for SLI with two GPU's on one card, while sli

Re: [osg-users] osg sequence timing

2008-08-14 Thread Robert Osfield
Hi Max, My guess is that your Viewer's SimulationTime is up and running by the time the new model is loaded, rather than starting off at 0.0 which is causing the problems. The actual implementation details of osg::Sequence is something that community members have working on over the years,

Re: [osg-users] pick on specific subgraph / nodepath

2008-08-14 Thread Robert Osfield
On Thu, Aug 14, 2008 at 4:25 PM, Riccardo Corsi [EMAIL PROTECTED] wrote: Hi Robert, could you please just confirm the this is the way the function is meant to work?? If so, any idea on how to have my modified osgpick example to work? Can't confirm this as really don't know what this might

Re: [osg-users] LineSegmentIntersector does not work with Billboards

2008-08-14 Thread Judd Tracy
Robert I have added a method called set (did not know what to call it) that allows you to set the start and end points for the LinSegmentIntersector using the CooridnateFrame and the x, y values like one of the constructors does. It just makes it easier to reset the start and end points

Re: [osg-users] osgViewer's turns up black when run from differentthreads.

2008-08-14 Thread David Johansson
Hi Jason, Setting multigpu did nothing either. You don't happen to have the same card and can test my code posted earlier? Regards, David Johansson On Thu, Aug 14, 2008 at 6:02 PM, Jason Daly [EMAIL PROTECTED] wrote: David Johansson wrote: Hi Robert, This does nothing i'm afraid.

Re: [osg-users] pick on specific subgraph / nodepath

2008-08-14 Thread Riccardo Corsi
Hi Robert, let me sum it up shortly then: I'm trying to do some picking only in a specific subgraph, using the version of computeIntersections which include a nodepath option. To test it, I modified the osgpick example (attached) to pick, for instance, only the rectangles in the HUD. What I do

Re: [osg-users] LineSegmentIntersector does not work with Billboards

2008-08-14 Thread Robert Osfield
Hi Judd, Could you post your ammendments to osg-submissions. Cheers, Robert. On Thu, Aug 14, 2008 at 5:11 PM, Judd Tracy [EMAIL PROTECTED] wrote: Robert I have added a method called set (did not know what to call it) that allows you to set the start and end points for the

[osg-users] osgdem performance...

2008-08-14 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
I would like to get some feedback from users that might be rendering OSG terrain built with osgdem on Windows XP. Based on previous discussions, I understand that the terrain rendering on Windows does not have as good of performance as on Linux, however, I'm seeing abysmal frame rates when I'm

Re: [osg-users] osgdem performance...

2008-08-14 Thread David Guthrie
We have found that the paged database's performance is quite sensitive the settings used in the database pager. If you look at the pager, you can set a number of environment variables to tweak things. We were able to more than double our framerate and work around frame hiccups just by

Re: [osg-users] osgViewer's turns up black when run fromdifferentthreads.

2008-08-14 Thread Jason Daly
David Johansson wrote: Hi Jason, Setting multigpu did nothing either. You don't happen to have the same card and can test my code posted earlier? I can probably do that. I'm not sure when I'll get the time, but I should be able to find some this week. It might take a little while

Re: [osg-users] Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread David Guthrie
Have you tried setting it to using display lists instead of vertex arrays? If they don't suit, then you may be able to figure out what card you are using, or make some sort of configuration check in an installer then set the environment variable? On Thursday 14 August 2008 10:42:42 am Jason

Re: [osg-users] osgdem performance...

2008-08-14 Thread Robert Osfield
HI Shayne, Most modern machines regarless of OS should performance pretty well on osgdem generated databases. However, you must compile the OSG under release mode. Could this be the problem? Robert. On Thu, Aug 14, 2008 at 6:07 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC [EMAIL

Re: [osg-users] osgdem performance...

2008-08-14 Thread Sewell, Kenneth R Civ USAF AFMC AFRL/RYZW
We had similar issues with terrain recently. On windows it was single digit framerates and the same database on Linux was 30 fps but %100 on 2 cores. Rebuilding our terrain without the -terrain flag solved the issue. Framerates on windows jumped up to 30 fps, Linux to 60 fps with %30 on 1 core.

Re: [osg-users] osgViewer's turns up black when run fromdifferentthreads.

2008-08-14 Thread Jason Daly
David Johansson wrote: Hi Jason, Setting multigpu did nothing either. You don't happen to have the same card and can test my code posted earlier? Hi David, I gave it a quick try with OSG 2.2, and I'm definitely seeing problems. After I open the second viewer, if I alt-tab back to the

Re: [osg-users] osgViewer's turns up black when run fromdifferentthreads.

2008-08-14 Thread David Johansson
Hi Jason, Robert I have tested 2.6 where it still seems to be a problem. There is no hurry with this, but it would be really nice to make sure that the problem is with the graphics card.. I'll probably try to build on WindowsXP64 later this week and see what happens, don't have the environment

Re: [osg-users] [Junk released by Allow List] Re: Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread David Guthrie
That's odd. If you set it to use Display lists, it should override the settings on the database pager so that it only uses display lists, and not VBO's. Do you thing they are broken for the 945 too? On Thursday 14 August 2008 02:53:44 pm Jason Beverage wrote: hi David I set the environment

Re: [osg-users] [Junk released by Allow List] Re: Issues with Intel 945GM chipset and VBO's

2008-08-14 Thread Jason Beverage
My thought is that the override only applies to nodes that are paged in. The root node of the scene is still using vbos as far as I understand since of doesn't have to be paged in. I'll take a look at the code tommorow morning at work, I'm currently driving and checking email. Only when I stop

Re: [osg-users] osgdem performance...

2008-08-14 Thread Ralf Stokholm
Hi Shayne We too have had some problems with the terrain, but at the moment it seams to work fine. I have rearly seen any problems with osgviewer but in my actual application i have had studders etc. What sort of hardware are you using, I have a 40 gig 12 level database that renders perfectly on

Re: [osg-users] pick on specific subgraph / nodepath

2008-08-14 Thread Riccardo Corsi
Hi Robert, well, the good samaritan took pity on his neighbour actually =) Joking aside, let me just state that I wasn't looking for custom support nor code analysis at all. Before posting I searched intensively through the list archive and the osg examples, but I saw no traces of the