DiscussionsIssue archiveOCCT:Visualization

Archived issue #0024229

Test case for 0024070 bug has not been integrated

Open CASCADEOCCT:Visualizationclosed2 public notes

Search issues

Description

Test case provided in steps to reproduce for #0024070 feature was not integrated within the main patch.

Moreover test case is broken because FBO used for image dump created without stencil buffer attachment.

Steps to reproduce

pload AISV MODELING
vinit
box b1 0 0 0 10 10 10
box b2 30 0 0 10 40 10
box b3 -30 0 0 20 20 20
vsetdispmode 1
vdisplay b1 b2 b3
## test view-level clipping
vclipplane create pln1
vclipplane change pln1 equation 0 1 0 -5
vclipplane change pln1 capping on
vclipplane change pln1 capping color 0.9 0.9 0.9
vclipplane set pln1 view Driver1/Viewer1/View1
## test sharing of planes between view and object
vclipplane set pln1 object b1
## test object-level clipping
vclipplane create pln2
vclipplane change pln2 equation -0.707 0.707 0 -25
vclipplane change pln2 capping on
vclipplane change pln2 capping color 0.5 0.5 0.9
vclipplane change pln2 capping hatch on
vclipplane set pln2 object b3
vfit

Additional information

The solution for this issue has been added in the scope of 24224:

======================================================================
            From description to 24224:
======================================================================

1) Test case added.

2) Internal changes:
OpenGl_FrameBuffer.hxx
OpenGl_FrameBuffer.cxx
added support for stencil buffer


Public activity

2 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Commenter 1,

The corresponding test case is added in issue 0024224.

Please close this one.
02Commenter 1
test case was added in issue 0024224.

Related records