mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-30 07:10:07 +00:00
143 lines
5.6 KiB
C
143 lines
5.6 KiB
C
//
|
|
// Copyright (C) Pixar. All rights reserved.
|
|
//
|
|
// This license governs use of the accompanying software. If you
|
|
// use the software, you accept this license. If you do not accept
|
|
// the license, do not use the software.
|
|
//
|
|
// 1. Definitions
|
|
// The terms "reproduce," "reproduction," "derivative works," and
|
|
// "distribution" have the same meaning here as under U.S.
|
|
// copyright law. A "contribution" is the original software, or
|
|
// any additions or changes to the software.
|
|
// A "contributor" is any person or entity that distributes its
|
|
// contribution under this license.
|
|
// "Licensed patents" are a contributor's patent claims that read
|
|
// directly on its contribution.
|
|
//
|
|
// 2. Grant of Rights
|
|
// (A) Copyright Grant- Subject to the terms of this license,
|
|
// including the license conditions and limitations in section 3,
|
|
// each contributor grants you a non-exclusive, worldwide,
|
|
// royalty-free copyright license to reproduce its contribution,
|
|
// prepare derivative works of its contribution, and distribute
|
|
// its contribution or any derivative works that you create.
|
|
// (B) Patent Grant- Subject to the terms of this license,
|
|
// including the license conditions and limitations in section 3,
|
|
// each contributor grants you a non-exclusive, worldwide,
|
|
// royalty-free license under its licensed patents to make, have
|
|
// made, use, sell, offer for sale, import, and/or otherwise
|
|
// dispose of its contribution in the software or derivative works
|
|
// of the contribution in the software.
|
|
//
|
|
// 3. Conditions and Limitations
|
|
// (A) No Trademark License- This license does not grant you
|
|
// rights to use any contributor's name, logo, or trademarks.
|
|
// (B) If you bring a patent claim against any contributor over
|
|
// patents that you claim are infringed by the software, your
|
|
// patent license from such contributor to the software ends
|
|
// automatically.
|
|
// (C) If you distribute any portion of the software, you must
|
|
// retain all copyright, patent, trademark, and attribution
|
|
// notices that are present in the software.
|
|
// (D) If you distribute any portion of the software in source
|
|
// code form, you may do so only under this license by including a
|
|
// complete copy of this license with your distribution. If you
|
|
// distribute any portion of the software in compiled or object
|
|
// code form, you may only do so under a license that complies
|
|
// with this license.
|
|
// (E) The software is licensed "as-is." You bear the risk of
|
|
// using it. The contributors give no express warranties,
|
|
// guarantees or conditions. You may have additional consumer
|
|
// rights under your local laws which this license cannot change.
|
|
// To the extent permitted under your local laws, the contributors
|
|
// exclude the implied warranties of merchantability, fitness for
|
|
// a particular purpose and non-infringement.
|
|
//
|
|
static char const * catmark_tent_creases1 =
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
"\n"
|
|
"v 0.000000 -1.697056 0.000000\n"
|
|
"v 0.565686 -1.131370 0.000000\n"
|
|
"v 1.131371 -0.565686 0.800000\n"
|
|
"v 1.697056 0.000000 0.000000\n"
|
|
"v -0.565686 -1.131370 0.000000\n"
|
|
"v 0.000000 -0.565686 0.000000\n"
|
|
"v 0.565686 0.000000 0.800000\n"
|
|
"v 1.131370 0.565686 0.000000\n"
|
|
"v -1.131371 -0.565686 0.000000\n"
|
|
"v -0.565686 0.000000 0.000000\n"
|
|
"v 0.000000 0.565686 0.000000\n"
|
|
"v 0.565686 1.131371 0.000000\n"
|
|
"v -1.697056 0.000000 0.000000\n"
|
|
"v -1.131370 0.565686 0.000000\n"
|
|
"v -0.565686 1.131371 0.000000\n"
|
|
"v 0.000000 1.697056 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.333333 0.000000\n"
|
|
"vt 0.333333 0.333333\n"
|
|
"vt 0.000000 0.333333\n"
|
|
"vt 0.666667 0.000000\n"
|
|
"vt 0.666667 0.333333\n"
|
|
"vt 1.000000 0.000000\n"
|
|
"vt 1.000000 0.333333\n"
|
|
"vt 0.333333 0.666667\n"
|
|
"vt 0.000000 0.666667\n"
|
|
"vt 0.666667 0.666667\n"
|
|
"vt 1.000000 0.666667\n"
|
|
"vt 0.333333 1.000000\n"
|
|
"vt 0.000000 1.000000\n"
|
|
"vt 0.666667 1.000000\n"
|
|
"vt 1.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.270598 -0.270598 0.923880\n"
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.270598 -0.270598 0.923880\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.500000 0.500000 0.707107\n"
|
|
"vn 0.258819 0.557678 0.788675\n"
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
"vn 0.258819 0.557678 0.788675\n"
|
|
"vn 0.000000 0.302905 0.953021\n"
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
"vn 0.000000 0.302905 0.953021\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"f 1/1/1 2/2/2 6/3/3 5/4/4\n"
|
|
"f 2/2/5 3/5/6 7/6/7 6/3/8\n"
|
|
"f 3/5/9 4/7/10 8/8/11 7/6/12\n"
|
|
"f 5/4/13 6/3/14 10/9/15 9/10/16\n"
|
|
"f 6/3/17 7/6/18 11/11/19 10/9/20\n"
|
|
"f 7/6/21 8/8/22 12/12/23 11/11/24\n"
|
|
"f 9/10/25 10/9/26 14/13/27 13/14/28\n"
|
|
"f 10/9/29 11/11/30 15/15/31 14/13/32\n"
|
|
"f 11/11/33 12/12/34 16/16/35 15/15/36\n"
|
|
"t crease 2/1/0 2 6 2.0\n"
|
|
"t crease 2/1/0 6 10 2.0\n"
|
|
"t corner 1/1/0 6 3.0\n"
|
|
"t interpolateboundary 1/0/0 1\n"
|
|
"\n"
|
|
;
|