Adding a vertex process counter in cgal process?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Adding a vertex process counter in cgal process?

ufomorace
This post was updated on .
It would be cool if ever 5 seconds there was a print of the cgal processing sequence... same as xvid display when it is encoding.

i.e. vertices processed 897654J
number of combined primitives - 236 ...

In a cgal loop which counts vertices into memory, if (i == 1000) echo the number of vertices and processing stats.

It's a bit unstable to let a program run for 25 minutes wihout pausing anything... couldnt it be possible to write just an debug line into a well aimed cgal routine and one line would say the vtx processed?
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Adding a vertex process counter in cgal process?

tp3
Von: ufomorace <[hidden email]>
> It would be cool if ever 5 seconds there was a print of the cgal processing
> sequence... same as xvid display when it is encoding.
>
That would be nice to have.

However there seems to be no existing hook so it could be done by just
a user of CGAL. Implementing it in CGAL and sending a patch might work
(I don't know anything about their policy of accepting things).

As we don't recompile CGAL on all platforms for release, it could take
quite some time until that feature becomes available.

The plan? hope? wish? is to switch to some alternative library anyway.
Unfortunately that's not an easy topic either...

ciao,
  Torsten.

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten
Reply | Threaded
Open this post in threaded view
|

Re: Adding a vertex process counter in cgal process?

ufomorace
Hi Torsten, i have written a feature request on the CGAL web page, and two CGAL programmers have already offered solutions in the same day, however the precise nature of the request is not very clear to explain, perhaps you can add some wisdom at some time because it is already quite a confusing topic, check here: https://github.com/CGAL/cgal/issues/341#issuecomment-140415456

Cgal does seem very robust, perhaps that it's speed is also makes it's strength because it doesnt miss any kinds of multi triangle intersections. perhaps it's cgal that makes openscad strength, it is slow and very reliable.
tp3
Reply | Threaded
Open this post in threaded view
|

Re: Adding a vertex process counter in cgal process?

tp3
On 09/15/2015 05:30 PM, ufomorace wrote:
> Hi Torsten, i have written a feature request on the CGAL web page,
> and two CGAL programmers have already offered solutions in the same
> day, however the precise nature of the request is not very clear to
> explain, perhaps you can add some wisdom at some time because it is
> already quite a confusing topic, check here:
> https://github.com/CGAL/cgal/issues/341#issuecomment-140415456
>
Ahh, nice. Look like Marius already commented on the issue. After
quite some battles with CGAL, he knows it much better than me, so
I guess the topic is in good hands. I've subscribed to the issue,
let's see what happens...

ciao,
  Torsten.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-- Torsten