mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-04 17:00:06 +00:00
125 lines
4.1 KiB
C++
125 lines
4.1 KiB
C++
//
|
|
// Copyright 2013 Pixar
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License
|
|
// and the following modification to it: Section 6 Trademarks.
|
|
// deleted and replaced with:
|
|
//
|
|
// 6. Trademarks. This License does not grant permission to use the
|
|
// trade names, trademarks, service marks, or product names of the
|
|
// Licensor and its affiliates, except as required for reproducing
|
|
// the content of the NOTICE file.
|
|
//
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing,
|
|
// software distributed under the License is distributed on an
|
|
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
|
|
// either express or implied. See the License for the specific
|
|
// language governing permissions and limitations under the
|
|
// License.
|
|
//
|
|
static const std::string catmark_dart_edgecorner =
|
|
"# 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.500000\n"
|
|
"vt 0.125000 0.375000\n"
|
|
"vt 0.250000 0.500000\n"
|
|
"vt 0.125000 0.625000\n"
|
|
"vt 0.875000 0.625000\n"
|
|
"vt 0.750000 0.500000\n"
|
|
"vt 0.875000 0.375000\n"
|
|
"vt 1.000000 0.500000\n"
|
|
"vt 0.625000 0.125000\n"
|
|
"vt 0.500000 0.250000\n"
|
|
"vt 0.375000 0.125000\n"
|
|
"vt 0.500000 0.000000\n"
|
|
"vt 0.750000 0.250000\n"
|
|
"vt 0.625000 0.375000\n"
|
|
"vt 0.750000 0.750000\n"
|
|
"vt 0.625000 0.625000\n"
|
|
"vt 0.375000 0.375000\n"
|
|
"vt 0.250000 0.250000\n"
|
|
"vt 0.500000 0.500000\n"
|
|
"vt 0.625000 0.875000\n"
|
|
"vt 0.500000 0.750000\n"
|
|
"vt 0.375000 0.625000\n"
|
|
"vt 0.375000 0.875000\n"
|
|
"vt 0.500000 1.000000\n"
|
|
"vt 0.250000 0.750000\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/2/2 23/3/3 14/4/4\n"
|
|
"f 13/5/5 19/6/6 8/7/7 2/8/8\n"
|
|
"f 10/9/9 17/10/10 5/11/11 1/12/12\n"
|
|
"f 9/13/13 18/14/14 17/10/15 10/9/16\n"
|
|
"f 8/7/17 19/6/18 18/14/19 9/13/20\n"
|
|
"f 12/15/21 22/16/22 19/6/23 13/5/24\n"
|
|
"f 17/10/25 20/17/26 6/18/27 5/11/28\n"
|
|
"f 18/14/29 21/19/30 20/17/31 17/10/32\n"
|
|
"f 19/6/33 22/16/34 21/19/35 18/14/36\n"
|
|
"f 11/20/37 25/21/38 22/16/39 12/15/40\n"
|
|
"f 20/17/41 23/3/42 7/2/43 6/18/44\n"
|
|
"f 21/19/45 24/22/46 23/3/47 20/17/48\n"
|
|
"f 22/16/49 25/21/50 24/22/51 21/19/52\n"
|
|
"f 16/23/53 25/21/54 11/20/55 3/24/56\n"
|
|
"f 15/25/57 24/22/58 25/21/59 16/23/60\n"
|
|
"f 14/4/61 23/3/62 24/22/63 15/25/64\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 1\n"
|
|
"\n"
|
|
;
|