MantisBT - Open CASCADE
View Issue Details
0026791Open CASCADE[OCCT] OCCT:Visualizationpublic2015-10-21 09:252020-12-14 17:15
kgv 
kgv 
lowfeature 
assignedopen 
 
[OCCT] 7.6.0* 
0026791: Visualization, TKOpenGl - apply view resolution to built-in markers
Standard markers can be automatically computed with greater resolution on HiDPI monitors.
bugs vis bug26791
No tags attached.
related to 0031705verified bugmaster Open CASCADE Visualization - move out construction of predefined markers from OpenGl_AspectsSprite to Graphic3d_MarkerImage 
related to 0027731closed bugmaster Open CASCADE Visualization, OpenGl_AspectMarker - handle fractional marker Scale when sharing resources 
child of 0025350closed bugmaster Community Visualization - provide a dpi-scaling ratio for V3d_View 
png bug24131_markers_sprites.png (32,728) 2015-11-11 11:02
https://tracker.dev.opencascade.org/
Issue History
2015-10-21 09:25kgvNew Issue
2015-10-21 09:25kgvAssigned To => kgv
2015-10-21 09:25kgvRelationship addedchild of 0025350
2015-10-21 09:26kgvAssigned Tokgv => isk
2015-10-21 09:26kgvStatusnew => assigned
2015-10-21 09:26kgvTarget Version7.0.0 => 7.1.0
2015-11-11 10:47gitNote Added: 0048042
2015-11-11 10:48iskNote Added: 0048043
2015-11-11 10:48iskAssigned Toisk => kgv
2015-11-11 10:48iskStatusassigned => resolved
2015-11-11 10:48iskSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=12202#r12202
2015-11-11 11:02kgvFile Added: bug24131_markers_sprites.png
2015-11-11 11:05kgvNote Added: 0048046
2015-11-11 11:05kgvAssigned Tokgv => isk
2015-11-11 11:05kgvStatusresolved => assigned
2015-11-11 11:06kgvNote Edited: 0048046bug_revision_view_page.php?bugnote_id=48046#r12204
2016-08-06 13:04kgvRelationship addedrelated to 0027731
2016-08-06 13:04kgvAssigned Toisk => kgv
2016-08-06 13:04kgvPrioritynormal => low
2016-10-25 09:33kgvTarget Version7.1.0 => 7.2.0
2017-07-20 10:50kgvTarget Version7.2.0 => 7.4.0
2019-08-13 12:04kgvTarget Version7.4.0 => 7.5.0
2020-08-28 16:31kgvTarget Version7.5.0 => 7.6.0*
2020-12-14 17:15kgvRelationship addedrelated to 0031705

Notes
(0048042)
git   
2015-11-11 10:47   
Branch CR26791 has been created by isk.

SHA-1: b9b37c1d45a06c976b593971fa1f05143c930bc6


Detailed log of new commits:

Author: isk
Date: Wed Nov 11 10:46:48 2015 +0300

    0026791: Visualization, TKOpenGl - apply view resolution to built-in markers
    Add ResolutionRatio() method in the Graphic3d_RenderingParams.
    Add SetResolutionRatio() method in the OpenGl_Context.
(0048043)
isk   
2015-11-11 10:48   
Dear Kirill,
please review the branch CR26791.
(0048046)
kgv   
2015-11-11 11:05   
(edited on: 2015-11-11 11:06)
Please note that increasing resolution should have another effect that currently provided by changing marker size. It should be rendered with higher quality (e.g. with more pixels) preserving original shape at the same size (size from aspect).

For instance, lines within marker should have higher thickness (better within integer steps).

At the same time, the resolution should have no effect on custom markers - them should be rendered as is.