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 apprecia
users-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
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 wrote:
> 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
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 do
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 osgEa
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_ptr em =
csnVisitor.coordinateSystemNode->getEllipsoidModel();
if(!em)
{
std::cout << "ellipsoid model is null\n";
}
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 a
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 te
8 matches
Mail list logo