Copyright (c)2013 The Regents of the University of California
(Regents). All Rights Reserved. Permission to use, copy, modify, and
distribute this software and its documentation for educational,
research, and not-for-profit purposes, without fee and without a
signed licensing agreement, is hereby granted, provided that the
following conditions are met:

  1) The text of this license shall appear in all copies,
  modifications, and distributions.

  2) Programs built on this software will display a copy of this
  license when run.

  3) Any publication based on work that makes use of this software
  shall acknowledge such use and cite:

  Rahul Narain, Armin Samii, and James F. O'Brien, "Adaptive
  Anisotropic Remeshing for Cloth Simulation", ACM Transactions on
  Graphics, 31(6):147:1-10, November 2012, Proceedings of ACM SIGGRAPH
  Asia 2012, Singapore.

  Rahul Narain, Tobias Pfaff, and James F. O'Brien. "Folding and
  Crumpling Adaptive Sheets". ACM Transactions on Graphics,
  32(4):51:1-8, July 2013. Proceedings of ACM SIGGRAPH 2013, Anaheim.

  4) Any film, video, short, or other animation produced with this
  software shall include an acknowledgment of such use in the credits.

Contact The Office of Technology Licensing, UC Berkeley, 2150 Shattuck
Avenue, Suite 510, Berkeley, CA 94720-1620, (510) 643-7201, for
commercial licensing opportunities.

This software was created by Rahul Narain, Armin Samii, Tobias Pfaff,
and James F. O'Brien in the Computer Science Division, Department of
Electrical Engineering and Computer Science, at the University of
California, Berkeley. Contains code and data by Huamin Wang, Ravi
Ramamoorthi, Victor Zordan, Nick Van Der Horst, Min Tang, Dinesh
Manocha, Alexander Reshetov, and Alexei Soupikov, distributed with
permission.

IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
REGENTS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF
ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS". REGENTS HAS NO OBLIGATION
TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.