Re: [osg-users] ReadImageFile fails open video

2014-03-28 Thread Robert Osfield
Hi Petr, Is there any chance that your video is corrupted or uses a codec that ffmpeg doesn't support? Could you post a link to the video so others can see what happens when they attempt to view it with osgmovie and 3rd party movie programs? Robert. On 27 March 2014 21:58, Petr Svoboda

Re: [osg-users] Set Viewport background color as transparent

2014-03-28 Thread John Moore
Hi Vishwa, today when I was updating my OSG I just realized that I was using a modified version of GraphicsWindowIOS... that's why transparency was working with that code. You can achieve the same result with the original GraphicsWindowIOS by calling this code before setting the traits:

[osg-users] osgViewer stand alone window problem with 3.1.0.`2

2014-03-28 Thread David Cofer
I am trying to get my osg project running on Ubuntu 12.04. I originally had it working with OSG 2.8.3, but I am trying to upgrade to OSG 3.0.1.2. I installed the following packages using Synaptics. libopenscenegraph-dev libopenscenegraph80 openscenegraph openscenegraph-doc

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2014-03-28 Thread lawrence bertoldi
Hi, Shayne, so I've been trying your solution for HAT and am having little luck. I've worked through a few things to be sure that I'm getting the reasonable numbers etc but it seems that i always get the same height back as I put into the. \ I must be missing something... help would be

Re: [osg-users] osgViewer stand alone window problem with 3.1.0.`2

2014-03-28 Thread Robert Osfield
Hi David, When you say the window doesn't display, only a window with a ? it's hard to know what you mean. It's certainly now a description I've seen before from users w.r.t OSG app problems. The best I can suggest is start by getting an OSG example compiling and working that is close to yours

Re: [osg-users] osgViewer stand alone window problem with 3.0.1.2

2014-03-28 Thread David Cofer
That was weird. I rebooted my system to try and get a screen shot for you and now it is working in both the osgkeyboardmouse example and in my app. Not sure why that would have made any difference, but it is working great now and I did not do anything else to it. Thanks, David

Re: [osg-users] osgViewer stand alone window problem with 3.0.1.2

2014-03-28 Thread Robert Osfield
On 28 March 2014 20:04, David Cofer dco...@mindcreators.com wrote: That was weird. I rebooted my system to try and get a screen shot for you and now it is working in both the osgkeyboardmouse example and in my app. Not sure why that would have made any difference, but it is working great now

[osg-users] Bigger bounding box to make picking (intersection) easier?

2014-03-28 Thread Petr Svoboda
Hi, I would like to ask if there is some way how to create bigger bounding box over some model to make it easier to pick it/ intersect with. For example if there is a cow.osg model and I want to pick it then how do it in a way that I dont need to click with my mouse exactly on that model but a

Re: [osg-users] Bigger bounding box to make picking (intersection) easier?

2014-03-28 Thread Trajce Nikolov NICK
Ahoj Petr, you can override the bound volume calculation with your own code via callback. Have a look in the Node class /** Callback to allow users to override the default computation of bounding volume.*/ struct ComputeBoundingSphereCallback : public osg::Object {

Re: [osg-users] Bigger bounding box to make picking (intersection) easier?

2014-03-28 Thread Robert Osfield
HI Petr, The ray intersection testing goes right down to the polygon level when testing for intersection so expanding the bounding box won't make any difference. Perhaps what you are looking for is the PolytopeIntersector, this allows you to create a screen aligned polytope that can intersection