|
发表于 2015-4-2 15:56:40
|
显示全部楼层
你看看ReaderWriterIVE.cpp,里面有怎么设置导出纹理的
ReaderWriterIVE()
{
supportsExtension("ive","OpenSceneGraph native binary format");
supportsOption("compressed","Export option, use zlib compression to compress the data in the .ive ");
supportsOption("noTexturesInIVEFile","Export option");
supportsOption("includeImageFileInIVEFile","Export option");
supportsOption("compressImageData","Export option");
supportsOption("inlineExternalReferencesInIVEFile","Export option");
supportsOption("noWriteExternalReferenceFiles","Export option");
supportsOption("useOriginalExternalReferences","Export option");
supportsOption("TerrainMaximumErrorToSizeRatio=value","Export option that controls error matric used to determine terrain HeightField storage precision.");
supportsOption("noLoadExternalReferenceFiles","Import option");
supportsOption("OutputTextureFiles","Write out the texture images to file");
} |
|