matthew-reid
matthew-reid
* Added missing SRGB checks in conditionals. * Fixed bug where glCompressedTexSubImage2D was incorrectly called with pixel format instead of internal texture format. * Added missing include for std::min, required...
This change ensures that relative image paths are preserved when the OBJ is written out. This makes the saved OBJ portable. Without this change, images will only load correctly if...
[This line in the OBJ Reader](https://github.com/openscenegraph/OpenSceneGraph/blob/34a1d8bc9bba5c415c4ff590b3ea5229fa876ba8/src/osgPlugins/obj/ReaderWriterOBJ.cpp#L245) causes images to be loaded as an absolute path. This produces undesirable behavior when writing the scene out again; any relative paths in the...
I also made some of the interface methods virtual because I need to override them in my application