[osg-users] [vpb] Correct way to get texture data from USGS or any other source?

2015-06-09 Thread Elias Tarasov
Hello! I try to build map using vpb in ECEF. According to manuals i've read it needs to start: vpbmaster --geocentric -t texture_file -o output_file So, clearly i need georeferenced texture file. On that page: http://www.osgvisual.org/projects/osgvisual/wiki/OsgTerrainData there is a bunch of

[osg-users] how to insert a QWidgetImage in a osgWidget::Window?

2015-06-09 Thread Gianni Ambrosio
Hi all, I would like to show a Qt widget in a 3D viewer. I would like to drag it around, scale it and interact with it. I looked at the osgQtWidgets example but didn't find exactly what I need. Since I already implemented objects that are osgWidget::Window, I thought to add the geometry got

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Julien Valentin
Thanks for your answer I have already change my original post with an attached example but this update doesnt appear in the mailing list So i repost it for the mailing list robertosfield wrote: Hi Julien, I have done a quick code review of MultipassTechnique and the computeRenderingMode()

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Robert Osfield
Hi Julien, I have done a quick code review of MultipassTechnique and the computeRenderingMode() could easily be changed to check for whether the _volumeTile is set to avoid this specific crash, but I suspect the root cause of the problem is elsewhere - a technique should have a valid _volumeTile

Re: [osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Julien Valentin
Thanks for your answer I have already change my original post with an attached example but this update doesnt appear in the mailing list So i repost it for the mailing list robertosfield wrote: Hi Julien, I have done a quick code review of MultipassTechnique and the computeRenderingMode()

Re: [osg-users] [vpb] Correct way to get texture data from USGS or any other source?

2015-06-09 Thread Sebastian Messerschmidt
Am 09.06.2015 um 11:35 schrieb Elias Tarasov: Hello! I try to build map using vpb in ECEF. According to manuals i've read it needs to start: vpbmaster --geocentric -t texture_file -o output_file So, clearly i need georeferenced texture file. On that page:

[osg-users] Crash in Camera::setRenderer()

2015-06-09 Thread Nicolas Baillard
Hello everyone. In my application I create several views and several cameras. Upon user interaction each camera can be added or removed from a view using View::addSlave() and View::removeSlave(). My code ensures that each camera is only assigned to only one view at a time. A camera can't be

Re: [osg-users] Ready to tag OpenSceneGraph-3.3.8 dev release, please test

2015-06-09 Thread Robert Osfield
Hi Jannik, Release build, Ubuntu 14.04 64 bit, g++ 4.8.2 In 3.2, the Update phase for this change takes 0.15ms. In svn/trunk, it's 1 ms. That's a factor 6 performance regression for the base cost of node callbacks. I have introduced Object::asNode(), asNodeVisitor(), asStateAttribute() and

Re: [osg-users] [vpb] Correct way to get texture data from USGS or any other source?

2015-06-09 Thread Christian Schulte
Hello! I totally agree with Sebastian. These data is surely geo-referenced, as I myself often used in the past data from USGS. Locking at the metadata you provided I would say that you are in an EPSG:2238 Lambert Conformal Conic projection, which is the main projection system for north

Re: [osg-users] Ready to tag OpenSceneGraph-3.3.8 dev release, please test

2015-06-09 Thread Jordi Torres
Hi Robert and Rafa, I just see this change was introduced by Christian Kehl ( http://comments.gmane.org/gmane.comp.graphics.openscenegraph.cvs/12859) but probably he had a little mess in his computer when doing this change (As he also stated later ). It is possible it might be not necessary.

[osg-users] osgvolume: Swap technique in a VolumeScene fails

2015-06-09 Thread Julien Valentin
Hi, First, excuse the lack of details of the further, i haven't been able to debug enough to understand where the bug is... So, I tried a simple scenario with the osgvolume::MultipassTechnique: I initialize the volume rendering with MultipassTechnique (as in the example) And at runtime I change

Re: [osg-users] Crash in Camera::setRenderer()

2015-06-09 Thread Robert Osfield
Hi Nicolas, On 9 June 2015 at 14:04, Nicolas Baillard nicolas.baill...@gmail.com wrote: I keep my cameras and views using ref_prt. They are all created when the application starts and never deleted. That probably rules out dangling pointers then. Which leaves me with no particular idea what

Re: [osg-users] Ready to tag OpenSceneGraph-3.3.8 dev release, please test

2015-06-09 Thread Rafa Gaitan
Hi Robert, I've just did an svn update and the error in android is still there. If we remove the line 35 ( typedef GLfloat GLdouble; ) of GLDefines file then builds ok. And it does not affect to macosx build, and probably won't affect to other desktop environments. I think this commit (

Re: [osg-users] Ready to tag OpenSceneGraph-3.3.8 dev release, please test

2015-06-09 Thread Robert Osfield
Hi All, I have checked a couple of bug and build fixes today, could you please do an svn update and test again ;-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] [vpb] Correct way to get texture data from USGS or any other source?

2015-06-09 Thread Elias Tarasov
Hello! Thanks for quick reply, it helped to solve a problem. SMesserschmidt wrote: Am 09.06.2015 um 11:35 schrieb Elias Tarasov: Hello! I try to build map using vpb in ECEF. According to manuals i've read it needs to start: vpbmaster --geocentric -t texture_file -o output_file So,

Re: [osg-users] Possible improvement for CullThreadPerCameraDrawThreadPerContext threading model

2015-06-09 Thread Trajce Nikolov NICK
I have two comments: - the default path on my 64bit system is C:\Program Files (x86)\ .. It should be the place where 64bit programs are obviously installed, C:\Program Files\ - the license (OSG one) is sort of really bad formated On Tue, Jun 9, 2015 at 10:08 PM, Jannik Heller

Re: [osg-users] Possible improvement for CullThreadPerCameraDrawThreadPerContext threading model

2015-06-09 Thread Jannik Heller
Hi again, I just noticed that what I need to achieve is actually quite simple: the dynamicObjectRenderingCompletedCallback needs to be called from the culling thread, rather than the drawing thread. This would ensure the next frame can commence when the culling phase has ended, rather than

Re: [osg-users] [vpb] Correct way to get texture data from USGS or any other source?

2015-06-09 Thread Elias Tarasov
Hello! Christian Schulte wrote: Hello! I totally agree with Sebastian. These data is surely geo-referenced, as I myself often used in the past data from USGS. Locking at the metadata you provided I would say that you are in an EPSG:2238 Lambert Conformal Conic projection, which is the

Re: [osg-users] how to insert a QWidgetImage in a osgWidget::Window?

2015-06-09 Thread Julien Valentin
Hello, I don't understand what you're doing but if you want to display both Qt widgets and osg 3D in the same window, I think you should take a look at osgviewerQt example. Hope it help..:/ gambr wrote: Hi all, I would like to show a Qt widget in a 3D viewer. I would like to drag it

Re: [osg-users] Crash in Camera::setRenderer()

2015-06-09 Thread Nicolas Baillard
Thank you Robert. I keep my cameras and views using ref_prt. They are all created when the application starts and never deleted. I'm working on a minimal piece of code to reproduce the crash. Nicolas -- Read this topic online here:

Re: [osg-users] Crash in Camera::setRenderer()

2015-06-09 Thread Robert Osfield
Hi Nicolas, Are you using C pointers or ref_ptr when keeping reference around the to the slave Camera? If you use a C* pointer then there is good chance that the reference count on the Camera is going to zero when it's removed from the View and getting deleted, then you add that dangling pointer

Re: [osg-users] Ready to tag OpenSceneGraph-3.3.8 dev release, please test

2015-06-09 Thread Robert Osfield
Hi Rafa, On 9 June 2015 at 06:01, Rafa Gaitan rafa.gai...@gmail.com wrote: osg-trunk/include/osg/GLDefines:35:21: error: conflicting declaration 'typedef GLfloat GLdouble' I suspect this is the same problem others has spotted. I think you suggested to do a better identification in cmake, or