[osg-submissions] Gdal plugin tweaks
Robert Osfield
robert.osfield at gmail.com
Tue Aug 7 07:33:02 PDT 2007
Thanks Luc, I've go ahead and merged your changes so they are now
checked in to SVN.
I would be nice to import the coordinate system string, perhaps even
set up an osgTerrain::Locator for the data. Perhaps even support
osgTerrain directly with the plugin passing back a full
osgTerrain::Layer object, with the Locator, no data values etc all set
up. ReaderWriter::readObject() method would need to used for this
purpose.
My current focus has shifted from osgTerrain to VPB, but I'll will
jumping between the two over time. For instance its my intention of
the input to VPB to related to the way that osgTerrain now manages
Layers and Locators, and in fact share the same source data file
format. More on this as its developed, I'll ping osg-users as the
work develops.
Robert.
On 8/7/07, Frauciel Luc <L.Frauciel at brgm.fr> wrote:
> Hi,
>
> First it's great that the gdal plugin has returned to the main distribution (it was a pain to handle).
>
> Gdal plugins reads lots of information that is not taken into account in ReadHeigthField for example.
> Attached a modification that read the HeigthField position and X,Yintervals.
> I also removed the limitation to 1024*1024 to 4096*4096, because when you are preprocessing your data with OSG, it can be useful to read large images/heigthfields. Is there a reason (other than hardware limitations for textures) for this limit ?
>
> Another thing that would be great would be to read NoData value and put it in the osg::HeightField structure.
> It could also be useful for the new osgTerrain::Field structure with NoDataValue (ValidDataOperator) or to handle nodata at runtime (through geometry or vertex shaders for example).
>
> I'm impressed by the great job already done on osgTerrain. Would it be possible to have an example of the .terrain extension, because I dont really understand what I should put in my .terrain file.
>
> Best Regards
>
> Luc
>
>
> Luc FRAUCIEL - BRGM
> Unité Calcul, 3D et réalité virtuelle
> Service Systèmes et Technologies de l'Information
> 3, av C. Guillemin BP 6009 - 45060 Orléans Cedex 2, France
> Tél. 02 38 64 35 65
> Fax 02 38 64 39 70
> **********************************************************************************************
>
> Pensez à l'environnement avant d'imprimer ce message
> Think Environment before printing
>
> Le contenu de ce mél et de ses pièces jointes est destiné à l'usage exclusif du (des) destinataire(s) désigné(s)
> comme tel(s).
> En cas de réception par erreur, le signaler à son expéditeur et ne pas en divulguer le contenu.
> L'absence de virus a été vérifiée à l'émission, il convient néanmoins de s'assurer de l'absence de
> contamination à sa réception.
>
> The contents of this email and any attachments areconfidential. They are intended for the named recipient(s)
> only.
> If you have received this email in error please notifythe system manager or the sender immediately and do not
> disclose the contents to anyone or make copies.
> eSafe scanned this email for viruses, vandals and malicious content.
>
> **********************************************************************************************
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
More information about the osg-submissions
mailing list