Re: [osg-users] [build] OSX X11 Build System Failures

2016-06-23 Thread Ravi Mathur
Oops the fix I posted is wrong. osgmultitouch and osgoscdevice should continue to work on non-Apple platforms. Any ideas on a good fix? Ravi -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67769#67769 _

Re: [osg-users] Near/Far problem using models with bones.

2016-06-23 Thread Julien Valentin
After debugging I was completely wrong adding a Group as nothing to do with your problem It's a scaling problem... 1st test) osgconv fbx test1.osg (problem persist in osg file) 2nd test) osgviewer->setscenedata(fbx) fbx->setUpdateCallback(WriteNode2FileAfterfewframeCallback(*fbx,"test2.osg"));

[osg-users] [build] OSX X11 Build System Failures

2016-06-23 Thread Ravi Mathur
Hi all, A few of the newer OSG components explicitly reference osgViewer::GraphicsWindowCocoa in their code. This causes link errors when compiling OSG on MacOS with OSG_WINDOWING_SYSTEM set to X11. The affected components are: avfoundation (osgdb), osgmultitouch (examples), osgoscdevice (exam

Re: [osg-users] Using InfinitePlane

2016-06-23 Thread Robert Osfield
Hi Valeian, What do you mean by an InfinitePLane? One to interest against, to intersect the the scene with, or one to visualize? Robert. On 23 June 2016 at 16:49, Valerian Merkling wrote: > Hi, > > I would like to use an InfinitePlane to be able to use > "view->computeIntersection" everywhere

Re: [osg-users] Near/Far problem using models with bones.

2016-06-23 Thread Robert Osfield
On 23 June 2016 at 19:50, Dario Minieri wrote: > Hi, > > May be Robert can clarify this behaviour... :D I didn't wirte osgAnimation and haven't used more than to just compile the examples and merge fixes. So I'm afraid I can't comment on the specifics of osgAnimation. The only thing I can add i

Re: [osg-users] Near/Far problem using models with bones.

2016-06-23 Thread Dario Minieri
Hi, May be Robert can clarify this behaviour... :D Thank you! Cheers, Dario -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=67764#67764 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Best way to cull object hidden by a mountain

2016-06-23 Thread Chris Hanson
I might be able to help you with this. Is your source something you can share, possibly off-list? On Wed, Jun 22, 2016 at 9:55 AM, Valerian Merkling wrote: > Hi, > > I'm working with OpenSceneGraph 3.4.0 on a kind of GIS app. > > I'm rendering the ground using textured HeightField square. My sce

[osg-users] Using InfinitePlane

2016-06-23 Thread Valerian Merkling
Hi, I would like to use an InfinitePlane to be able to use "view->computeIntersection" everywhere, but I cannot find how put it inside my scene graph... In which kind of node shall I put this InfinitePlane ? Geode ? Can someone help me ? Thank you! Cheers, Valerian -- Read

[osg-users] Protection against NaNs and Inf in display geometry

2016-06-23 Thread Chris Baker
Hi, I've seen some discussion about handling inf/nan in display geometries which produce errors like: Code: CullVisitor::apply(Geode&) detected NaN, depth=nan, center=(inf inf -inf) I'm in the process of writing a general display application that will receive data other the network from othe

[osg-users] Best way to cull object hidden by a mountain

2016-06-23 Thread Valerian Merkling
Hi, I'm working with OpenSceneGraph 3.4.0 on a kind of GIS app. I'm rendering the ground using textured HeightField square. My scene graph is cut in two part, a group node with all the textured HeightFields, and another containing all my 3D objects (sorted in a quadtree). I've got a lot of tho

Re: [osg-users] OpenSceneGraph Travis + Coverity scan up and running

2016-06-23 Thread Jason Beverage
Hey Jordi, I saw that and I'm going to fix the script so it doesn't run the normal script, but the main issue is this: https://github.com/travis-ci/travis-ci/issues/6142 Apparently the coverity addon is broken on travis and it can't download the coverity tools b/c of an SSL issue. Hopefully they

Re: [osg-users] OpenSceneGraph Travis + Coverity scan up and running

2016-06-23 Thread Jordi Torres
Hi Jason, It seems your coverity scan build is not being launched. Instead of this the "script" tag command is the one running. Take a look at https://github.com/openscenegraph/OpenSceneGraph/blob/master/.travis.yml#L52, the "normal" build should not be launched if you are in the coverity_branch.

Re: [osg-users] OpenSceneGraph Travis + Coverity scan up and running

2016-06-23 Thread Robert Osfield
Hi All, I've spent quite a few hours of the last week or so working getting the Coverity defect count down. The latest Scan results are now up: https://scan.coverity.com/projects/openscenegraph-openscenegraph The average defect rates was 1.2 at the start, but now is down to 0.91. Still way

Re: [osg-users] OpenSceneGraph Travis + Coverity scan up and running

2016-06-23 Thread Jason Beverage
If it works, it's perfect :) I set something up for osgEarth and it appears to be working, at least for the travis builds. I haven't seen coverity working yet though. The travis build on my coverity_scan branch runs to completion and says that it's authorized with coverity and everything, but no

Re: [osg-users] OpenSceneGraph Travis + Coverity scan up and running

2016-06-23 Thread Robert Osfield
Hi Jason, On 21 June 2016 at 21:51, Jason Beverage wrote: > Really cool Robert. I'd love to get TravisCI setup for osgEarth as well, we > might pick your brain on it here soon. I'm not the one with the skills on settings things up, Jordi and Ralf were the main driving forces behind making it ha

[osg-users] osgUtil::PlaneIntersector and Invalid Pointer and Tesselation Error

2016-06-23 Thread Théo NASSOUR
Hi, I am using plane intersection to get the intersection of all meshes in my scene with a plane. : Code: osg::ref_ptr intersector = new osgUtil::PlaneIntersector(mIntersectionPlane); intersector->setRecordHeightsAsAttributes(true); intersector->setPrecisionHint(osgUtil::PlaneIntersector::Pr

Re: [osg-users] Near/Far problem using models with bones.

2016-06-23 Thread Dario Minieri
Hi, I'll try that but this is a problem for me, because my engine expect a matrixtransform as root...I can ingest that but I'll substitute a problem with another hehehe :D Thanks again! Thank you! Cheers, Dario -- Read this topic online here: http://forum.openscenegraph.org/

Re: [osg-users] Near/Far problem using models with bones.

2016-06-23 Thread Julien Valentin
I added a root group and all work great..strange I don't know where come the problem Seams osgviewers don't like MatrixTransform as root node.. Paradox wrote: > Hi, > > Thanks for your interest. This is the FBX. > > Thank you! > > Cheers, > Dario -- Read this topic online he

[osg-users] osgFX::Outline and Stencil

2016-06-23 Thread Théo NASSOUR
Hi, I have Two views in my scene, both of them are in a Composite Viewer. I have added the outline to the truck, and then i have added the truck to my scene. Why only under the viewport of the cube i have the outline. Here is a part of my code, and i have attached an image of the result ///OSG

Re: [osg-users] Most efficient way to get the gl_ModelViewMatrix of PREVIOUS frame?

2016-06-23 Thread Philipp Meyer
Hi, so here is a little update on my current progress. I have a working solution, but im not 100% happy with it as it is pretty messy and offers bad performance. The basic idea is to assign a uniform variable to each and every transform node of the scene graph, storing its total modelMatrix so