View Issue Details

IDProjectCategoryView StatusLast Update
0032752Open CASCADEOCCT:Visualizationpublic2022-08-17 11:55
Reporterkgv Assigned ToCheskoArt 
Status assignedResolutionopen 
Target Version7.8.0 
Summary0032752: Visualization, TKOpenGl - extend V3d_View::ToPixMap() options with Z-layer
DescriptionCurrently `V3d_View::ToPixMap()` performs dump of complete frame with all Layers drawn.

This might be undesirable in some cases:
- Elements draw within `Graphic3d_ZLayerId_TopOSD` layer are usually not part of scene but rather transient information / auxiliary objects like View Cube, OSD.
- Dumping `Graphic3d_BT_Depth` is useless currently, as depth buffer filled by the main scene is cleared before drawing auxiliary OSD information.

Therefore, it is proposed extending parameters with `Graphic3d_ZLayerId`, which would define the latest Layer to be drawn before image dump.
This might also help debugging drawing procedures of specific Layers.

In addition, `V3d_View::ToPixMap()` could be also extended to allow dumping Shadow Map buffers (as extension of `Graphic3d_BufferType` enumeration).
TagsNo tags attached.
Test case number


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-12-28 10:49 kgv New Issue
2021-12-28 10:49 kgv Assigned To => kgv
2021-12-28 10:50 kgv Assigned To kgv => CheskoArt
2021-12-28 10:50 kgv Status new => assigned
2022-08-17 11:55 kgv Target Version 7.7.0 => 7.8.0