Archive for June, 2016

Baran & Lehtinen’s “Notes on inflating curves” 2009

Wednesday, June 29th, 2016

Notes on inflating curves

Ilya Baran has permitted me to host online his and Jaakko Lehtinen’s technical report from 2009, Notes on Inflating Curves.

The clever “trick” in this approach is rather than to set the height as the solution to a Poisson equation, to set the square of the height to the solution to a Poisson equation. This ensures that the surface normals are in plane at the boundary so the inflated surface may be glued to itself and turned into a closed “pillow” surface. This idea was leveraged and expanded upon in Ink-and-Ray: Bas-Relief Meshes for Adding Global Illumination Effects to Hand-Drawn Characters.

You could cite this note as:

@techreport{Baran:NIC:2009,
  author = {Baran, Ilya and Lehtinen, Jaakko},
  title = {Notes on inflating curves},
  institution = {MIT},
  year = {2009},
}

Javascript bookmarklet to delete first publication from CCV web form

Friday, June 17th, 2016

The Canadian Common CV webform failed to upload my publications correctly. But it doesn’t allow batch deletion of items so to delete each one at a time I’d have to click the little trash can and click “Yes” and then the page reloads. To avoid this I wrote a little javascript bookmarklet:

eval($("img[alt^=Delete]")[0].getAttribute('onclick').replace('preventBubbling(event);askDeleteBefore','processSubmit').replace('return false;',''))

Adding libigl as a submodule

Thursday, June 9th, 2016

If you’re adding libigl as a submodule to your project, you should add it recursively so that all of its submodules are also pulled in:

git submodule add https://github.com/libigl/libigl.git
git submodule update --init --recursive