0028811: Visualization - merge texturing support into AIS_Shape class and get rid...
authorkgv <kgv@opencascade.com>
Mon, 17 Jul 2017 12:19:33 +0000 (15:19 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 21 Jul 2017 09:10:37 +0000 (12:10 +0300)
commita6dee93dfae1be5f36a5ff702bd39cc41b850ad9
tree982ead50d395c24e8c54bbe6e06fa146281888c7
parent798849860fa631f64c9b64d719876e222b2717f5
0028811: Visualization - merge texturing support into AIS_Shape class and get rid of AIS_TexturedShape

AIS_Shape and AIS_ColoredShape now computes Shaded presentation
with UV coordinates if texture mapping is enabled in Drawer.

OpenGl_Context::SetTextureMatrix() - fixed inconsistent handling
of texture cooridnates translation vector.

vtexture command has been extended to handle new arguments:
* -trsfTrans, -trsfScale, -trsfAngle defining transformation matrix
* -setFilter, -setAnisoFilter to setup texture filtering
19 files changed:
dox/dev_guides/upgrade/upgrade.md
samples/mfc/standard/03_Viewer2d/src/StdAfx.h
samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.cpp
samples/mfc/standard/04_Viewer3d/src/TexturesExt_Presentation.h
samples/mfc/standard/Common/Primitive/Sample2D_Image.cpp
samples/mfc/standard/Common/Primitive/Sample2D_Image.h
samples/mfc/standard/Common/StdAfx.h
src/AIS/AIS_ColoredShape.cxx
src/AIS/AIS_Shape.cxx
src/AIS/AIS_Shape.hxx
src/AIS/AIS_TexturedShape.cxx
src/AIS/AIS_TexturedShape.hxx
src/OpenGl/OpenGl_Context.cxx
src/QABugs/QABugs_19.cxx
src/ViewerTest/ViewerTest.cxx
tests/bugs/vis/bug23804
tests/bugs/vis/bug24622 [deleted file]
tests/v3d/glsl/texture_trsf
tests/v3d/glsl/texture_trsf2 [new file with mode: 0644]