diff --git a/src/osgPlugins/vrml/ReaderWriterVRML2.h b/src/osgPlugins/vrml/ReaderWriterVRML2.h index 64a74774b..a1c1527c3 100644 --- a/src/osgPlugins/vrml/ReaderWriterVRML2.h +++ b/src/osgPlugins/vrml/ReaderWriterVRML2.h @@ -70,6 +70,12 @@ public: ReaderWriterVRML2() { supportsExtension("wrl","VRML format"); + supportsOption("directoryTexture=","Export option. If a texture needs to be copied, it will be into directory instead of the working one"); + supportsOption("convertTextures=0","Export option. Keep textures in their original format but copy them into directory"); + supportsOption("convertTextures=-1","Export option. Use textures but do not convert them, keep them in their original format and location."); + supportsOption("convertTextures=-2","Export option. Do not use textures, export only geometry"); + supportsOption("convertTextures=-3","Export option. Default value.Convert textures to jpeg or png format, according to alpha values, and copy them into directory "); + supportsOption("textureUnit=","Export option. Use parameters of texture unit X instead of unit 0 in case of multitexture input file"); } virtual const char* className() const { return "VRML2 Reader/Writer"; }