-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ralf Gerlich wrote:
> Hi!
> 
> Harald JOHNSEN wrote:

> 
>> But if the the real problem is those anoying triangle why not simply 
>> delete them ? Frankly we don't care about the geometry in the btg file, 
>> we just need a height field, let just built this grid and voila (this is 
>> for the display, the btg is still used for agl computation, 
>> intersection, etc or not because finding a height in a grid is instant, 
>> no more sequential scan of a soup of triangles).
> 
> Exactly.
> 
> The question that comes to mind is whether OpenSceneGraph does not
> already have support for such a thing. The applications of OSG I have
> seen seem all to use this concept so maybe it is reasonable to believe
> s.th. like that has been included in OSG? Mathias?
> 
OSG has primitive support for rendering heightfields, but it has good
support for producing geocentric (even whole earth), paged databases
with overlay textures and Level-Of-Detail from DEMs... the same sources
that FlightGear uses. The polygons are not a grid but a TIN. So if you
really want to depart from the btg format, there you go. See
http://www.openscenegraph.com/projects/VirtualPlanetBuilder.

I don't think this scheme is the best possible, and you'd still need to
support the surface properties somehow, but it gets a lot of use from
the OSG community.

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGjk6deDhWHdXrDRURAqLJAJ9IUCqQ6ADdPsPsPIeKVKI59PxakACdGXbZ
qFb72DUrZlT2XdWj/HjXIb0=
=MkkV
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to