]> OCCT Git - occt-copy.git/commit
0028811: Visualization - merge texturing support into AIS_Shape class and get rid...
authorkgv <kgv@opencascade.com>
Sat, 17 Mar 2018 11:12:54 +0000 (14:12 +0300)
committerkgv <kgv@opencascade.com>
Sat, 17 Mar 2018 12:29:56 +0000 (15:29 +0300)
commit9693be9e51a76defd47e18f8f1239cab25266ef2
tree44fc3297e559f5459ccb36271f93456a704fa9e3
parent720916b871cdffface4334c49490607f2942bc4f
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]