Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
hhoppe committed Aug 1, 2016
1 parent fa7eb5d commit db19b67
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 15 deletions.
24 changes: 12 additions & 12 deletions README.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!DOCTYPE html>

<html lang="en-us">
<head>
Expand Down Expand Up @@ -125,7 +125,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/recon.red.jpg" width="240" height="148" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/recon/">Surface reconstruction from unorganized points</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/recon/">Surface reconstruction from unorganized points</a>.</div>
<div class="authors">Hugues Hoppe, Tony DeRose, Tom Duchamp, John McDonald, Werner Stuetzle.</div>
<div class="pub"><cite>ACM SIGGRAPH 1992 Proceedings</cite>, 71-78.</div>
<div class="desc">Signed-distance field estimated from a set of unoriented noisy points.</div>
Expand All @@ -139,7 +139,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/meshopt.red.jpg" width="240" height="125" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/meshopt/">Mesh optimization</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/meshopt/">Mesh optimization</a>.</div>
<div class="authors">Hugues Hoppe, Tony DeRose, Tom Duchamp, John McDonald, Werner Stuetzle.</div>
<div class="pub"><cite>ACM SIGGRAPH 1993 Proceedings</cite>, 19-26.</div>
<div class="desc">Traversing the space of triangle meshes to optimize model fidelity and conciseness.</div>
Expand All @@ -153,7 +153,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/psrecon.red.jpg" width="240" height="148" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/psrecon/">Piecewise Smooth Surface Reconstruction</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/psrecon/">Piecewise Smooth Surface Reconstruction</a>.</div>
<div class="authors">Hugues Hoppe, Tony DeRose, Tom Duchamp, Michael Halstead, Hubert Jin, John McDonald, Jean Schweitzer, Werner Stuetzle.</div>
<div class="pub"><cite>ACM SIGGRAPH 1994 Proceedings</cite>, 295-302.</div>
<div class="desc">Subdivision surfaces with sharp features, and their automatic creation by data fitting.</div>
Expand All @@ -167,7 +167,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/pm.red.jpg" width="240" height="151" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/pm/">Progressive meshes</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/pm/">Progressive meshes</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>ACM SIGGRAPH 1996 Proceedings</cite>, 99-108.</div>
<div class="desc">Efficient, lossless, continuous-resolution representation of surface triangulations.</div>
Expand All @@ -181,7 +181,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/efficientpm.red.jpg" width="240" height="132" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/efficientpm/">Efficient implementation of progressive meshes</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/efficientpm/">Efficient implementation of progressive meshes</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>Computers &amp; Graphics</cite>, 22(1), 1998, 27-36.</div>
<div class="desc">Progressive mesh data structures compatible with GPU vertex buffers.</div>
Expand All @@ -195,7 +195,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/newqem.red.jpg" width="240" height="136" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/newqem/">New quadric metric for simplifying meshes with appearance attributes</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/newqem/">New quadric metric for simplifying meshes with appearance attributes</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>IEEE Visualization 1999 Conference</cite>, 59-66.</div>
<div class="desc">Efficient simplification metric designed around correspondence in 3D space.</div>
Expand All @@ -209,7 +209,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/vdrpm.red.jpg" width="240" height="150" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/vdrpm/">View-dependent refinement of progressive meshes</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/vdrpm/">View-dependent refinement of progressive meshes</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>ACM SIGGRAPH 1997 Proceedings</cite>, 189-198.</div>
<div class="desc">Lossless multiresolution structure for incremental local refinement/coarsening.</div>
Expand All @@ -223,7 +223,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/svdlod.red.jpg" width="240" height="149" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/svdlod/">Smooth view-dependent level-of-detail control and its application to terrain rendering</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/svdlod/">Smooth view-dependent level-of-detail control and its application to terrain rendering</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>IEEE Visualization 1998 Conference</cite>, 35-42.</div>
<div class="desc">Visually smooth adaptation of mesh refinement using cascaded temporal geomorphs.</div>
Expand All @@ -237,7 +237,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/psc.red.jpg" width="240" height="167" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/psc/">Progressive simplicial complexes</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/psc/">Progressive simplicial complexes</a>.</div>
<div class="authors">Jovan Popovic, Hugues Hoppe.</div>
<div class="pub"><cite>ACM SIGGRAPH 1997 Proceedings</cite>, 217-224.</div>
<div class="desc">Progressive encoding of both topology and geometry.</div>
Expand All @@ -251,7 +251,7 @@ <h2>Publications and associated programs/demos</h2>
<img class="thumbnail" src="thumbnails/tvc.red.jpg" width="240" height="136" alt=""/>
</td>
<td class="rcell">
<div class="title"><a href="http://research.microsoft.com/~hoppe/proj/tvc/">Optimization of mesh locality for transparent vertex caching</a>.</div>
<div class="title"><a href="http://hhoppe.com/proj/tvc/">Optimization of mesh locality for transparent vertex caching</a>.</div>
<div class="authors">Hugues Hoppe.</div>
<div class="pub"><cite>ACM SIGGRAPH 1999 Proceedings</cite>, 269-276.</div>
<div class="desc">Face reordering for efficient GPU vertex cache, advocating a FIFO policy.</div>
Expand Down Expand Up @@ -714,7 +714,7 @@ <h2>Code details</h2>

<h2>License</h2>
<p>See the file <a href="./license.txt"><code>./license.txt</code></a>.</p>
<!--<p>This project has adopted the <a href="http://microsoft.github.io/codeofconduct">Microsoft Open Source Code of Conduct</a>. For more information see the <a href="http://microsoft.github.io/codeofconduct/faq.md">Code of Conduct FAQ</a> or contact <a href="mailto:opencode@microsoft.com">opencode@microsoft.com</a> with any additional questions or comments.</p>-->
<p>This project has adopted the <a href="https://opensource.microsoft.com/codeofconduct/">Microsoft Open Source Code of Conduct</a>. For more information see the <a href="https://opensource.microsoft.com/codeofconduct/faq/">Code of Conduct FAQ</a> or contact <a href="mailto:opencode@microsoft.com">opencode@microsoft.com</a> with any additional questions or comments.</p>

</body>
</html>
8 changes: 5 additions & 3 deletions libHh/Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ int Mesh::num_boundaries(Vertex v) const {
}

bool Mesh::is_boundary(Vertex v) const {
assertx(herep(v));
if (!herep(v))
assertnever("Did not expect isolated vertex -- perhaps clean the input using \"Filtermesh -rmcomp 0\"");
int nb = num_boundaries(v);
assertx(nb<2); // is_nice(v)
if (nb>=2) // !is_nice(v)
assertnever("Did not expect non-nice vertex -- perhaps clean the input using \"Filtermesh -fixvertices\"");
return nb>0;
}

Expand Down Expand Up @@ -350,7 +352,7 @@ Array<Corner> Mesh::get_corners(Face f, Array<Corner>&& ca) const {

Vertex Mesh::opp_vertex(Edge e, Face f) const {
HEdge he = hedge_from_ef(e, f);
assertx(he->next->next->next==he);
if (he->next->next->next!=he) assertnever("mesh face is not triangle"); // cheaper than is_triangle(f)
return he->next->vert;
}

Expand Down

0 comments on commit db19b67

Please sign in to comment.