Hi Brede,

On 12/5/06, Brede Johansen <[EMAIL PROTECTED]> wrote:
> What would happen if one of these files turned up at our door?

The convertWrapMode() in PaletteRecords.cpp returns
osg::Texture2D::REPEAT for unknown wrap modes.
In the OF spec. revision 11 from 1992 it is called "Repetition Type".
In revision 12 also from 1992 we get to know that 0 means TX_REPEAT, 1
means TX_CLAMP and 2 is Obsolete.
The OF specification leaves much to be decided by the reader.

So the current code is safe, I'm happy to leave it, I do wonder about
adding a comment for future reference though.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to