Re: [osg-users] osgDEM layers and CoordinateSystemNode
Hi Robert, server... By GE do you mean Google Earth? Yep... by default generates OpenGL compressed textures which results in much much large tiles and poorer paging over the web - but much better performance when loading from a local disk. osgdem as it stands is focused on local disk performance. That makes sense. In the rewrite of VPB I will be adding options to generate databases much more suitable for paging over the web where latency and bandwidth are serious issue. Optimizations will include support for compressed imagery and more compact geometry representations. Excellent. As of this week we'll go across to OSG 2.x / VPB 0.9x and I'll start doing some extensive testing. In the end the solution to better paging over the web performance will come from a combination of better runtime paging/download performance and better database generation tuned for lower bandwidth. Great, thanks for your explanation. Regards Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDEM layers and CoordinateSystemNode (Robert Osfield)
Hi Robert, The VPB state seems appropriate to me, I'm not sure what else need to be added. I know it works but performance over the internet is just not really anything like GE (OSG1.2). Maybe 2.x is faster... maybe it is our web server... I saw there was a discussion about speeding up the net plugin about 8 months ago and the answer was to wait for a complete multi threaded database pager? Regards, Gert. -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDEM layers and CoordinateSystemNode
Hi Robert, Try the child below the MultTextureControl, this should be the CoordinateSystemNode you are after. Yep that did the trick. All good. We'll have a look at extending the multitexture control to more than 3 layers. On another note: on the VPB site I read: These databases can then be uploaded onto the internet and provideonline GoogleEarth style roaming of whole planet databases I was under the impression, we could only have it local or on a high speed network thru the net plugin. G. -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDEM layers and CoordinateSystemNode
Forgot to mention, use osgconv on the root tile in your database to have a look at what node layout its generated i.e. osgconv mydatabase.ive mydatabase.osg ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDEM layers and CoordinateSystemNode
Hi Robert, You don't say how you check for the CoordinateSystemNode as I suspect this might be the source of your problem. Very simple: if((_osg_terrain = osgDB::readNodeFile(filename))) { /* check if coordinate system */ osg::CoordinateSystemNode* csn = dynamic_castosg::CoordinateSystemNode*(_osg_terrain); This result in csn == NULL; Had a look at the .osg and indeed the CoordinateSystemNode is a child node of the MultiTextureControl node. Thanks Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osgDEM layers and CoordinateSystemNode
Try the child below the MultTextureControl, this should be the CoordinateSystemNode you are after. On 8/17/07, Gert van Maren [EMAIL PROTECTED] wrote: Hi Robert, You don't say how you check for the CoordinateSystemNode as I suspect this might be the source of your problem. Very simple: if((_osg_terrain = osgDB::readNodeFile(filename))) { /* check if coordinate system */ osg::CoordinateSystemNode* csn = dynamic_castosg::CoordinateSystemNode*(_osg_terrain); This result in csn == NULL; Had a look at the .osg and indeed the CoordinateSystemNode is a child node of the MultiTextureControl node. Thanks Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ 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
[osg-users] osgDEM layers and CoordinateSystemNode
Hi guys, It seems as soon as I try to add a layer to a geocentric db - CoordinateSystemNode ==NULL; -t %SRC_TEX2% -t %SRC_TEX3% --layer 1 -t %SRC_TEX8%^ -d %SRC_ELE1% -d %SRC_ELE2% -d %SRC_ELE3%^ --no-terrain-simplification --geocentric --skirt-ratio 0.06 -l %NUM_LVL% -o %TGT_IVE% result in CoordinateSystemNode ==NULL -t %SRC_TEX2% -t %SRC_TEX3% --layer 0 -t %SRC_TEX8%^ -d %SRC_ELE1% -d %SRC_ELE2% -d %SRC_ELE3%^ --no-terrain-simplification --geocentric --skirt-ratio 0.06 -l %NUM_LVL% -o %TGT_IVE% result in a proper CoordinateSystemNode. Any ideas? Gert -- Gert van Maren Head of Research Development K2Vi Virtual Reality Software Data Interface Technologies Ltd Phone: +64 21 2855581 Email: [EMAIL PROTECTED] Web: http://www.k2vi.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org