Re: [osg-users] Unable to place model on vpb terrain. How To ?

2014-03-28 Thread lawrence bertoldi
Hi, Shayne, so I've been trying your solution for HAT and am having little luck. I've worked through a few things to be sure that I'm getting the reasonable numbers etc but it seems that i always get the same height back as I put into the. \ I must be missing something... help would be

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-11 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
-boun...@lists.openscenegraph.org] On Behalf Of Sanat Talmaki Sent: Friday, April 08, 2011 11:07 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Unable to place model on vpb terrain. How To ? Hi Shayne, Thanks for your reply. I have tried a few different things and have a few

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-10 Thread Glenn Waldron
Sanat, Sorry for the inconvenience. The site looks to be working properly now. Glenn On Sat, Apr 9, 2011 at 8:30 PM, Sanat Talmaki sanat.sch...@gmail.comwrote: Hi Glenn, Yes that surely helped. I looked at the osg file generated by vpb and didn't see the ellipsoid model in there. Just

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-09 Thread Glenn Waldron
Sanat, The method won't work because your VPB database is not geocentric. It is projected (UTM). A non-geocetric db won't have an EllipsoidModel. Setting an EM won't work. The EllipsoidModel conversion methods only convert between geodetic (lat/long) and geocentric. The conversion works in

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-09 Thread Sanat Talmaki
Hi Glenn, Yes that surely helped. I looked at the osg file generated by vpb and didn't see the ellipsoid model in there. Just didn't strike me that I would have to take a different route. P.S. I tried accessing the osgEarth website a couple of times last week but it seemed as though it was

[osg-users] Unable to place model on vpb terrain. How To ?

2011-04-08 Thread Sanat Talmaki
Hi, I am trying to place a model on a vpb terrain by supplying the lat-long coordinates. I followed a couple of threads in the forum that suggested to use the CoordinateSystemNode and ellipsoid model. But that didn't work for me (or maybe I am not following it right). I have attached the

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-08 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
to place model on vpb terrain. How To ? Hi, I am trying to place a model on a vpb terrain by supplying the lat-long coordinates. I followed a couple of threads in the forum that suggested to use the CoordinateSystemNode and ellipsoid model. But that didn't work for me (or maybe I am

Re: [osg-users] Unable to place model on vpb terrain. How To ?

2011-04-08 Thread Sanat Talmaki
Hi Shayne, Thanks for your reply. I have tried a few different things and have a few questions from that: First of, when I try something like this: Code: osg::ref_ptrosg::EllipsoidModel em = csnVisitor.coordinateSystemNode-getEllipsoidModel(); if(!em) { std::cout ellipsoid model is