Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-03 Thread Michael Weiblen
...@lists.openscenegraph.org] On Behalf Of Tomlinson, Gordon Sent: Wednesday, March 02, 2011 6:10 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Getting height data of a terrain(flt file) You can get the latest spec for OpenFlight here http://www.presagis.com/products_services/standards/openflight/ Chris I

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-03 Thread Buckley, Bob CTR MDA/DES
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tomlinson, Gordon Sent: Wednesday, March 02, 2011 6:10 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Getting height data of a terrain(flt file) You can get the latest spec for OpenFlight here http://www.presagis.com

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Tomlinson, Gordon
] On Behalf Of Chris 'Xenon' Hanson Sent: Tuesday, March 01, 2011 10:53 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Getting height data of a terrain(flt file) On 3/1/2011 7:54 PM, Mukund Keshav wrote: Hi Robert, Thanks for the reply. Could you please tell where i can find

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
Thanks Chris, Andreas, Gordon. @Andreas. However, if you want to extract a regular terrain height raster from an OpenFlight database, I would say the best solution is to write an OSG application that simply intersects vertically with the terrain at equal distances and puts the result in

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Andreas Ekstrand
Hi Mukund, I just meant that you could implement a spatial traverse over the terrain bounding box with equal steps in X and Y, intersect vertically with the terrain and put the resulting terrain heights in an image which you can write to disk with one of the OSG image plugins implementing

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
Thanks again Andreas, im pretty new to OSG. im missing something here. intersect vertically with the terrain and put the resulting terrain heights in an image Now, how does the intersection yield me a heightmap? or a elevation data? If an elevation raster on disk is what you want,

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Robert Osfield
Hi Mukend, On Wed, Mar 2, 2011 at 6:00 PM, Mukund Keshav osgfo...@tevs.eu wrote: Now, how does the intersection yield me a heightmap? or a elevation data? You build yourself a heightmap for a series of height queries. The osgintersection and osgpick example provides and examples of how to do

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Robert Osfield
Hi Mukund, On Wed, Mar 2, 2011 at 7:16 PM, Mukund Keshav osgfo...@tevs.eu wrote: Well, in my application/project, i would want to know the gradients at places, ie how the terrain slope is varying. To do this, won't we need a heightmap? from which we can calculate the varying gradient? You

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Mukund Keshav
You won't need a height map at all :-) Wow! Cool! Was breaking my head over this! il look into them. Thanks a lot! i just looked into osgIntersection. Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37263#37263

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-02 Thread Buckley, Bob CTR MDA/DES
...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tomlinson, Gordon Sent: Wednesday, March 02, 2011 6:10 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Getting height data of a terrain(flt file) You can get the latest spec for OpenFlight here http

[osg-users] Getting height data of a terrain(flt file)

2011-03-01 Thread Mukund Keshav
Hello Everyone, im using .flt files to load terrain. i loaded a sample terrain from the OSG data.(Joedirt.flt). i was wondering if there is a way to obtain the heightfield/heightmap for the terrain? i googled for .flt file format. i could not get any information on it. Could ot be a closed

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-01 Thread Robert Osfield
Hi Mukend, OpenFlight just stores terrain and meshes, not height fields. Robert. On Tue, Mar 1, 2011 at 7:08 PM, Mukund Keshav osgfo...@tevs.eu wrote: Hello Everyone, im using .flt files to load terrain. i loaded a sample terrain from the OSG data.(Joedirt.flt). i was wondering if there

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-01 Thread Mukund Keshav
Hi Robert, Thanks for the reply. Could you please tell where i can find the exact file format for flt files? Thanks, Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37234#37234 ___

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-01 Thread Chris 'Xenon' Hanson
On 3/1/2011 7:54 PM, Mukund Keshav wrote: Hi Robert, Thanks for the reply. Could you please tell where i can find the exact file format for flt files? FLT isn't really an OSG format, it's a MultiGen format. Documentation on it is very poor and sparse. I wouldn't pursue this unless you

Re: [osg-users] Getting height data of a terrain(flt file)

2011-03-01 Thread Andreas Ekstrand
Hi Mukund, OpenFlight is quite complicated yes, but actually more well documented nowadays. However, if you want to extract a regular terrain height raster from an OpenFlight database, I would say the best solution is to write an OSG application that simply intersects vertically with the terrain