Re: [osg-users] VPB terrain to OpenFlight...

2013-06-14 Thread Robert Osfield
Hi Shayne,

On 14 June 2013 18:35, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
shayne.tuel...@hill.af.mil wrote:
 This question may have already been asked, but has anyone successfully
 converted/exported a VPB terrain (*.ive file) to an OpenFlight (*.flt)
 file? Is this possible to do?

 If so, is it better to use osgconv or to do it programmatically?

Features like PagedLOD don't map to OpenFlight and an integral part of
VPB generated databases so you won't be able to simply convert to
OpenFlight.

You could export the geometry and perhaps convert PagedLOD to LOD's,
but this will require a custom visitor to do the job and the bits you
end up with won't be particularly useful.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB terrain to OpenFlight...

2013-06-14 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Robert,

Thanks for the timely reply. That's basically what I needed to know.

I'm assuming if I had a database with a single LOD (e.g. a heightfield) then
that might come across okay?

Thanks,
-Shayne

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Friday, June 14, 2013 11:52 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPB terrain to OpenFlight...

Hi Shayne,

On 14 June 2013 18:35, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
shayne.tuel...@hill.af.mil wrote:
 This question may have already been asked, but has anyone successfully 
 converted/exported a VPB terrain (*.ive file) to an OpenFlight (*.flt) 
 file? Is this possible to do?

 If so, is it better to use osgconv or to do it programmatically?

Features like PagedLOD don't map to OpenFlight and an integral part of VPB
generated databases so you won't be able to simply convert to OpenFlight.

You could export the geometry and perhaps convert PagedLOD to LOD's, but
this will require a custom visitor to do the job and the bits you end up
with won't be particularly useful.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB terrain to OpenFlight...

2013-06-14 Thread Robert Osfield
Hi Shayne,

On 14 June 2013 19:05, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
shayne.tuel...@hill.af.mil wrote:
 Thanks for the timely reply. That's basically what I needed to know.

 I'm assuming if I had a database with a single LOD (e.g. a heightfield) then
 that might come across okay?

Actually the osgTerrain components including the height filed won't be
supported by OpenFlight either... so all you'd get would be the
LOD's...

You can build databases that contain just LOD's and osg::Geometry
based tiles but you'll need to explicitly select this when you do the
VPB build.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB terrain to OpenFlight...

2013-06-14 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Got it. I'll give that a try and see how things shake out.

Thanks for the help...

-Shayne

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert
Osfield
Sent: Friday, June 14, 2013 12:44 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPB terrain to OpenFlight...

Hi Shayne,

On 14 June 2013 19:05, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
shayne.tuel...@hill.af.mil wrote:
 Thanks for the timely reply. That's basically what I needed to know.

 I'm assuming if I had a database with a single LOD (e.g. a 
 heightfield) then that might come across okay?

Actually the osgTerrain components including the height filed won't be
supported by OpenFlight either... so all you'd get would be the LOD's...

You can build databases that contain just LOD's and osg::Geometry based
tiles but you'll need to explicitly select this when you do the VPB build.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


smime.p7s
Description: S/MIME cryptographic signature
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org