Subject: CGAL users discussion list
List archive
- From: Marco Aurelio Sterpa <>
- To:
- Subject: Re: [cgal-discuss] geomview black visualization
- Date: Sun, 4 Oct 2009 19:09:13 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YQijDfUDoBNERiKjx9/2mRZI45VHXjfxa4WCUJrHaF/QTJZ298Sh0emE4nxd0/njg+ oGtiuoBoROVRKG/ktjcMg+funZ4BYPQb31COGF8AyQ9O05ZbPJCizbtP4ES7FJbfK7Av tTX/XP/sTgK4KNxNI+4q/hQbwA/YFlZmuOaBk=
Thank you for your precise and helpful answer, maybe I'll try with Qt. Best regards
2009/10/4 Laurent Rineau (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/
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss
- [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.