mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
0032222: Visualization, V3d_Viewer - use Graphic3d_TOSM_FRAGMENT by default instead of Graphic3d_TOSM_VERTEX
This commit is contained in:
parent
bbd9292784
commit
1a96d253a5
@ -27,6 +27,7 @@
|
|||||||
#include <Message_Messenger.hxx>
|
#include <Message_Messenger.hxx>
|
||||||
#include <gp_Quaternion.hxx>
|
#include <gp_Quaternion.hxx>
|
||||||
#include <V3d_View.hxx>
|
#include <V3d_View.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
#include <WNT_HIDSpaceMouse.hxx>
|
#include <WNT_HIDSpaceMouse.hxx>
|
||||||
|
|
||||||
// =======================================================================
|
// =======================================================================
|
||||||
|
@ -15,17 +15,13 @@
|
|||||||
#include <PrsMgr_PresentationManager.hxx>
|
#include <PrsMgr_PresentationManager.hxx>
|
||||||
|
|
||||||
#include <TopLoc_Datum3D.hxx>
|
#include <TopLoc_Datum3D.hxx>
|
||||||
#include <Graphic3d_GraphicDriver.hxx>
|
|
||||||
#include <Prs3d_Drawer.hxx>
|
#include <Prs3d_Drawer.hxx>
|
||||||
#include <Prs3d_Presentation.hxx>
|
|
||||||
#include <Prs3d_PresentationShadow.hxx>
|
#include <Prs3d_PresentationShadow.hxx>
|
||||||
#include <PrsMgr_PresentableObject.hxx>
|
#include <PrsMgr_PresentableObject.hxx>
|
||||||
#include <PrsMgr_Presentation.hxx>
|
#include <PrsMgr_Presentation.hxx>
|
||||||
#include <PrsMgr_Presentations.hxx>
|
#include <PrsMgr_Presentations.hxx>
|
||||||
#include <Standard_NoSuchObject.hxx>
|
|
||||||
#include <Standard_Type.hxx>
|
|
||||||
#include <TColStd_ListIteratorOfListOfTransient.hxx>
|
|
||||||
#include <V3d_View.hxx>
|
#include <V3d_View.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(PrsMgr_PresentationManager, Standard_Transient)
|
IMPLEMENT_STANDARD_RTTIEXT(PrsMgr_PresentationManager, Standard_Transient)
|
||||||
|
|
||||||
|
@ -17,17 +17,10 @@
|
|||||||
#ifndef _PrsMgr_PresentationManager_HeaderFile
|
#ifndef _PrsMgr_PresentationManager_HeaderFile
|
||||||
#define _PrsMgr_PresentationManager_HeaderFile
|
#define _PrsMgr_PresentationManager_HeaderFile
|
||||||
|
|
||||||
#include <Graphic3d_NameOfMaterial.hxx>
|
|
||||||
#include <Graphic3d_StructureManager.hxx>
|
#include <Graphic3d_StructureManager.hxx>
|
||||||
#include <Graphic3d_ZLayerId.hxx>
|
#include <Graphic3d_ZLayerId.hxx>
|
||||||
#include <Standard_Transient.hxx>
|
|
||||||
#include <PrsMgr_ListOfPresentations.hxx>
|
#include <PrsMgr_ListOfPresentations.hxx>
|
||||||
#include <Quantity_Color.hxx>
|
#include <Quantity_Color.hxx>
|
||||||
#include <Quantity_NameOfColor.hxx>
|
|
||||||
#include <Standard.hxx>
|
|
||||||
#include <Standard_Boolean.hxx>
|
|
||||||
#include <Standard_Integer.hxx>
|
|
||||||
#include <Standard_Type.hxx>
|
|
||||||
|
|
||||||
class Graphic3d_Structure;
|
class Graphic3d_Structure;
|
||||||
typedef Graphic3d_Structure Prs3d_Presentation;
|
typedef Graphic3d_Structure Prs3d_Presentation;
|
||||||
@ -36,7 +29,6 @@ class TopLoc_Datum3D;
|
|||||||
class Prs3d_Drawer;
|
class Prs3d_Drawer;
|
||||||
class PrsMgr_Presentation;
|
class PrsMgr_Presentation;
|
||||||
class PrsMgr_PresentableObject;
|
class PrsMgr_PresentableObject;
|
||||||
class Standard_NoSuchObject;
|
|
||||||
class V3d_Viewer;
|
class V3d_Viewer;
|
||||||
|
|
||||||
DEFINE_STANDARD_HANDLE(PrsMgr_PresentationManager, Standard_Transient)
|
DEFINE_STANDARD_HANDLE(PrsMgr_PresentationManager, Standard_Transient)
|
||||||
|
@ -54,6 +54,7 @@
|
|||||||
#include <TopExp_Explorer.hxx>
|
#include <TopExp_Explorer.hxx>
|
||||||
#include <TopoDS_Shape.hxx>
|
#include <TopoDS_Shape.hxx>
|
||||||
#include <V3d_View.hxx>
|
#include <V3d_View.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
#include <ViewerTest.hxx>
|
#include <ViewerTest.hxx>
|
||||||
#include <XmlDrivers_DocumentRetrievalDriver.hxx>
|
#include <XmlDrivers_DocumentRetrievalDriver.hxx>
|
||||||
#include <XmlDrivers_DocumentStorageDriver.hxx>
|
#include <XmlDrivers_DocumentStorageDriver.hxx>
|
||||||
|
@ -14,10 +14,12 @@
|
|||||||
// commercial license or contractual agreement.
|
// commercial license or contractual agreement.
|
||||||
|
|
||||||
#include <V3d_Plane.hxx>
|
#include <V3d_Plane.hxx>
|
||||||
|
|
||||||
#include <Graphic3d_Group.hxx>
|
#include <Graphic3d_Group.hxx>
|
||||||
#include <Graphic3d_AspectFillArea3d.hxx>
|
#include <Graphic3d_AspectFillArea3d.hxx>
|
||||||
#include <Graphic3d_ArrayOfQuadrangles.hxx>
|
#include <Graphic3d_ArrayOfQuadrangles.hxx>
|
||||||
#include <gp_Pln.hxx>
|
#include <gp_Pln.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT(V3d_Plane,Standard_Transient)
|
IMPLEMENT_STANDARD_RTTIEXT(V3d_Plane,Standard_Transient)
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@
|
|||||||
#include <Prs3d_TextAspect.hxx>
|
#include <Prs3d_TextAspect.hxx>
|
||||||
#include <Prs3d_ToolSphere.hxx>
|
#include <Prs3d_ToolSphere.hxx>
|
||||||
#include <V3d_View.hxx>
|
#include <V3d_View.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
|
|
||||||
IMPLEMENT_STANDARD_RTTIEXT (V3d_Trihedron, Standard_Transient)
|
IMPLEMENT_STANDARD_RTTIEXT (V3d_Trihedron, Standard_Transient)
|
||||||
|
|
||||||
|
@ -24,13 +24,10 @@
|
|||||||
#include <Aspect_Handle.hxx>
|
#include <Aspect_Handle.hxx>
|
||||||
#include <Aspect_RenderingContext.hxx>
|
#include <Aspect_RenderingContext.hxx>
|
||||||
#include <Aspect_TypeOfTriedronPosition.hxx>
|
#include <Aspect_TypeOfTriedronPosition.hxx>
|
||||||
|
|
||||||
#include <Bnd_Box.hxx>
|
#include <Bnd_Box.hxx>
|
||||||
|
|
||||||
#include <gp_Ax3.hxx>
|
#include <gp_Ax3.hxx>
|
||||||
#include <gp_Dir.hxx>
|
#include <gp_Dir.hxx>
|
||||||
#include <gp_Pnt.hxx>
|
#include <gp_Pnt.hxx>
|
||||||
|
|
||||||
#include <Graphic3d_BufferType.hxx>
|
#include <Graphic3d_BufferType.hxx>
|
||||||
#include <Graphic3d_Camera.hxx>
|
#include <Graphic3d_Camera.hxx>
|
||||||
#include <Graphic3d_ClipPlane.hxx>
|
#include <Graphic3d_ClipPlane.hxx>
|
||||||
@ -40,46 +37,26 @@
|
|||||||
#include <Graphic3d_SequenceOfHClipPlane.hxx>
|
#include <Graphic3d_SequenceOfHClipPlane.hxx>
|
||||||
#include <Graphic3d_TypeOfShadingModel.hxx>
|
#include <Graphic3d_TypeOfShadingModel.hxx>
|
||||||
#include <Graphic3d_Vertex.hxx>
|
#include <Graphic3d_Vertex.hxx>
|
||||||
|
|
||||||
#include <Image_PixMap.hxx>
|
#include <Image_PixMap.hxx>
|
||||||
|
|
||||||
#include <Standard_Transient.hxx>
|
|
||||||
|
|
||||||
#include <Quantity_TypeOfColor.hxx>
|
#include <Quantity_TypeOfColor.hxx>
|
||||||
|
|
||||||
#include <Standard.hxx>
|
|
||||||
#include <Standard_Address.hxx>
|
|
||||||
#include <Standard_Boolean.hxx>
|
|
||||||
#include <Standard_CString.hxx>
|
|
||||||
#include <Standard_Integer.hxx>
|
|
||||||
#include <Standard_Real.hxx>
|
|
||||||
#include <Standard_Type.hxx>
|
|
||||||
|
|
||||||
#include <TColStd_Array2OfReal.hxx>
|
#include <TColStd_Array2OfReal.hxx>
|
||||||
#include <TColStd_ListIteratorOfListOfTransient.hxx>
|
#include <TColStd_ListIteratorOfListOfTransient.hxx>
|
||||||
|
|
||||||
#include <V3d_ImageDumpOptions.hxx>
|
#include <V3d_ImageDumpOptions.hxx>
|
||||||
|
#include <V3d_ListOfLight.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
#include <V3d_Trihedron.hxx>
|
#include <V3d_Trihedron.hxx>
|
||||||
#include <V3d_TypeOfAxe.hxx>
|
#include <V3d_TypeOfAxe.hxx>
|
||||||
|
|
||||||
#include <V3d_TypeOfBackfacingModel.hxx>
|
#include <V3d_TypeOfBackfacingModel.hxx>
|
||||||
#include <V3d_TypeOfOrientation.hxx>
|
#include <V3d_TypeOfOrientation.hxx>
|
||||||
#include <V3d_TypeOfView.hxx>
|
#include <V3d_TypeOfView.hxx>
|
||||||
#include <V3d_TypeOfVisualization.hxx>
|
#include <V3d_TypeOfVisualization.hxx>
|
||||||
#include <V3d_Viewer.hxx>
|
|
||||||
#include <V3d_ViewerPointer.hxx>
|
|
||||||
|
|
||||||
class Aspect_Grid;
|
class Aspect_Grid;
|
||||||
class Aspect_Window;
|
class Aspect_Window;
|
||||||
class Graphic3d_Group;
|
class Graphic3d_Group;
|
||||||
class Graphic3d_Structure;
|
class Graphic3d_Structure;
|
||||||
class Graphic3d_TextureEnv;
|
class Graphic3d_TextureEnv;
|
||||||
class Standard_MultiplyDefined;
|
|
||||||
class Standard_TypeMismatch;
|
|
||||||
class V3d_BadValue;
|
|
||||||
class V3d_UnMapped;
|
|
||||||
|
|
||||||
class V3d_View;
|
|
||||||
DEFINE_STANDARD_HANDLE(V3d_View, Standard_Transient)
|
DEFINE_STANDARD_HANDLE(V3d_View, Standard_Transient)
|
||||||
|
|
||||||
//! Defines the application object VIEW for the
|
//! Defines the application object VIEW for the
|
||||||
@ -259,9 +236,6 @@ public:
|
|||||||
Standard_EXPORT void SetAxis (const Standard_Real X, const Standard_Real Y, const Standard_Real Z,
|
Standard_EXPORT void SetAxis (const Standard_Real X, const Standard_Real Y, const Standard_Real Z,
|
||||||
const Standard_Real Vx, const Standard_Real Vy, const Standard_Real Vz);
|
const Standard_Real Vx, const Standard_Real Vy, const Standard_Real Vz);
|
||||||
|
|
||||||
//! Defines the shading model for the visualization. Various models are available.
|
|
||||||
Standard_EXPORT void SetShadingModel (const Graphic3d_TypeOfShadingModel theShadingModel);
|
|
||||||
|
|
||||||
//! Sets the environment texture to use. No environment texture by default.
|
//! Sets the environment texture to use. No environment texture by default.
|
||||||
Standard_EXPORT void SetTextureEnv (const Handle(Graphic3d_TextureEnv)& theTexture);
|
Standard_EXPORT void SetTextureEnv (const Handle(Graphic3d_TextureEnv)& theTexture);
|
||||||
|
|
||||||
@ -714,9 +688,12 @@ public:
|
|||||||
//! the visual axis measured from the Y axis of the screen.
|
//! the visual axis measured from the Y axis of the screen.
|
||||||
Standard_EXPORT Standard_Real Twist() const;
|
Standard_EXPORT Standard_Real Twist() const;
|
||||||
|
|
||||||
//! Returns the current shading model.
|
//! Returns the current shading model; Graphic3d_TOSM_FRAGMENT by default.
|
||||||
Standard_EXPORT Graphic3d_TypeOfShadingModel ShadingModel() const;
|
Standard_EXPORT Graphic3d_TypeOfShadingModel ShadingModel() const;
|
||||||
|
|
||||||
|
//! Defines the shading model for the visualization.
|
||||||
|
Standard_EXPORT void SetShadingModel (const Graphic3d_TypeOfShadingModel theShadingModel);
|
||||||
|
|
||||||
Standard_EXPORT Handle(Graphic3d_TextureEnv) TextureEnv() const;
|
Standard_EXPORT Handle(Graphic3d_TextureEnv) TextureEnv() const;
|
||||||
|
|
||||||
//! Returns the current visualisation mode.
|
//! Returns the current visualisation mode.
|
||||||
@ -1038,7 +1015,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
V3d_ViewerPointer MyViewer;
|
V3d_Viewer* MyViewer;
|
||||||
V3d_ListOfLight myActiveLights;
|
V3d_ListOfLight myActiveLights;
|
||||||
gp_Dir myDefaultViewAxis;
|
gp_Dir myDefaultViewAxis;
|
||||||
gp_Pnt myDefaultViewPoint;
|
gp_Pnt myDefaultViewPoint;
|
||||||
|
@ -57,7 +57,7 @@ V3d_Viewer::V3d_Viewer (const Handle(Graphic3d_GraphicDriver)& theDriver)
|
|||||||
myGridEcho (Standard_True),
|
myGridEcho (Standard_True),
|
||||||
myGridEchoLastVert (ShortRealLast(), ShortRealLast(), ShortRealLast())
|
myGridEchoLastVert (ShortRealLast(), ShortRealLast(), ShortRealLast())
|
||||||
{
|
{
|
||||||
myDefaultRenderingParams.ShadingModel = Graphic3d_TOSM_VERTEX;
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
// ========================================================================
|
// ========================================================================
|
||||||
|
@ -23,33 +23,20 @@
|
|||||||
#include <Aspect_GradientFillMethod.hxx>
|
#include <Aspect_GradientFillMethod.hxx>
|
||||||
#include <Aspect_GridDrawMode.hxx>
|
#include <Aspect_GridDrawMode.hxx>
|
||||||
#include <Aspect_GridType.hxx>
|
#include <Aspect_GridType.hxx>
|
||||||
|
|
||||||
#include <gp_Ax3.hxx>
|
#include <gp_Ax3.hxx>
|
||||||
#include <Graphic3d_StructureManager.hxx>
|
#include <Graphic3d_StructureManager.hxx>
|
||||||
#include <Graphic3d_TypeOfShadingModel.hxx>
|
|
||||||
#include <Graphic3d_Vertex.hxx>
|
#include <Graphic3d_Vertex.hxx>
|
||||||
#include <Graphic3d_ZLayerSettings.hxx>
|
#include <Graphic3d_ZLayerSettings.hxx>
|
||||||
|
|
||||||
#include <Standard.hxx>
|
|
||||||
#include <Standard_Boolean.hxx>
|
|
||||||
#include <Standard_CString.hxx>
|
|
||||||
#include <Standard_ExtString.hxx>
|
|
||||||
#include <Standard_Integer.hxx>
|
|
||||||
#include <Standard_Real.hxx>
|
|
||||||
#include <Standard_Type.hxx>
|
|
||||||
|
|
||||||
#include <TColStd_MapOfInteger.hxx>
|
#include <TColStd_MapOfInteger.hxx>
|
||||||
#include <TColStd_ListIteratorOfListOfTransient.hxx>
|
#include <TColStd_ListIteratorOfListOfTransient.hxx>
|
||||||
#include <TColStd_SequenceOfInteger.hxx>
|
#include <TColStd_SequenceOfInteger.hxx>
|
||||||
#include <TCollection_AsciiString.hxx>
|
#include <TCollection_AsciiString.hxx>
|
||||||
#include <TCollection_ExtendedString.hxx>
|
#include <TCollection_ExtendedString.hxx>
|
||||||
|
|
||||||
#include <V3d_ListOfLight.hxx>
|
#include <V3d_ListOfLight.hxx>
|
||||||
#include <V3d_ListOfView.hxx>
|
#include <V3d_ListOfView.hxx>
|
||||||
#include <V3d_TypeOfOrientation.hxx>
|
#include <V3d_TypeOfOrientation.hxx>
|
||||||
#include <V3d_TypeOfView.hxx>
|
#include <V3d_TypeOfView.hxx>
|
||||||
#include <V3d_TypeOfVisualization.hxx>
|
#include <V3d_TypeOfVisualization.hxx>
|
||||||
|
|
||||||
#include <Quantity_Color.hxx>
|
#include <Quantity_Color.hxx>
|
||||||
|
|
||||||
class Aspect_Grid;
|
class Aspect_Grid;
|
||||||
@ -166,7 +153,7 @@ public:
|
|||||||
//! Gives the default visualization mode.
|
//! Gives the default visualization mode.
|
||||||
void SetDefaultVisualization (const V3d_TypeOfVisualization theType) { myVisualization = theType; }
|
void SetDefaultVisualization (const V3d_TypeOfVisualization theType) { myVisualization = theType; }
|
||||||
|
|
||||||
//! Returns the default type of Shading
|
//! Returns the default type of Shading; Graphic3d_TOSM_FRAGMENT by default.
|
||||||
Graphic3d_TypeOfShadingModel DefaultShadingModel() const { return myDefaultRenderingParams.ShadingModel; }
|
Graphic3d_TypeOfShadingModel DefaultShadingModel() const { return myDefaultRenderingParams.ShadingModel; }
|
||||||
|
|
||||||
//! Gives the default type of SHADING.
|
//! Gives the default type of SHADING.
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
#include <ViewerTest.hxx>
|
#include <ViewerTest.hxx>
|
||||||
#include <ViewerTest_CmdParser.hxx>
|
#include <ViewerTest_CmdParser.hxx>
|
||||||
|
#include <ViewerTest_AutoUpdater.hxx>
|
||||||
|
|
||||||
#include <Draw.hxx>
|
#include <Draw.hxx>
|
||||||
#include <TopLoc_Location.hxx>
|
#include <TopLoc_Location.hxx>
|
||||||
@ -37,14 +38,13 @@
|
|||||||
#include <AIS_InteractiveObject.hxx>
|
#include <AIS_InteractiveObject.hxx>
|
||||||
#include <AIS_Trihedron.hxx>
|
#include <AIS_Trihedron.hxx>
|
||||||
#include <AIS_Axis.hxx>
|
#include <AIS_Axis.hxx>
|
||||||
#include <PrsDim.hxx>
|
|
||||||
#include <PrsDim_Relation.hxx>
|
|
||||||
#include <AIS_TypeFilter.hxx>
|
#include <AIS_TypeFilter.hxx>
|
||||||
#include <AIS_SignatureFilter.hxx>
|
#include <AIS_SignatureFilter.hxx>
|
||||||
#include <AIS_ListOfInteractive.hxx>
|
#include <AIS_ListOfInteractive.hxx>
|
||||||
#include <AIS_ListIteratorOfListOfInteractive.hxx>
|
#include <AIS_ListIteratorOfListOfInteractive.hxx>
|
||||||
#include <Aspect_InteriorStyle.hxx>
|
#include <Aspect_InteriorStyle.hxx>
|
||||||
#include <Aspect_Window.hxx>
|
#include <Aspect_Window.hxx>
|
||||||
|
#include <Aspect_XRSession.hxx>
|
||||||
#include <Graphic3d_AspectFillArea3d.hxx>
|
#include <Graphic3d_AspectFillArea3d.hxx>
|
||||||
#include <Graphic3d_AspectLine3d.hxx>
|
#include <Graphic3d_AspectLine3d.hxx>
|
||||||
#include <Graphic3d_CStructure.hxx>
|
#include <Graphic3d_CStructure.hxx>
|
||||||
@ -58,6 +58,8 @@
|
|||||||
#include <Prs3d_ShadingAspect.hxx>
|
#include <Prs3d_ShadingAspect.hxx>
|
||||||
#include <Prs3d_IsoAspect.hxx>
|
#include <Prs3d_IsoAspect.hxx>
|
||||||
#include <Prs3d_PointAspect.hxx>
|
#include <Prs3d_PointAspect.hxx>
|
||||||
|
#include <PrsDim.hxx>
|
||||||
|
#include <PrsDim_Relation.hxx>
|
||||||
#include <Select3D_SensitiveWire.hxx>
|
#include <Select3D_SensitiveWire.hxx>
|
||||||
#include <Select3D_SensitivePrimitiveArray.hxx>
|
#include <Select3D_SensitivePrimitiveArray.hxx>
|
||||||
#include <Select3D_SensitiveTriangulation.hxx>
|
#include <Select3D_SensitiveTriangulation.hxx>
|
||||||
@ -65,8 +67,7 @@
|
|||||||
#include <StdSelect_BRepOwner.hxx>
|
#include <StdSelect_BRepOwner.hxx>
|
||||||
#include <StdSelect_ViewerSelector3d.hxx>
|
#include <StdSelect_ViewerSelector3d.hxx>
|
||||||
#include <TopTools_MapOfShape.hxx>
|
#include <TopTools_MapOfShape.hxx>
|
||||||
#include <ViewerTest_AutoUpdater.hxx>
|
#include <V3d_Viewer.hxx>
|
||||||
#include <Aspect_XRSession.hxx>
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
@ -91,6 +91,7 @@
|
|||||||
#include <V3d_PositionalLight.hxx>
|
#include <V3d_PositionalLight.hxx>
|
||||||
#include <V3d_SpotLight.hxx>
|
#include <V3d_SpotLight.hxx>
|
||||||
#include <V3d_Trihedron.hxx>
|
#include <V3d_Trihedron.hxx>
|
||||||
|
#include <V3d_Viewer.hxx>
|
||||||
|
|
||||||
#include <tcl.h>
|
#include <tcl.h>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ vmoveto 150 200
|
|||||||
vstate -entities
|
vstate -entities
|
||||||
vselect 150 200
|
vselect 150 200
|
||||||
if { [vreadpixel 150 200 rgb name] != "BLACK" } { puts "Error: object is not clipped" }
|
if { [vreadpixel 150 200 rgb name] != "BLACK" } { puts "Error: object is not clipped" }
|
||||||
if { [vreadpixel 350 200 rgb name] != "PERU" } { puts "Error: object should NOT be selected" }
|
if { [vreadpixel 350 200 rgb name] != "GOLDENROD" } { puts "Error: object should NOT be selected" }
|
||||||
vdump $imagedir/${casename}_1.png
|
vdump $imagedir/${casename}_1.png
|
||||||
|
|
||||||
# depth range starts behinds the picking ray
|
# depth range starts behinds the picking ray
|
||||||
|
@ -23,6 +23,8 @@ tclean res
|
|||||||
|
|
||||||
if { [string compare $command "shading"] == 0 } {
|
if { [string compare $command "shading"] == 0 } {
|
||||||
vinit View1
|
vinit View1
|
||||||
|
# prefer vertex shading
|
||||||
|
vrenderparams -shadingModel VERT
|
||||||
vdisplay -noupdate -redisplay res
|
vdisplay -noupdate -redisplay res
|
||||||
vsetdispmode res 1
|
vsetdispmode res 1
|
||||||
vfit
|
vfit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user