0030571: Visualization, TKOpenGl - mapped texture is ignored while drawing points IR-2019-03-15
authorkgv <kgv@opencascade.com>
Sat, 16 Mar 2019 13:47:33 +0000 (16:47 +0300)
committerapn <apn@opencascade.com>
Sat, 16 Mar 2019 13:48:21 +0000 (16:48 +0300)
commit737e9a8da482070ba81b8f3b80d33d823680f7d8
tree0d66961c9570e401e88a972e4f8eff8a31a84dce
parentad4b04291f01b08c670898faf2db370697313e73
0030571: Visualization, TKOpenGl - mapped texture is ignored while drawing points

OpenGl_AspectsTextureSet now appends Sprite texture to the end of texture set.
OpenGl_Context::init() - fixed usage of GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS on too old GL context.

Default sampler names occSampler0, occActiveSampler and occSamplerBaseColor
are now excluded from header with common declarations for build-in GLSL programs.

OpenGl_ShaderObject::LoadAndCompile() and OpenGl_ShaderProgram::Link()
now includes program Id within error log.

OpenGl_ShaderManager now supports mapping texture onto point primitive within built-in programs
(texture transformation is ignored).
28 files changed:
src/Graphic3d/Graphic3d_Aspects.hxx
src/Graphic3d/Graphic3d_ShaderProgram.cxx
src/Graphic3d/Graphic3d_ShaderProgram.hxx
src/OpenGl/OpenGl_Aspects.cxx
src/OpenGl/OpenGl_Aspects.hxx
src/OpenGl/OpenGl_AspectsSprite.cxx
src/OpenGl/OpenGl_AspectsSprite.hxx
src/OpenGl/OpenGl_AspectsTextureSet.cxx
src/OpenGl/OpenGl_AspectsTextureSet.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_PointSprite.hxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_SetOfShaderPrograms.hxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderManager.hxx
src/OpenGl/OpenGl_ShaderObject.cxx
src/OpenGl/OpenGl_ShaderObject.hxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_Texture.hxx
src/OpenGl/OpenGl_TextureSet.cxx
src/OpenGl/OpenGl_TextureSet.hxx
src/OpenGl/OpenGl_View_Raytrace.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/Shaders/Declarations.glsl
src/Shaders/Shaders_Declarations_glsl.pxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
tests/v3d/point_cloud/sphere