mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-28 02:31:07 +00:00
157 lines
6.0 KiB
C
157 lines
6.0 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_dart =
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
"\n"
|
|
"v 0.000000 -2.000000 0.000000\n"
|
|
"v 2.000000 0.000000 0.000000\n"
|
|
"v 0.000000 2.000000 0.000000\n"
|
|
"v -2.000000 0.000000 0.000000\n"
|
|
"v -0.500000 -1.500000 0.000000\n"
|
|
"v -1.000000 -1.000000 0.000000\n"
|
|
"v -1.500000 -0.500000 0.000000\n"
|
|
"v 1.500000 -0.500000 0.000000\n"
|
|
"v 1.000000 -1.000000 1.000000\n"
|
|
"v 0.500000 -1.500000 0.000000\n"
|
|
"v 0.500000 1.500000 0.000000\n"
|
|
"v 1.000000 1.000000 0.000000\n"
|
|
"v 1.500000 0.500000 0.000000\n"
|
|
"v -1.500000 0.500000 0.000000\n"
|
|
"v -1.000000 1.000000 0.000000\n"
|
|
"v -0.500000 1.500000 0.000000\n"
|
|
"v 0.000000 -1.000000 0.000000\n"
|
|
"v 0.500000 -0.500000 1.000000\n"
|
|
"v 1.000000 0.000000 0.000000\n"
|
|
"v -0.500000 -0.500000 0.000000\n"
|
|
"v 0.000000 0.000000 1.000000\n"
|
|
"v 0.500000 0.500000 0.000000\n"
|
|
"v -1.000000 0.000000 0.000000\n"
|
|
"v -0.500000 0.500000 0.000000\n"
|
|
"v 0.000000 1.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vn 1.000000 0.000000 0.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.187366 0.000000 0.982290\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.325058 0.325058 0.888074\n"
|
|
"vn 0.325058 0.325058 0.888074\n"
|
|
"vn 1.000000 0.000000 0.000000\n"
|
|
"vn -0.325058 -0.325058 0.888074\n"
|
|
"vn -0.325058 -0.325058 0.888074\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 1.000000 0.000000 0.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.161559 0.359427 0.919082\n"
|
|
"vn -0.359427 -0.161559 0.919082\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn -0.256506 0.256506 0.931885\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 0.000000 0.187366 0.982290\n"
|
|
"vn -0.198757 0.198757 0.959683\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"vn 1.000000 0.000000 0.000000\n"
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
"s 1\n"
|
|
"f 4/1/1 7/7/2 23/23/3 14/14/4\n"
|
|
"f 13/13/5 19/19/6 8/8/7 2/3/8\n"
|
|
"f 10/10/9 17/17/10 5/5/11 1/4/12\n"
|
|
"f 9/9/13 18/18/14 17/17/10 10/10/9\n"
|
|
"f 8/8/7 19/19/6 18/18/14 9/9/13\n"
|
|
"f 12/12/15 22/22/16 19/19/6 13/13/5\n"
|
|
"f 17/17/10 20/20/17 6/6/18 5/5/11\n"
|
|
"f 18/18/14 21/21/19 20/20/17 17/17/10\n"
|
|
"f 19/19/6 22/22/16 21/21/19 18/18/14\n"
|
|
"f 11/11/20 25/25/21 22/22/16 12/12/15\n"
|
|
"f 20/20/17 23/23/3 7/7/2 6/6/18\n"
|
|
"f 21/21/19 24/24/22 23/23/3 20/20/17\n"
|
|
"f 22/22/16 25/25/21 24/24/22 21/21/19\n"
|
|
"f 16/16/23 25/25/21 11/11/20 3/2/24\n"
|
|
"f 15/15/25 24/24/22 25/25/21 16/16/23\n"
|
|
"f 14/14/4 23/23/3 24/24/22 15/15/25\n"
|
|
"t crease 2/1/0 8 17 2.0\n"
|
|
"t crease 2/1/0 17 20 2.0\n"
|
|
"t interpolateboundary 1/0/0 2\n"
|
|
"\n"
|
|
;
|