1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/vtk/ivtk/seam_edges
kgv d0b8f0108f 0025845: VIS - Surface normals to be associated with polygonal source
IVtk_IShapeData::InsertCoordinate() has been replaced by IVtk_IShapeData::InsertPoint()
defining vertex position with surface normal.
IVtkVTK_ShapeData now allocates normals array within vtkPolyData.
IVtkOCC_ShapeMesher now fills in vertex positions with surfcae normals.
IVtkTools_SubPolyDataFilter has been corrected to optionally copy normals.

ivtksetboundingdraw command has been merged into "ivtksetdispmode -faceBoundaryDraw".
2021-04-02 20:01:33 +03:00

15 lines
375 B
Plaintext

puts "=========="
puts "seam_edges: Tests boundary edges draw without seam edges in the IVtk view"
puts "=========="
puts ""
pload MODELING VIS
psphere s 10 15 80
ivtkinit
ivtkdisplay s
ivtksetdispmode 1 -faceBoundaryDraw 1 -smoothShading 0
ivtkdump $imagedir/${casename}.png
ivtksetdispmode 1 -faceBoundaryDraw 1 -smoothShading 1
ivtkdump $imagedir/${casename}_smooth.png