MantisBT
Mantis Bug Tracker Workflow

occt: master ba00aab7 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
kgv apn master 2019-08-29 08:04:56 master aaf8d6a9
Affected Issues 0029528: Visualization, TKOpenGl - allow defining sRGB textures
Changeset 0029528: Visualization, TKOpenGl - allow defining sRGB textures

OpenGL rendering is now done into sRGB framebuffer.
OpenGl_ShaderManager::prepareStdProgramFboBlit() has been extended
by programs resolving MSAA texture and applying gamma correction as fallbacks.

Quantity_Color definition has been modified to store RGB components
in linear color space within Quantity_TOC_RGB type.
Standard colors defined by Quantity_NameOfColor enumeration has been updated accordingly.
New Quantity_TOC_sRGB type has been introduced to handle RGB components in non-linear sRGB color space.

OpenGl_TextureFormat class definition has been moved to dedicated files.
New method OpenGl_TextureFormat::FindFormat() replaces OpenGl_Texture::GetDataFormat().
New method OpenGl_TextureFormat::FindSizedFormat() replaces OpenGl_FrameBuffer::getColorDataFormat()
and OpenGl_FrameBuffer::getDepthDataFormat().

Graphic3d_TextureRoot::IsColorMap() - introduced new property defining
if RGB(A)8 image formats should be loaded as sRGB(A) textures or as data RGB(A) textures.
OpenGl_Texture initialization methods have been extended with new theIsColorMap argument.

vreadpixel - added argument -sRGB printing color in sRGB color space.

Test cases have been updated to new sRGB rendered results.
mod - dox/dev_guides/upgrade/upgrade.md Diff ] File ]
mod - src/Cocoa/Cocoa_Window.mm Diff ] File ]
mod - src/D3DHost/D3DHost_FrameBuffer.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_MaterialAspect.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_TextureMap.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_TextureRoot.cxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_TextureRoot.hxx Diff ] File ]
mod - src/Graphic3d/Graphic3d_TypeOfLimit.hxx Diff ] File ]
mod - src/IGESCAFControl/IGESCAFControl_Reader.cxx Diff ] File ]
mod - src/IGESCAFControl/IGESCAFControl_Writer.cxx Diff ] File ]
mod - src/MeshVS/MeshVS_TwoColors.cxx Diff ] File ]
mod - src/OpenGl/FILES Diff ] File ]
mod - src/OpenGl/OpenGl_AspectsSprite.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_BackgroundArray.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_BackgroundArray.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Caps.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Caps.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Context.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Font.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_FrameBuffer.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_FrameBuffer.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_GlFunctions.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Material.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_ShaderManager.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_Texture.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Texture.hxx Diff ] File ]
add - src/OpenGl/OpenGl_TextureFormat.cxx Diff ] File ]
add - src/OpenGl/OpenGl_TextureFormat.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_TileSampler.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_View.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_View.hxx Diff ] File ]
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_View_Redraw.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Window.cxx Diff ] File ]
mod - src/OpenGl/OpenGl_Workspace.cxx Diff ] File ]
mod - src/QABugs/QABugs_17.cxx Diff ] File ]
mod - src/QABugs/QABugs_19.cxx Diff ] File ]
mod - src/Quantity/Quantity_Color.cxx Diff ] File ]
mod - src/Quantity/Quantity_Color.hxx Diff ] File ]
mod - src/Quantity/Quantity_ColorRGBA.cxx Diff ] File ]
mod - src/Quantity/Quantity_ColorRGBA.hxx Diff ] File ]
mod - src/Quantity/Quantity_ColorTable.pxx Diff ] File ]
mod - src/Quantity/Quantity_TypeOfColor.hxx Diff ] File ]
mod - src/RWGltf/RWGltf_GltfJsonParser.cxx Diff ] File ]
mod - src/RWGltf/RWGltf_MaterialCommon.hxx Diff ] File ]
mod - src/RWObj/RWObj_Material.hxx Diff ] File ]
mod - src/RWObj/RWObj_MtlReader.cxx Diff ] File ]
mod - src/Shaders/Display.fs Diff ] File ]
mod - src/Shaders/PathtraceBase.fs Diff ] File ]
mod - src/Shaders/Shaders_Display_fs.pxx Diff ] File ]
mod - src/Shaders/Shaders_PathtraceBase_fs.pxx Diff ] File ]
mod - src/StdSelect/StdSelect_ViewerSelector3d.cxx Diff ] File ]
mod - src/STEPCAFControl/STEPCAFControl_Writer.cxx Diff ] File ]
mod - src/STEPConstruct/STEPConstruct_Styles.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff ] File ]
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff ] File ]
mod - src/Vrml/Vrml_DirectionalLight.cxx Diff ] File ]
mod - src/Vrml/Vrml_Material.cxx Diff ] File ]
mod - src/Vrml/Vrml_PointLight.cxx Diff ] File ]
mod - src/Vrml/Vrml_SpotLight.cxx Diff ] File ]
mod - src/VrmlAPI/VrmlAPI_Writer.cxx Diff ] File ]
mod - src/VrmlData/VrmlData_Color.hxx Diff ] File ]
mod - src/VrmlData/VrmlData_Material.cxx Diff ] File ]
mod - src/VrmlData/VrmlData_ShapeConvert.cxx Diff ] File ]
mod - tests/bugs/modalg_6/bug26379_1 Diff ] File ]
mod - tests/bugs/modalg_6/bug26379_2 Diff ] File ]
mod - tests/bugs/step/bug30189_1 Diff ] File ]
mod - tests/bugs/vis/bug22048 Diff ] File ]
rm - tests/bugs/vis/bug22879 Diff ] File ]
mod - tests/bugs/vis/bug24762_coloredshape Diff ] File ]
mod - tests/bugs/vis/bug25136 Diff ] File ]
mod - tests/bugs/vis/bug25340 Diff ] File ]
mod - tests/bugs/vis/bug25459_coloredshape Diff ] File ]
mod - tests/bugs/vis/bug25544_graytexture Diff ] File ]
mod - tests/bugs/vis/bug25552 Diff ] File ]
mod - tests/bugs/vis/bug25695 Diff ] File ]
mod - tests/bugs/vis/bug25723 Diff ] File ]
mod - tests/bugs/vis/bug25723_1 Diff ] File ]
mod - tests/bugs/vis/bug26028 Diff ] File ]
mod - tests/bugs/vis/bug26217 Diff ] File ]
mod - tests/bugs/vis/bug26344 Diff ] File ]
mod - tests/bugs/vis/bug26357 Diff ] File ]
mod - tests/bugs/vis/bug26680 Diff ] File ]
mod - tests/bugs/vis/bug26719_1 Diff ] File ]
mod - tests/bugs/vis/bug26940 Diff ] File ]
mod - tests/bugs/vis/bug26960 Diff ] File ]
mod - tests/bugs/vis/bug27083 Diff ] File ]
mod - tests/bugs/vis/bug27536 Diff ] File ]
mod - tests/bugs/vis/bug27618 Diff ] File ]
mod - tests/bugs/vis/bug27629 Diff ] File ]
mod - tests/bugs/vis/bug27796 Diff ] File ]
mod - tests/bugs/vis/bug27797 Diff ] File ]
mod - tests/bugs/vis/bug27817 Diff ] File ]
mod - tests/bugs/vis/bug27836 Diff ] File ]
mod - tests/bugs/vis/bug27945 Diff ] File ]
mod - tests/bugs/vis/bug27986_1 Diff ] File ]
mod - tests/bugs/vis/bug27986_2 Diff ] File ]
mod - tests/bugs/vis/bug28004 Diff ] File ]
mod - tests/bugs/vis/bug28036_1 Diff ] File ]
mod - tests/bugs/vis/bug28036_2 Diff ] File ]
mod - tests/bugs/vis/bug28127 Diff ] File ]
mod - tests/bugs/vis/bug28527 Diff ] File ]
mod - tests/bugs/vis/bug28988 Diff ] File ]
mod - tests/bugs/vis/bug29051 Diff ] File ]
mod - tests/bugs/vis/bug29262 Diff ] File ]
mod - tests/bugs/vis/bug29768 Diff ] File ]
mod - tests/bugs/vis/bug29791 Diff ] File ]
mod - tests/bugs/vis/bug30672 Diff ] File ]
mod - tests/bugs/vis/bug30756 Diff ] File ]
mod - tests/bugs/vis/bug30906 Diff ] File ]
mod - tests/bugs/vis/bug30949 Diff ] File ]
mod - tests/bugs/xde/bug23193 Diff ] File ]
mod - tests/bugs/xde/bug25381 Diff ] File ]
mod - tests/bugs/xde/bug28641 Diff ] File ]
mod - tests/bugs/xde/bug30779 Diff ] File ]
mod - tests/v3d/anim/objects Diff ] File ]
mod - tests/v3d/anim/rotate Diff ] File ]
mod - tests/v3d/anim/scale Diff ] File ]
mod - tests/v3d/anim/translate Diff ] File ]
mod - tests/v3d/face/F3 Diff ] File ]
mod - tests/v3d/glsl/clipping1 Diff ] File ]
mod - tests/v3d/glsl/distinguish_off Diff ] File ]
mod - tests/v3d/glsl/gouraud_pos1 Diff ] File ]
mod - tests/v3d/glsl/gouraud_spot1 Diff ] File ]
mod - tests/v3d/glsl/phong_plastic Diff ] File ]
mod - tests/v3d/glsl/phong_pos1 Diff ] File ]
mod - tests/v3d/glsl/phong_spot1 Diff ] File ]
mod - tests/v3d/glsl/texture_trsf Diff ] File ]
mod - tests/v3d/glsl/texture_trsf2 Diff ] File ]
mod - tests/v3d/materials/bug27617 Diff ] File ]
mod - tests/v3d/materials/bug27818_1 Diff ] File ]
mod - tests/v3d/materials/bug27818_2 Diff ] File ]
mod - tests/v3d/viewcube/default Diff ] File ]


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker