Subject: CGAL users discussion list
List archive
- From: sean <>
- To:
- Subject: Re: [cgal-discuss] Any method to accelerate displaying and calculation
- Date: Thu, 24 Jul 2014 20:39:43 -0700 (PDT)
Thank you for your
detailed directions. I'll make a trial.
2014-07-25
From: [hidden email]
Date: 2014-07-25 02:42
To: [hidden email]
Subject: Re: Any method to accelerate displaying and
calculation
I use glGenBuffers / glBindBuffer / glBufferData to buffer the
polyhedron data to the graphics card once and then each frame redraw it
with glBindBuffer / glEnableVertexAttribArray / glVertexAttribPointer /
glDrawElements. This means all the point data is once transferred once to the
graphics card instead of during each frame (transferring data to the graphics
card is slow). I have been testing with 150,000 vertex meshes in debug mode at
full refresh rates (I have it set to cap at my display refresh rate). This is
the general method used by most game engines to draw billions of triangles per
frame. One downside is that if you have a bug the call to these GL functions
debugging can be difficult (at least with Visual Studio on Windows I get no
stack traces at all when things go wrong in the GL functions).
Jeff
On Thu, Jul 24, 2014 at 12:10 AM, sean <[hidden email]>
wrote:
Nope. I re-compiled in release mode, and it seems much better now. I regret I
should have forgotten that.
By the way, what else do you suggest that I can try to promote the
performance of calculation with CGAL further more? Because I have to use
debug mode to find errors in my program.
Thank you very much!
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Any-method-to-accelerate-displaying-and-calculation-tp4659602p4659606.html
Nope. I re-compiled in release mode, and it seems much better now. I regret I
should have forgotten that.
By the way, what else do you suggest that I can try to promote the
performance of calculation with CGAL further more? Because I have to use
debug mode to find errors in my program.
Thank you very much!
--
View this message in context: http://cgal-discuss.949826.n4.nabble.com/Any-method-to-accelerate-displaying-and-calculation-tp4659602p4659606.html
Sent from the cgal-discuss mailing list archive at
Nabble.com.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
If you reply to this email, your message will be
added to the discussion below:
http://cgal-discuss.949826.n4.nabble.com/Any-method-to-accelerate-displaying-and-calculation-tp4659602p4659609.html
NAML
View this message in context: Re: Re: Any method to accelerate displaying and calculation
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, 杨成林, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, Sebastien Loriot (GeometryFactory), 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, Jeffrey Bush, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/25/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, Jeffrey Bush, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, Sebastien Loriot (GeometryFactory), 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, sean, 07/24/2014
- Re: [cgal-discuss] Any method to accelerate displaying and calculation, 杨成林, 07/24/2014
Archive powered by MHonArc 2.6.18.