View Issue Details

IDProjectCategoryView StatusLast Update
0003714Open CASCADEOCCT:Visualizationpublic2012-05-12 17:42
ReportersanAssigned Tobugmaster  
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSWindows NT 
Fixed in Version6.5.0 
Summary0003714: Quality of image created by V3d_View::ToPixMap() is pretty low
DescriptionUsing V3d_View::ToPixMap() + Aspect_PixMap::Dump() is the most acceptable and
reliable way for creating 3D view snapshots in OCC-based applications. The main
advantage of this approach is that it does not put pieces of overlapping
windows to an image (while V3d_View::Dump() does) and also allows to add any
additional textual or graphical data to the image before saving it to a file.

However, there is a problem concerning line fragments representation in an
image when 3D scene contains touching or overlapping lines and shaded areas.
Unfortunately, IN A RESULT IMAGE pixels belonging to such line fragments are
partially or completely covered by pixels belonging to shaded areas while the
3D scene looks pretty well ON THE SCREEN (just compare attached pixmap.bmp
obtained by means of ToPixMap() method to view.bmp created with help of Dump()).

Obviously, this drawback makes this approach hardly suitable for commercial
applications.

Therefore, it would be extremely desirable to investigate and possibly
eliminate the source of this problem.
TagsNo tags attached.
Test case number

Attached Files

  • pixmap.zip (22,026 bytes)
  • view.zip (25,279 bytes)
  • view1.zip (25,279 bytes)
  • view.bmp (2,919,574 bytes)

Relationships

related to 0021902 closedkgv Improve by capability to make off-screen snapshots of 2d, 3d, and axo viewers 

Activities

2003-09-03 18:09

 

pixmap.zip (22,026 bytes)

2003-09-03 18:10

 

view.zip (25,279 bytes)

2003-09-03 18:12

 

view1.zip (25,279 bytes)

2003-09-03 18:15

 

view.bmp (2,919,574 bytes)

kgv

2012-02-21 10:58

developer   ~0019693

Dear bugmaster, there are no differences between V3d_View::Dump() and V3d_View::ToPixMap() since 0021902.

Please consider to close this issue.

mkv

2012-05-12 17:21

tester   ~0020521

Closed. See http://tracker.dev.opencascade.org/view.php?id=21902

Issue History

Date Modified Username Field Change
2003-09-03 20:20 san CC => vtn
2003-09-04 19:18 bugmaster Assigned To bugmaster => vtn
2003-09-04 19:18 bugmaster Status new => assigned
2003-11-05 14:11 vtn Assigned To vtn => enk
2005-01-12 16:41 san CC =>
2005-01-13 09:16 bugmaster Assigned To enk => san
2010-09-10 18:27 san OtherBugsDependingOnThis => 21902
2011-08-02 11:24 bugmaster Category OCCT:VIZ => OCCT:Visualization
2012-02-21 10:58 kgv Note Added: 0019693
2012-02-21 10:58 kgv Assigned To san => bugmaster
2012-02-21 10:58 kgv Status assigned => resolved
2012-05-12 17:21 mkv Note Added: 0020521
2012-05-12 17:21 mkv Status resolved => closed
2012-05-12 17:21 mkv Resolution open => fixed
2012-05-12 17:21 mkv Fixed in Version EMPTY =>
2012-05-12 17:42 abv Fixed in Version => 6.5.0
2012-05-12 17:42 abv Description Updated