View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0032752||Open CASCADE||OCCT:Visualization||public||2021-12-28 10:49||2022-08-17 11:55|
|Summary||0032752: Visualization, TKOpenGl - extend V3d_View::ToPixMap() options with Z-layer|
|Description||Currently `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).
|Tags||No tags attached.|
|Test case number|