View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0022696 | Community | OCCT:Visualization | public | 2011-08-09 13:07 | 2019-09-07 15:23 |
Reporter | kgv | Assigned To | bugmaster | ||
Priority | low | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Platform | A | OS | L | ||
Product Version | 6.5.1 | ||||
Summary | 0022696: Visualization - Image dump of 3D Viewer is limited to Video hardware limits | ||||
Description | http://www.opencascade.org/org/forum/thread_21376/ Detected problems with Image dumping functionality: - vdump command doesn't check returned handle for NULL (possible when launched on hardware without OpenGL FBO support). - vdump, this is suggested to show appropriate error message to do not fool user (when dumping failed, when image saving failed, when dumped image has lesser resolution, etc.). Currently no any error message provided. - V3d_View::ToPixMap(), in case of hardware limits returned image contains cut dump with black areas at top and right but with total resolution equal to requested. Possible solutions - return NULL handle when limits exceeded or return correct dump with reduced dimensions. - V3d_View::ToPixMap() doesn't support tiled dump (was introduced for printing functionality, OCC22337) thus always limited to GPU hardware limits (however it is 8192x8192 or 16384x16384 on modern hardware!). - V3d_View::ToPixMap() should also detect allocation errors of auxiliary FBOs (not only target FBO). Although texture size limits is the same for MSAA and normal textures, MSAA textures requires much more memory making allocation errors highly possible -> therefore, it is better apply tiling / use tiles smaller then maximum texture limit. - Image_PixMap, allocation errors should probably be detected and re-raise constructor exception. | ||||
Steps To Reproduce | Test case for each problem is hardware and platform dependent! Notice that there are more problems with Intel graphics. vinit; box b 1 2 3; vdisplay b; vfit; vsetdispmode 1; vdump dpm.jpg depth 18000 18000; | ||||
Tags | No tags attached. | ||||
Test case number | |||||
related to | 0022337 | closed | bugmaster | Community | V3d_View::Print crashes in OCCT 6.5.0 |
related to | 0022582 | closed | bugmaster | Open CASCADE | Visualization - provide an API for dumping a sub-region of the viewport |
related to | 0029020 | closed | bugmaster | Open CASCADE | Visualization, V3d_View - workaround image dump issue on Intel OpenGL driver |
|
*RESTORED* 2011-12-12 08:09 san Relationship added related to 0022337 |
|
Dear bugmaster, please close the issue. OCCT now provides tools for tiled dump, which can be used by application. For the moment, there is no blocking necessity for making this routine automatic - can be considered in future. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-08-09 13:07 | kgv | New Issue | |
2011-08-09 13:07 | kgv | Assigned To | => san |
2011-08-09 13:16 | kgv | Steps to Reproduce Updated | |
2011-09-21 14:24 |
|
Target Version | => 6.5.3 |
2011-09-22 16:50 |
|
Status | new => assigned |
2011-12-12 16:29 |
|
Relationship added | related to 0022337 |
2011-12-12 16:31 |
|
Note Added: 0018820 | |
2012-02-09 09:09 |
|
Target Version | 6.5.3 => 6.5.4 |
2012-10-23 10:59 | kgv | Relationship added | related to 0022582 |
2012-10-23 11:17 |
|
Target Version | 6.5.4 => 6.6.0 |
2013-02-26 18:36 |
|
Target Version | 6.6.0 => 6.7.0 |
2013-10-18 07:43 | kgv | Target Version | 6.7.0 => 6.7.1 |
2014-04-04 18:34 |
|
Target Version | 6.7.1 => 6.8.0 |
2014-09-29 21:57 | kgv | Target Version | 6.8.0 => 7.1.0 |
2016-08-06 21:43 | kgv | Description Updated | |
2016-10-25 09:33 | kgv | Target Version | 7.1.0 => 7.2.0 |
2017-07-20 10:49 | kgv | Target Version | 7.2.0 => 7.4.0 |
2017-08-22 10:51 | kgv | Relationship added | related to 0029020 |
2019-09-04 13:04 |
|
Target Version | 7.4.0 => 7.5.0 |
2019-09-04 14:56 | kgv | Summary | Image dump of 3D Viewer is limited to Video hardware limits => Visualization - Image dump of 3D Viewer is limited to Video hardware limits |
2019-09-04 14:59 | kgv | Note Added: 0086735 | |
2019-09-04 14:59 | kgv | Assigned To | san => bugmaster |
2019-09-04 14:59 | kgv | Status | assigned => feedback |
2019-09-04 14:59 | kgv | Resolution | open => won't fix |
2019-09-04 14:59 | kgv | Target Version | 7.5.0 => 7.4.0 |
2019-09-07 15:23 |
|
Status | feedback => closed |
2019-09-07 15:23 |
|
Target Version | 7.4.0 => |