Re: [osg-users] How do I create a 2D HUD with loaded images?

2012-05-10 Thread paul graham
Hi Nilix, I've successfully displayed an image in a HUD taking the following general approach: create an osg::geometry set the vertices based on the image size create an osg::Texture2D create an osg::Vec2Array for texture coordinates call setTexCoordArray on the osg::geometry add the osg::geometr

Re: [osg-users] Manipulator and selection

2012-05-10 Thread Bob Slobodan
Hi, First of all, thank you for your answer. I took a look at osgscribe and I tried to do the same thing, but it doesn't really work. I tried many things but this is my last attempt: Code: geode = new osg::Geode; geometry = new osg::Geometry; osg::ref_ptr v = new osg::Vec3Array; geometry->set

[osg-users] How set the Video at the center of the screen

2012-05-10 Thread Koduri Lakshmi
Hi, It may be a simple one, but I am struggling since two days. I am using a osg::Switch to load multiple models. It loads OSG models for some options time and videos for some options. When I loaded models the model displayed in the middle of the screen. If I display the video it is not in th

[osg-users] Nvidia Optimus / AMD switchable

2012-05-10 Thread Christiansen, Brad
Hi, I am looking at getting a couple of laptops with Nvidias 'Optimus' switchable graphics and AMDs equivalent. My hope is to be able to manually switch between the two so I can test our application using both discrete and Intel graphics. There was a thread back in September of last year which

Re: [osg-users] Manipulator and selection

2012-05-10 Thread Jason Daly
On 05/10/2012 07:21 AM, Bob Slobodan wrote: Hi, First of all, thank you for your answer. I took a look at osgscribe and I tried to do the same thing, but it doesn't really work. I tried many things but this is my last attempt: You may need to tweak the factor and units numbers for your parti

Re: [osg-users] Nvidia Optimus / AMD switchable

2012-05-10 Thread Chris Hanson
On Thu, May 10, 2012 at 7:32 AM, Christiansen, Brad < brad.christian...@thalesgroup.com.au> wrote: > Hi, > > ** > > I am looking at getting a couple of laptops with Nvidias 'Optimus' > switchable graphics and AMDs equivalent. > > My hope is to be able to manually switch between the two so I ca

Re: [osg-users] Manipulator and selection

2012-05-10 Thread Jason Daly
OK, disregard everything I said about using osgscribe and Polygon Offset. Having just read the link I posted myself, I realized that glPolygonOffset only works for filled polygons and not lines or points. Sorry for the misdirection. Unfortunately, you'll have to come up with something a bit mo

[osg-users] [osgPlugins] Get attribute list from dbf without loading shp

2012-05-10 Thread Thomas Lerman
Before loading a .shp file, is there a way of getting the attribute list from its corresponding .dbf file? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47643#47643 ___ osg-users mailing list osg-us

Re: [osg-users] [osgPlugins] Get attribute list from dbf without loading shp

2012-05-10 Thread Thomas Lerman
Found it, never mind. Thank you. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47644#47644 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/o

[osg-users] [osgPlugins] Inconsistent behaviour with a set of Pseudo Loaders

2012-05-10 Thread Scott Wasinger
I believe that I have found a possible parsing problem with how the rot, trans, scale pseudo loaders parse the parameter string. To begin i have two systems that I currently develop on the primary difference is that on system A i have osg 3.0.1 installed and on system B I still have osg 3.0.

Re: [osg-users] osgSim::OverlayNode and Point Clouds

2012-05-10 Thread Loren Hoffman
Glenn, Thanks again for the help. While pursuing your suggestion I introduced a bug in my shaders which led to me seeing that the default point cloud rendering was somehow having the overlay texture successfully applied. This made me think that the data was in the gl uniforms somewhere and afte

Re: [osg-users] [osgPlugins] Inconsistent behaviour with a set of Pseudo Loaders

2012-05-10 Thread Jason Daly
On 05/10/2012 02:42 PM, Scott Wasinger wrote: osgviewer: No match. then the viewer promptly exits without rendering even the booster model. Hi, Scott, The "No match" error suggests to me that you're on some kind of UNIX-style system, and that the command line shell is trying to do regex-

Re: [osg-users] [osgPlugins] Inconsistent behaviour with a set of Pseudo Loaders

2012-05-10 Thread Chris Hanson
> > The "No match" error suggests to me that you're on some kind of UNIX-style > system, and that the command line shell is trying to do regex-style > substitution for you with the square brackets. For example, in some > command shells "rm [ab].txt" would delete files called a.txt and/or b.txt. >

[osg-users] software engineering job at Moffett Field, CA

2012-05-10 Thread Terry Welsh
Hi all, I'm leaving my job at Moffett Field to work full time on my OSG-based video game. (Ha! I can't believe I just wrote that.) Anyway, they need a replacement. The job is heavy on OSG/OpenGL/Linux programming. Here's the job posting in case anyone is interested in applying: https://jobs.u

Re: [osg-users] [osgPlugins] Inconsistent behaviour with a set of Pseudo Loaders

2012-05-10 Thread Scott Wasinger
Hi, Jason Yes I'm on a UNIX-style system in both cases, but System A is with a newer kernel and etc so that might explain why it is working. while on the other system it isn't. I did try your suggestion with the quotes and it worked on both systems. I did confirm that the braces are needed i

Re: [osg-users] Nvidia Optimus / AMD switchable

2012-05-10 Thread Jean-Sébastien Guay
Hi Brad, I am looking at getting a couple of laptops with Nvidias 'Optimus' switchable graphics and AMDs equivalent. My hope is to be able to manually switch between the two so I can test our application using both discrete and Intel graphics. There was a thread back in September of last year w

[osg-users] OSG, QT, and QTabWidget

2012-05-10 Thread David Smith
Hi, So I've had a working program that integrates OSG with QT and its been working nicely until today. I'm using a osgViewer and I repaint the osg graph with a timer which when expired does some things which possibly modify the scene graph and then I call the frame function. This has been worki