OpenSubdiv/regression/shapes/catmark_torus_creases0.h

137 lines
5.6 KiB
C
Raw Normal View History

//
// 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 const std::string catmark_torus_creases0 =
"# This file uses centimeters as units for non-parametric coordinates.\n"
"\n"
"v 1.25052 0.517982 0.353553\n"
"v 0.597239 0.247384 0.353553\n"
"v 0.597239 0.247384 -0.353553\n"
"v 1.25052 0.517982 -0.353553\n"
"v 0.517982 1.25052 0.353553\n"
"v 0.247384 0.597239 0.353553\n"
"v 0.247384 0.597239 -0.353553\n"
"v 0.517982 1.25052 -0.353553\n"
"v -0.517982 1.25052 0.353553\n"
"v -0.247384 0.597239 0.353553\n"
"v -0.247384 0.597239 -0.353553\n"
"v -0.517982 1.25052 -0.353553\n"
"v -1.25052 0.517982 0.353553\n"
"v -0.597239 0.247384 0.353553\n"
"v -0.597239 0.247384 -0.353553\n"
"v -1.25052 0.517982 -0.353553\n"
"v -1.25052 -0.517982 0.353553\n"
"v -0.597239 -0.247384 0.353553\n"
"v -0.597239 -0.247384 -0.353553\n"
"v -1.25052 -0.517982 -0.353553\n"
"v -0.517982 -1.25052 0.353553\n"
"v -0.247384 -0.597239 0.353553\n"
"v -0.247384 -0.597239 -0.353553\n"
"v -0.517982 -1.25052 -0.353553\n"
"v 0.517982 -1.25052 0.353553\n"
"v 0.247384 -0.597239 0.353553\n"
"v 0.247384 -0.597239 -0.353553\n"
"v 0.517982 -1.25052 -0.353553\n"
"v 1.25052 -0.517982 0.353553\n"
"v 0.597239 -0.247384 0.353553\n"
"v 0.597239 -0.247384 -0.353553\n"
"v 1.25052 -0.517982 -0.353553\n"
"vt 0 0\n"
"vt 1 0\n"
"vt 1 1\n"
"vt 0 1\n"
"f 5/1/1 6/2/2 2/3/3 1/4/4\n"
"f 6/1/5 7/2/6 3/3/7 2/4/8\n"
"f 7/1/9 8/2/10 4/3/11 3/4/12\n"
"f 8/1/13 5/2/14 1/3/15 4/4/16\n"
"f 9/1/17 10/2/18 6/3/19 5/4/20\n"
"f 10/1/21 11/2/22 7/3/23 6/4/24\n"
"f 11/1/25 12/2/26 8/3/27 7/4/28\n"
"f 12/1/29 9/2/30 5/3/31 8/4/32\n"
"f 13/1/33 14/2/34 10/3/35 9/4/36\n"
"f 14/1/37 15/2/38 11/3/39 10/4/40\n"
"f 15/1/41 16/2/42 12/3/43 11/4/44\n"
"f 16/1/45 13/2/46 9/3/47 12/4/48\n"
"f 17/1/49 18/2/50 14/3/51 13/4/52\n"
"f 18/1/53 19/2/54 15/3/55 14/4/56\n"
"f 19/1/57 20/2/58 16/3/59 15/4/60\n"
"f 20/1/61 17/2/62 13/3/63 16/4/64\n"
"f 21/1/65 22/2/66 18/3/67 17/4/68\n"
"f 22/1/69 23/2/70 19/3/71 18/4/72\n"
"f 23/1/73 24/2/74 20/3/75 19/4/76\n"
"f 24/1/77 21/2/78 17/3/79 20/4/80\n"
"f 25/1/81 26/2/82 22/3/83 21/4/84\n"
"f 26/1/85 27/2/86 23/3/87 22/4/88\n"
"f 27/1/89 28/2/90 24/3/91 23/4/92\n"
"f 28/1/93 25/2/94 21/3/95 24/4/96\n"
"f 29/1/97 30/2/98 26/3/99 25/4/100\n"
"f 30/1/101 31/2/102 27/3/103 26/4/104\n"
"f 31/1/105 32/2/106 28/3/107 27/4/108\n"
"f 32/1/109 29/2/110 25/3/111 28/4/112\n"
"f 1/1/113 2/2/114 30/3/115 29/4/116\n"
"f 2/1/117 3/2/118 31/3/119 30/4/120\n"
"f 3/1/121 4/2/122 32/3/123 31/4/124\n"
"f 4/1/125 1/2/126 29/3/127 32/4/128\n"
"t crease 2/1/0 1 5 4.7\n"
"t crease 2/1/0 5 9 4.7\n"
"t crease 2/1/0 9 13 4.7\n"
"t crease 2/1/0 13 17 4.7\n"
"t crease 2/1/0 17 21 4.7\n"
"t crease 2/1/0 21 25 4.7\n"
"t crease 2/1/0 25 29 4.7\n"
"t crease 2/1/0 29 1 4.7\n"
;