DiscussionsIssue archiveOCCT:Visualization

Archived issue #0027583

Visualization, MeshVS - handle MeshVS_DA_SupressBackFaces flag within MeshVS_NodalColorPrsBuilder

Open CASCADEOCCT:Visualizationclosed5 public notes

Search issues

Description

MeshVS_NodalColorPrsBuilder does not consider MeshVS_DA_SupressBackFaces flag, thus capping is not applied to model.

Steps to reproduce

pload XDE VISUALIZATION

vclear
vinit View1
vaxo
meshfromstl m0 [locate_data_file sh1.stl]
meshclosed  m0 1
vsetlocation -noupdate m0 -100 0 0
meshfromstl m1 [locate_data_file sh1.stl]
meshclosed  m1 1
vsetlocation -noupdate m1 0 0  100
meshfromstl m2 [locate_data_file sh1.stl]
meshclosed  m2 1
vsetlocation -noupdate m2 100 0 0
meshfromstl m3 [locate_data_file sh1.stl]
meshclosed  m3 1
vsetlocation -noupdate m3 100 0 100
meshfromstl m4 [locate_data_file sh1.stl]
meshclosed  m4 1
vfit

vclipplane create p
vclipplane change p equation 0 1 0 0
vclipplane change p capping on
vclipplane change p capping color 0.9 0.9 0.9
vclipplane set    p view Driver1/Viewer1/View1

vsetdispmode m0 2
meshcolors m1 elem1 0
meshcolors m2 elem2 0
meshcolors m3 nodal 1
meshcolors m4 nodaltex 1

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Commenter 3.

[revision removed]


Detailed log of new commits:

Author: Commenter 3
Date: Sat Jul 30 17:05:32 2016 +0300

    0027583: Visualization, MeshVS - handle MeshVS_DA_SupressBackFaces flag within MeshVS_NodalColorPrsBuilder
    
    and within MeshVS_ElementalColorPrsBuilder builders.
02Commenter 3
Patch is ready for review.
03Commenter 3
Branch CR27583 reviewed without remarks, ready for testing.
04Commenter 4
Dear Commenter 1,

Branch CR27583 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]

Number of compiler warnings:
occt component:
   Linux: 0 (0 on master)
   Windows: 0 (0 on master)
   MasOS: 0 (0 on master)
products component:
   Linux: 64
   Windows: 0
   MacOS: 1135

Regressions/Differences:
Not detected

Testing cases:
bugs vis bug26028 - OK
http://occt-tests/CR27583-master-OCCT/Debian70-64/bugs/vis/bug26028.html
http://occt-tests/CR27583-master-OCCT/Windows-64-VC10/bugs/vis/bug26028.html

Testing on Linux:
Total MEMORY difference: 90546325 / 90107509 [+0.49%]
Total CPU difference: 19377.97000000001 / 19470.140000000094 [-0.47%]

Testing on Windows:
Total MEMORY difference: 57087876 / 57093912 [-0.01%]
Total CPU difference: 18297.653691898908 / 18078.831089198848 [+1.21%]
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records