Martin Beckett wrote:
I had no idea that the 3dc plugin did this!
I just needed a way of getting point cloud data in/out of OSG to experiment
with some modeling code.
I also wanted to contribute a simple example of writing a plugin.
I withdraw the submission and I will look at adding write support to the
existing 3DC plugin.
I think there is a use for a flexible text writer that can specify a header,
coordinate ordering and point numbering - there are a lot of packages that read
this sort of data in industry.
So how would I tell osg to use the 3DC plugin to write a file ending in ".csv"?
You're probably looking for the addFileExtensionAlias() method in
osgDB/Registry.cpp
Be careful, though, because this alias works both ways (you'd have to
make the 3DC plugin able to read .csv files as well). Since .csv could
literally represent anything, this might not be the best way to go.
--"J"
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org