Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] geomview black visualization

Subject: CGAL users discussion list

List archive

[cgal-discuss] geomview black visualization


Chronological Thread 
  • From: Sterpa <>
  • To:
  • Subject: [cgal-discuss] geomview black visualization
  • Date: Sun, 4 Oct 2009 18:14:58 +0200 (CEST)

I got an unusual problem with geomview, it shows an entire black screen in the
main window. Trying to rotate or zoom on the visualization the image refresh
and shows the right content for just a second, and then again the black
background. The code is the following:

void algorithm_2(vector<Line_2> lines, int k) {
CGAL::Geomview_stream gv(CGAL::Bbox_3(-100, -100, 0, 600, 600, 0));

gv.set_line_width(2);

gv.set_bg_color(CGAL::WHITE);

gv.set_vertex_radius(5);
for(unsigned j = 0; j < lines.size(); j++) gv << lines[j];
getchar();
}



Archive powered by MHonArc 2.6.16.

Top of Page