From: nds Date: Thu, 28 Jan 2021 07:57:54 +0000 (+0300) Subject: 0032091: Visualization - possibility to redefine Graphic3d_TransformPers X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=73c3cf0a05c3af90081a06b24a1fad9c4b971037;p=occt-copy.git 0032091: Visualization - possibility to redefine Graphic3d_TransformPers (cherry picked from commit b06da8f1f1e4ac945d1f90e14e624aa4d0835024) # Conflicts: # src/AIS/AIS_Plane.hxx # Conflicts: # src/AIS/AIS_Plane.hxx --- diff --git a/tests/bugs/vis/bug32091 b/tests/bugs/vis/bug32091 new file mode 100644 index 0000000000..ece9bb33ad --- /dev/null +++ b/tests/bugs/vis/bug32091 @@ -0,0 +1,32 @@ +puts "============" +puts "CR32091: Visualization - possibility to redefine Graphic3d_TransformPers" +puts "============" +puts "" + +pload VISUALIZATION MODELING +vinit +vclear + +vtrihedron t1 +box b1 500 500 500 +vdisplay b1 -dispmode 1 + +vpoint p1 0 0 0 +vpoint p2 1 0 0 +vpoint p3 0 1 0 + +vplane pl1 p1 p2 p3 0 +vfit + +vchangeplane pl1 sx=100 sy=100 minsize=100 +vupdate pl1 +vfit +vdump ${imagedir}/${casename}_0.png + +vzoom 8 +vpan 1100 600 +vdump ${imagedir}/${casename}_1.png + +vfit +vzoom 0.2 +vdump ${imagedir}/${casename}_2.png