Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread Jan Ciger
Hello, I am sure Robert as the project's leader could give better answers, but here is what I have learned in my use of OSG over the years. On Fri, Jun 23, 2017 at 12:33 AM, Andy Somogyi wrote: > Hi All, > > We're evaluating using OSG as a possible graphics backend for our > real-time physics s

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread michael kapelko
Hi. * Cross-platform support. In short, OpenSceneGraph runs everywhere with only a bit of configuration. I currently work on the cross-platform guide for OpenSceneGraph to cover major platforms: https://github.com/OGStudio/openscenegraph-cross-platform-guide * Embedding. OSG-Qt integration works

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread Chris Hanson
> > We're evaluating using OSG as a possible graphics backend for our > real-time physics simulation project, and I've got a few questions: > > * We suport Mac, Windows and Linux, how good is cross-platform support > with OSG? > Excellent. We just ported a client's OSG application from Windows t

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread Robert Osfield
Hi Andy, I would have thought the OSG would work fine for your task, you have happily mix and match 3D and 2D subgraphs (2D is just 3D in a single plane.) Portability is excellent as most of the code is pure C++ and OpenGL. As for for Tom Forsythe's blog, I can only guess he's never used a profe

Re: [osg-users] converting node coordinates

2017-06-23 Thread tianzjyh
Hi, Oliveira, I am not sure what exactly is causing the problem, but maybe it is the setVertexArray(). U should call VertexArray::dirty(),after you changed data in osg::Array at runtime, to tell the OSG to update corresponding data in the GPU memory. -- Cheers, --- TianZJ At 201

[osg-users] Perform actions when a child node is added

2017-06-23 Thread Bruno Oliveira
Hello, I want to be able to perform some actions inside a node of my own, when someone adds a child node to it. Is this possible via some callback mechanism or so? -- Also, another question. Using osgDB::Registry::ReadFileCallback, I can only perform actions after a node is read and befor

[osg-users] Crash in latest osg used in osgearth on iOS (possibly other platforms)

2017-06-23 Thread Thomas Hogarth
Hi So I've run into an issue with recent versions/commits of osg. I've been working on a GLES3 port of osgearth and everything was going smoothly. Then recently I started experiencing an extremely intermittent crash. The debugger would never return any useful information (tried all sorts of things

Re: [osg-users] Perform actions when a child node is added

2017-06-23 Thread Robert Osfield
HI Bruno, There is no "child added callback" mechanism in osg::Group, but you can override the addChild and insertChild methods to catch attempts to add children, deferring the implementation to the underlying addChild/insertChild method and then doing what extra's you want, Robert. On 23 June 2

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread Chris Hanson
Man, there was some really great material written here. On Fri, Jun 23, 2017 at 1:38 AM, Robert Osfield wrote: > Hi Andy, > > I would have thought the OSG would work fine for your task, you have > happily mix and match 3D and 2D subgraphs (2D is just 3D in a single > plane.) Portability is exce

[osg-users] General Forum Down?

2017-06-23 Thread Cary, Karl A.
Is the general forum down for anyone else? My coworkers and I have not been able to get to it since yesterday and we noticed a post a coworker made yesterday didn't come through the mailing list either (even though I have been receiving other messages through it today). This is the error we rece

Re: [osg-users] General Forum Down?

2017-06-23 Thread Robert Osfield
Hi Karl, I contacted Sebastian Messershmidt yesterday and he said it looked like server disk space issue but he wasn't given server admin rights by the original forum creator Art Tevs. Yesterday I then emailed Art but haven't had a response yesterday. Unfortunately I can't do anything more perso

[osg-users] [Repost while forums down] Convert from screen space to world space and back to screen space

2017-06-23 Thread Cary, Karl A.
I am posting this for my coworker, NavyBas, as he is not on the email list yet and he was hoping to get a response before the forums get fixed. He had posted this yesterday. Hello and thanks in advance for any assistance, First question: What is the simplest way to convert from 2D space to 3D

Re: [osg-users] Perform actions when a child node is added

2017-06-23 Thread Bruno Oliveira
I actually tried it already, in my nodes derived doth from osg::Group* and osg::PagedLOD*. However, overloading the PagedLOD's functions made my scene crash the app during the cull traversal (my overload was rewriting the node's center, radius and InitialBound...) 2017-06-23 15:18 GMT+01:00 Robert

Re: [osg-users] Perform actions when a child node is added

2017-06-23 Thread Trajce Nikolov NICK
Hi Bruno, What Robert suggested is the correct one. However, I was in your situation where I had to do stuff on PagedLOD children change so I end up with a working hack, and that was an Update callback monitoring the children. Just an idea On Sat, Jun 24, 2017 at 12:45 AM, Bruno Oliveira < bruno.

Re: [osg-users] Investigating using OSG as a graphics backend for our real-time physics simulation system

2017-06-23 Thread Andy Somogyi
Wow, thanks, that's some great information indeed. The OSG community seems really great, and is a huge selling point. I guess I'm going to have to write a prototype of my engine using both OSG, and Magnum, http://mosra.cz/blog/magnum.php They both seem like great choices, but with different phi