mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
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".
15 lines
358 B
Plaintext
15 lines
358 B
Plaintext
puts "============="
|
|
puts "boundary_draw: Tests boundary draw changing in the IVtk view"
|
|
puts "============="
|
|
puts ""
|
|
|
|
pload MODELING VIS
|
|
box b 1 1 1
|
|
ivtkinit
|
|
ivtkdisplay b
|
|
ivtksetdispmode 1 -faceBoundaryDraw 0 -smoothShading 1
|
|
ivtkdump $imagedir/${casename}_2.png
|
|
|
|
ivtksetdispmode 1 -faceBoundaryDraw 1 -smoothShading 0
|
|
ivtkdump $imagedir/${casename}_1.png
|