Hello Robert,

thanks for your comments.

An alternative might be that I rewrite the GTA plugin to use the libgta
C interface and avoid exceptions completely (the C++ interface is just
a very thin wrapper around the C interface anyway).

Would you prefer that solution?

Martin


On Wed, 15 Feb 2012 16:34:28 +0000, Robert Osfield wrote:
> Hi Martin,
> 
> Thanks for reposting, the attachments came through just fine this
> time.  I've just did a quick review of the gta plugin and the use of
> c++ exceptions is something that would cause problems on some embedded
> platforms builds as exceptions aren't supported.   The core OSG avoids
> use of exceptions for this reason, but some of the plugins do
> currently use exceptions, which is fine if those plugins that don't
> need to be used on the embedded platform, but the day they do they the
> we'd need to port them across.  I'm reluctant to introduce another
> plugin that might need this same porting job to be done for it.
> Would you envisage this plugin being used on an embedded platform?
> 
> On the build front I'll need to have a think how we disable plugins
> that use exceptions from being built when compilers disable
> exceptions.
> 
> Robert.
> 
> On 8 February 2012 18:38, Martin Lambers <[email protected]> wrote:
> > Hi everyone,
> >
> > on request by Robert Osfield, I'm resubmitting this patch proposal.
> >
> > If you would like me to update it to the current SVN revisions,
> > please let me know.
> >
> > Best regards,
> > Martin
> >
> >
> > Begin forwarded message:
> >
> > Date: Mon, 5 Dec 2011 09:16:17 +0100
> > From: Martin Lambers <[email protected]>
> > To: [email protected]
> > Subject: Enhancement: Support for floating point data in
> > VirtualPlanetBuilder
> >
> >
> > Hi all!
> >
> > I'd like to propose two patches that add support for floating point
> > data to VirtualPlanetBuilder. This allows e.g. to use elevation
> > data or temperature measurements or precipitation data or other
> > kinds of sensor data in the fragment shader to produce
> > interactively adjustable visualizations.
> >
> > The first patch (1-vpb-add-float-formats) is for VPB revision 1045.
> > It adds new options to choose the texture type: --RGB32F and
> > --RGBA32F. Furthermore, it adds support for floating point data to
> > the GDAL import code.
> >
> > The second patch (2-osg-add-gta-plugin) is for OSG revision 12890.
> > It adds a new ReaderWriter plugin for the GTA file format
> > (http://gta.nongnu.org). This allows to read and write floating
> > point image data. Unlike other formats, GTA also allows very good
> > compression ratios for floating point data. The compression method
> > can be selected with the COMPRESSION option of the plugin.
> >
> > To use these features with VirtualPlanetBuilder, build the database
> > with the following options:
> > --RGB32F --image-ext gta -O "COMPRESSION XZ" -t <YOUR-DATA>
> >
> > If you prefer, I can assign the copyright for this code to the OSG
> > project lead.
> >
> > Best regards,
> > Martin

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to