Skip to content

2D Rendering Fails #8902

@efifogel

Description

@efifogel

Issue Details

2D rendering, such as rendering of 2D arrangements fails since switch to using shaders to draw edges and vertices (contrary to using old opengl lines and points). For 2D arrangements the switch was applied in commit c6c9f77.
The rendering of edges and vertices in 2D should not depend on the workspace, The radius of a point and the width of a line should be specified in window coordinates and should be consistent across all drawings.

I assume that it relates to the general issue of mapping 1 unit in window space (that is 1 pixel) to world space. This is needed for other purposes as well, such as approximating non-linear curves using polylines. In this case, the maximum distance between the approximated polyline and the original curve should be specified in window coordinates (e.f., 1 pixel).

Source Code

Environment

  • Operating system (Windows/Mac/Linux, 32/64 bits):
  • Compiler:
  • Release or debug mode:
  • Specific flags used (if any):
  • CGAL version: since commit commit c6c9f77
  • Boost version:
  • Other libraries versions if used (Eigen, TBB, etc.):

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions