View Issue Details

IDProjectCategoryView StatusLast Update
0023623Open CASCADEOCCT:Visualizationpublic2013-12-13 10:50
Reporterapn Assigned Toapn  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
PlatformWindowsOSVC++ 2012 
Product Version6.5.4 
Target Version6.7.0 
Summary0023623: Get wrong values of colors using QAGetPixelColor on Windows VC++ 2012 32bit
DescriptionTrying to check color of two vertexes returns invalid result (maybe shape is slightly shifted).
But we get to the vertexes using the same coordinates launching this case on Mandriva2010 32-bit and Windows 7 VC++ 2008 64-bit.
Steps To Reproducerestore [locate_data_file OCC322.brep] a
sewing result a
vinit
vdisplay result
vfit

### coordinates of first vertex
set x1 204
set y1 297

### coordinates of second vertex
set x2 251
set y2 232

### vertexes should be yellow color (RGB 1 1 0)
QAGetPixelColor $x1 $y1 1 1 0
QAGetPixelColor $x2 $y2 1 1 0
TagsNo tags attached.
Test case numberbugs modalg bug322

Relationships

related to 0023493 closedbugmaster Incorrect QAGetPixelColor usage 

Activities

san

2013-12-12 11:12

developer   ~0027178

Dear bugmaster,

As a matter of fact, the 3D scene image might be shifted slightly, depending on the particular platform/graphic card/graphic driver version. We observed this several times in the past.
Thus QAGetPixelColor is not a reliable way to check the visual result and should be used with care (e.g. on continuous uniformly shaded regions - but not on the sharp thin edges).
We cannot fix this, unfortunately.
Can you please close this issue?

Issue History

Date Modified Username Field Change
2012-12-06 13:31 apn New Issue
2012-12-06 13:31 apn Assigned To => san
2012-12-06 13:32 apn Test case number => bugs modalg bug322
2012-12-06 16:43 abv Relationship added related to 0023493
2013-02-26 18:21 san Target Version 6.6.0 => 6.7.0
2013-12-12 11:12 san Note Added: 0027178
2013-12-12 11:12 san Assigned To san => bugmaster
2013-12-12 11:12 san Status new => feedback
2013-12-13 10:50 bugmaster Status feedback => closed
2013-12-13 10:50 bugmaster Assigned To bugmaster => apn
2013-12-13 10:50 bugmaster Resolution open => no change required