Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] geomview black visualization
- Date: Sun, 4 Oct 2009 18:38:34 +0200
- Organization: GeometryFactory
Le dimanche 04 octobre 2009 18:14:58, Sterpa a écrit :
> 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();
> }
I thing nobody can help. Geomview has bugs, and so have graphics drivers
(OpenGL drivers). Your code looks correct. In my opinion, you have hit a bug
of either Geomview or your graphics driver (or even maybe a bad interaction
between them). Pray no to have the last version of both of them, and upgrade!
--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] geomview black visualization, Sterpa, 10/04/2009
- Re: [cgal-discuss] geomview black visualization, Laurent Rineau (GeometryFactory), 10/04/2009
- Re: [cgal-discuss] geomview black visualization, Marco Aurelio Sterpa, 10/04/2009
- Re: [cgal-discuss] geomview black visualization, Laurent Rineau (GeometryFactory), 10/04/2009
Archive powered by MHonArc 2.6.16.