[osg-users] [osgPlugins] How to read/write/access OpenFlight Surface Material Code (SMC) and Feature ID (FID) ?

Robert Ioiart rioiart at gmail.com
Thu Apr 14 13:24:30 PDT 2011


Hi all,

Thanks for all the feedback. 
In case you are interested, I have made a patch for the OpenFlight plugin so that it reades/writes the surface material code (SMC) and feature id (FID) and stores it as a description of the geode that contains these attributes.
The format of the description string is like "SF:[SMC]:[FID]" for example "SF:918:10"

So you can expect to see in the .osg file something like this:

Code:
Geode {
DataVariance STATIC
...
description "SF:918:10"
...
}




Regards,
Robert

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38490#38490




Attachments: 
http://forum.openscenegraph.org//files/openflight_read_smc_fid_968.zip





More information about the osg-users mailing list