View Issue Details

IDProjectCategoryView StatusLast Update
0000128Open CASCADEOCCT:Visualizationpublic2006-06-29 09:15
ReporterjbzAssigned Togg 
PriorityimmediateSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version5.0.0 
Summary0000128: The shading is false: objects seem to be situated in front of the others while they are behind.
Description* Description:
The shading is false: objects seem to be situated in front of the others while
they are behind.

* Diagnosis:
It is a subtle combination between SetSurfaceDetail() method for textures and
the location of graphic objects. With graphic objects without location, the bug
does not appear.
Please implement the attached code "Bug_1_Shading.cpp" to produce the problem of
shading. To well see the problem, it is necessary to add the following code line
in the:
- myViewer constructor: myViewer->SetDefaultSurfaceDetail(V3d_TEX_ALL);
- or myView constructor: myView-> SetSurfaceDetail(V3d_TEX_ALL);

* Problem detection:
To well see the problem, just you need to rotate view and you will detect as
well the problem.
Therefore, if you remove one of those:
- the location on the graphic object: ResetLocation() and SetLocation(),
- or SetSurfaceDetail() method added in the such constructor.
the problem disappears.

It seems the bug is produced by AIS_InteractiveContext with ResetLocation() and
SetLocation()methods.
TagsNo tags attached.
Test case number

Attached Files

  • behind.gif (6,597 bytes)
  • Bug_1_Shading.cpp (921 bytes)
  • before.gif (6,769 bytes)
  • patch-C40-MDTV-Mesure-16-01-2002.zip (430,958 bytes)

Activities

2002-01-15 13:31

 

behind.gif (6,597 bytes)
Bug_1_Shading.cpp (921 bytes)

2002-01-15 13:32

 

before.gif (6,769 bytes)

2002-01-16 15:02

 

patch-C40-MDTV-Mesure-16-01-2002.zip (430,958 bytes)

Issue History

Date Modified Username Field Change
2002-01-15 18:41 bugmaster Assigned To bugmaster => gg
2002-01-15 18:41 bugmaster Status new => assigned
2002-01-16 19:28 bugmaster CC => pop
2002-01-17 17:17 bugmaster CC =>
2002-01-17 17:17 bugmaster Status assigned => resolved
2002-01-17 18:19 bugmaster Status resolved => verified
2002-07-22 19:47 bugmaster Status verified => closed
2002-07-22 19:47 bugmaster Resolution @0@ => fixed
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization