Re: [osg-users] KdTree issue...
HI Shayne, The stack trace suggests an allocation issue when building a KdTree leaf. Any chance you are running out of memory? As a general comment I would suggest that you try OSG-3.0.1 rather than a old 2.9.x developer release as there is chance that bug fixes will have fixed bugs that are relevant to you. If moving to OSG-3.0.1 doesn't fix the issue then I would work on isolate which tile causes the KdTree builder to crash, to do this I'd write out each tile to a .osg(t) file prior to doing the KdTree build so if it crashes you have a record of the problem tile and can then test it stand alone. Robert. On 25 August 2012 00:16, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: > All, > > > > I have a terrain database built with VPB that I’m currently doing visibility > tests on based on ten different locations on the terrain. The tests are > using the osgSim::LineOfSight class to determine intersection with the > terrain between each location. Things appear to run fine until I use KdTrees > to speed up the intersection testing (which is quite slow) with the terrain. > I use the call > > > > osgDB::Registry::instance()->setBuildKdTreesHint(osgDB::ReaderWriter::Options::BUILD_KDTREES); > > > > to do this. Unfortunately doing this causes the application to crash when > doing the intersection tests. I’ve attached a debug stack trace after the > crash has occurred (KdTreeCrash.txt). I’ve also turned on “VERBOSE_OUTPUT” > in the KdTree.cpp file to gather more information on why this is happening > (KdTreeOut.txt). I’m not familiar enough with the pertinent code to > determine why KdTrees is causing the application to blow up. > > > > I’m running with OSG 2.9.11 on Windows 7, Visual Studio 2008. > > > > Any ideas on what’s going on? Is there a limitation on what KdTrees will > handle? > > > > Thanks, > > -Shayne > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Maps & DTED data
On Fri, Aug 24, 2012 at 10:44 PM, Chris Hanson wrote: > On Fri, Aug 24, 2012 at 8:27 PM, Michael W. Hall wrote: > >> The DTED data I have has the .dt2 extension. Can osgEarth load that or >> do you have to modify it somehow? >> > > This is DTED, level 2. According to GDAL, which osgEarth uses: > http://www.gdal.org/frmt_dted.html > > Yes, it will read DTED via the GDAL driver. The only catch is that DTED uses an EGM96 vertical datum. osgEarth supports this, but cannot automatically read that information from the GDAL driver; so, you have to manually tell osgEarth about it by overriding the profile for your elevation layer like so: ... http://forum.osgearth.org/ Good luck! Glenn Waldron / @glennwaldron ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] OSG Serialization - changes on custom Classes
Hi Peter, I've just submitted a patch which adds user version to the serializers. Could you please have a look at it in the osg-submissions archive and test if it could work for your cases? Thank you, Wang Rui 2012/8/21 Peter Bako > Hi mr. Rui Wang. > > Thank you for your help. > It would be nice if we can set an auxiliary version number manually, when > writing or reading files. > This mechanism would be perfect! > Can I assume that this modification will be implemented in the next month? > Or what do you suggest to me to do? It is not time critical in the next > month, but then it will be :-). > > > This is a little off-topic, but why is the osg web page inaccessible? > Trac detected an internal error: > OperationalError: database is locked > > > > Thank you! > > Cheers, > Peter > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49384#49384 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] osgRecipes: Integrate OSG with almost everything, the second wave
Thanks Michael, As the libRocket integration is already implemented in the dtEntity project (code.google.com/p/dtentity), I'd love to make use of the existing one and avoid re-inviting wheels unless I myself just have different demands of the same library. So that's why I exclude libRocket from my TODO list, neither do Cairo, Pango, OpenAL, etc. Maybe you could have a look at dtEntity's implementation first and see if it could satisfy you and others. :-) Thank you, Wang Rui 2012/8/24 michael kapelko > Good work! > I'm not sure if I voted for libRocket, so here it is. > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [ANN] osgRecipes: Integrate OSG with almost everything, the second wave
Thanks Frank. I'm downloading the new SDKs now, and will have a look at them as soon as possible. Wang Rui 2012/8/24 Frank Kane > Happy to see our stuff on the list! When you get to it, please be sure to > grab the new 1.5 release of the Triton Ocean SDK and 2.5 of the > SilverLining Sky, Cloud, and Weather SDK that came out this week. I > overhauled the OSG integration samples on both to take advantage of > separate update / cull / draw threads and to get rid of their reliance on > an icky projection matrix callback. It's a lot cleaner now. > > Thanks, > Frank Kane > Founder, Sundog Software,LLC > http://www.sundog-soft.com > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49512#49512 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Possibility of an OSG bot
I don't understand what I'm doing wrong. Here's what my Infovisitor outputs: osg:Node:Group osg:Node:Group db osg:Node:OcclusionQueryNode OQNode_0 osg:Node:Group TableChairs osg:MatrixTransform:MatrixTransform osg:Node:ProxyNode osg:Node:Group db osg:Node:Group Chair1_84 osg:Geode:Geode p3004 osg:Drawable:Geometry osg:Drawable:Geometry osg:Geode:Geode p1077 osg:Drawable:Geometry osg:MatrixTrnasform:Matrixtransform osg:Node:ProxyNode osg:Node:Group db osg:Node:Group Chair1_84 osg:Geode:Geode p3004 osg:Drawable:Geometry osg:Drawable:Geometry osg:Geode:Geode p1077 osg:Drawable:Geometry ...another 2 times, for a total of 4 Chair1_84s. using the polytope intersector, I collect the hits into a group but use grp->containsNode(hit) to avoid the ~5000+ hits because all I'm interested is how many (logical) objects there are visible in the scene. I thought I might be able to store the matrixtransform in the group node, getting 4 different matrixtransforms but that's not the case. I see 4 chairs on my screen, but can only find one distinct node. Why? How can all 4 chairs I see on the screen all reference the same matrixtransform? Sterling -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49538#49538 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] [Tutorial] Building osgAndroidExampleGLES1/2 on Ubuntu 11.10
hi! yes, i have managed to build the examples that come with it, and other people managed to do so too. you shouldn't need to change anything in the example source code, in fact if you follow my tutorial to the dot then you should be able to have it working in 1/2 to 1h. i'm sorry to say that i don't know a solution to the error you're getting. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=49539#49539 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org