OpenSubdiv/regression/shapes/catmark_dart_edgecorner.h
barry 669e54a9f7 Fixed indexing errors in old regression/shapes:
- added missing vertex texture or normal entry when only one missing
    - removed texture or normal indices from face definitions when none present
    - removed normals when incomplete and not correlated with face definitions
2019-05-15 13:45:33 -07:00

100 lines
3.2 KiB
C++

//
// Copyright 2013 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is 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 to comply with Section 4(c) of
// the License and to reproduce the content of the NOTICE file.
//
// You may obtain a copy of the Apache License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the Apache License with the above modification is
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the Apache License for the specific
// language governing permissions and limitations under the Apache 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"
"s 1\n"
"f 4/1 7/2 23/3 14/4\n"
"f 13/5 19/6 8/7 2/8\n"
"f 10/9 17/10 5/11 1/12\n"
"f 9/13 18/14 17/10 10/9\n"
"f 8/7 19/6 18/14 9/13\n"
"f 12/15 22/16 19/6 13/5\n"
"f 17/10 20/17 6/18 5/11\n"
"f 18/14 21/19 20/17 17/10\n"
"f 19/6 22/16 21/19 18/14\n"
"f 11/20 25/21 22/16 12/15\n"
"f 20/17 23/3 7/2 6/18\n"
"f 21/19 24/22 23/3 20/17\n"
"f 22/16 25/21 24/22 21/19\n"
"f 16/23 25/21 11/20 3/24\n"
"f 15/25 24/22 25/21 16/23\n"
"f 14/4 23/3 24/22 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 1\n"
"\n"
;