Hi,

shouldn't the line

bool inlineImageFile = _dataSet->getDestinationTileExtension()==".ive"; 

be expanded to:

bool inlineImageFile = _dataSet->getDestinationTileExtension()==".ive" || 
_dataSet->getDestinationTileExtension()==".osgb";

inorder to get mipmaps as imagery in osgb files?

I would also only set hardware mipmap generation in the output file, when 
MIP_MAPPING_HARDWARE is set:

texture->setUseHardwareMipMapGeneration(getImageOptions(layerNum)->getMipMappingMode()
 == DataSet::MIP_MAPPING_HARDWARE);

Is this correct?

--Alex






Thank you!

Cheers,
Alexander

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to