Skip to content

Commit

Permalink
Merge branch 'master' into update-bootstrap-jquery-GF
Browse files Browse the repository at this point in the history
  • Loading branch information
lrineau authored Dec 6, 2023
2 parents 84587cf + 4447093 commit ede13f2
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/jekyll-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
github.event.workflow_run.conclusion == 'success'
steps:
- name: 'Download artifact github pages'
uses: actions/github-script@v6
uses: actions/github-script@v7
id: artifactgh-pages
with:
script: |
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
github.event.workflow_run.conclusion == 'success'
steps:
- name: get PR number
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
Expand All @@ -88,7 +88,7 @@ jobs:
unzip pr_number.zip
echo "number=$(cat pr_number.txt)" >> $GITHUB_OUTPUT
- name: Post address
uses: actions/github-script@v6
uses: actions/github-script@v7
if: ${{ success()}}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -100,7 +100,7 @@ jobs:
issue_number: ${{steps.prnumber.outputs.number}}
});
- name: Post error
uses: actions/github-script@v6
uses: actions/github-script@v7
if: ${{ failure()}}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 4 additions & 4 deletions FAQ.html
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@
<LI> <A NAME="debian_packages"></A>
<B>Are there packages for Debian / Ubuntu available?</B>
<P>Packages for Debian unstable (sid) are available from the official
Debian repository. Debian stable (bullseye) and Debian testing (bookworm)
Debian repository. Debian stable (bookworm) and Debian testing (trixie)
might not contain the latest version of CGAL. In that case, add</P>
<PRE> deb <A href="http://debian.cgal.org/">http://debian.cgal.org</A> bullseye main
deb-src <A href="http://debian.cgal.org/">http://debian.cgal.org</A> bullseye main</PRE>
or
<PRE> deb <A href="http://debian.cgal.org/">http://debian.cgal.org</A> bookworm main
deb-src <A href="http://debian.cgal.org/">http://debian.cgal.org</A> bookworm main</PRE>
or
<PRE> deb <A href="http://debian.cgal.org/">http://debian.cgal.org</A> trixie main
deb-src <A href="http://debian.cgal.org/">http://debian.cgal.org</A> trixie main</PRE>
to <TT>/etc/apt/sources.list</TT> (note that you only need the pair of lines
corresponding to the release you are using) and make sure that the package
<TT>apt-transport-https</TT> is installed. The packages are called
Expand Down
86 changes: 86 additions & 0 deletions _posts/2023-11-20-curvature_and_remeshing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
---
layout: post
title: "New in CGAL: Interpolated Corrected Curvature Measures and Isotropic Remeshing with Sizing Field"
description: ""
category:
tags: [""]
---
{% include JB/setup %}

<p>
The CGAL project has been participating in 12 editions of the <a href="https://summerofcode.withgoogle.com/">Google Summer of Code</a>
internship program. It is a great opportunity to welcome new members to our community, both contributors and mentors.
This post introduces two contributions that have been incorporated into the CGAL library.

First, <em>Interpolated Corrected Curvature Measures</em> from GSoC'22, by <a href="https://www.linkedin.com/in/hossam-saeed-1abab91b3/">Hossam Mohamed Seed</a>
mentored by <a href="https://perso.liris.cnrs.fr/david.coeurjolly/">David Coeurjolly</a>,
<a href="https://jacquesolivierlachaud.github.io/">Jacques-Olivier Lachaud</a>, and <a href="https://geometryfactory.com/who-we-are/">Sébastien Loriot</a>.

Second, <em>Isotropic Remeshing with Sizing Field</em> from GSoC'23 by <a href="https://3d.bk.tudelft.nl/ipaden/">Ivan Pađen</a> mentored by
<a href="https://geometryfactory.com/who-we-are/">Jane Tournois</a> and <a href="https://geometryfactory.com/who-we-are/">Sébastien Loriot</a>.

We present them together, as the second one relies on the first.

<br>
<h3>Interpolated Corrected Curvature Measures</h3>
Based on the article <a href="https://doi.org/10.1111/cgf.14067"><i>Lachaud, J.-O., Romon, P., Thibert, B. and Coeurjolly, D. (2020), Interpolated corrected curvature measures for polygonal surfaces. Computer Graphics Forum, 39: 41-54</i></a>,
the <em>Polygon Mesh Processing</em> package of CGAL now contains the function <code>interpolated_corrected_curvatures()</code>. This function
can compute the Gaussian curvature, the mean curvature, and the principal curvatures and directions at every vertex (or a single one)
of a surface mesh. An additional parameter, the ball radius, is provided so that the curvature estimation is summed over the neighborhood within
a ball centered at each vertex (rather than using its 1-ring neighborhood) to accommodate for possible noise in the positions of vertices of
the surface mesh. Additionally, if the polygonal mesh has a user-prescribed normal vector field, as opposed to only relying on the geometric information
(e.g., post-processed normal vectors, normal vectors from normal maps), the corrected curvature measures can adapt accordingly.

<br>
<br>
<div style="text-align:center;">
<a href="../../../../images/bimba_curvature.png"><img src="../../../../images/bimba_curvature.png" style="max-width:95%"/></a><br>
<br><small> Mean curvature, Gaussian curvature, Minimal principal curvature directions and Maximal principal curvature directions on a mesh.</small>
</div>
<br>
<br>

<h3>Isotropic Remeshing with Sizing Field</h3>

Almost since the introduction of the <em>Polygon Mesh Processing</em> package in CGAL, the function <code>isotropic_remeshing()</code>
has provided a way to isotropically and uniformly remesh a triangle mesh, given a target edge length. This implementation
includes the preservation of (sharp) feature lines, as well as the possibility to only remesh a portion of the mesh.
Extending this work, a concept of sizing field has been incorporated to the function, and a first model has been
implemented following the article <a href="https://diglib.eg.org/handle/10.2312/conf.EG2013.short.029-032"><i>Dunyach, Marion, et al. "Adaptive remeshing for real-time mesh deformation." Eurographics 2013. The Eurographics Association, 2013.</i></a>
and using the <em>Interpolated Corrected Curvature Measures</em> function for curvature computation.

<br>
<div style="text-align:center;">
<a href="../../../../images/david_comparison.png"><img src="../../../../images/david_comparison.png" style="max-width:95%"/></a><br>
<br><small>Input Mesh (left), Curvature based isotropic remeshing (right).</small>
</div>

<br>
<br>
<div style="text-align:center;">
<a href="../../../../images/thorvaldsen_comparison.png"><img src="../../../../images/thorvaldsen_comparison.png" style="max-width:95%"/></a><br>
<br><small>Input Mesh (left), Curvature based isotropic remeshing (right).</small>
</div>
<br>


<h3>Status</h3>

<p>All these additions already are integrated in CGAL's master branch on the
<a href="https://github.com/CGAL/cgal/">CGAL GitHub repository</a>, and will be officially released
in the upcoming version of CGAL, CGAL 6.0, scheduled for mid 2024.</p>

<i class="glyphicon glyphicon-book"></i>
<a href="https://doc.cgal.org/5.6/Manual/packages.html#PkgPolygonMeshProcessing">Documentation of the package Polygon Mesh Processing</a>
<br>

<i class="glyphicon glyphicon-book"></i>
<a href="https://cgal.geometryfactory.com/CGAL/doc/master/Polygon_mesh_processing/index.html#title59">Documentation section of the master branch about <code>interpolated_corrected_curvatures()</code></a>
<br>

<i class="glyphicon glyphicon-book"></i>
<a href="https://cgal.geometryfactory.com/CGAL/doc/master/Polygon_mesh_processing/index.html#title8">Documentation section of the master branch about <code>isotropic_remeshing()</code></a>
<br>

<i class="glyphicon glyphicon-download"></i>
<a href="https://github.com/CGAL/cgal/tree/master">CGAL master branch on GitHub</a>
Binary file added images/bimba_curvature.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/david_comparison.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/thorvaldsen_comparison.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions people.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ <h3>CGAL Editorial Board</h3>

<style type="text/css">
ul.list {
display:table;
display:table;
}

ul.list li {
float: left;
width: 20em;
float: left;
width: 20em;
}
</style>

Expand Down Expand Up @@ -62,6 +62,8 @@ <h3>Current Developers</h3>
<BR>Universidade Federal de Pernambuco
<LI> <A HREF="http://www-sop.inria.fr/members/Frederic.Cazals/">Fr&eacute;d&eacute;ric Cazals</A>
<BR>INRIA Sophia Antipolis - M&eacute;diterran&eacute;e
<LI> <A HREF="https://www.geometryfactory.com/aboutus.html">Ange Clement</A>
<BR>GeometryFactory
<LI> <A HREF="http://www.loria.fr/~odevil/">Olivier Devillers</A>
<BR> INRIA Nancy - Grand Est
<LI> <A HREF="http://people.inf.ethz.ch/gaertner/">Bernd G&auml;rtner</A> (former editor)
Expand Down

0 comments on commit ede13f2

Please sign in to comment.