mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-27 02:10:24 +00:00
138 lines
4.7 KiB
C
138 lines
4.7 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_hole_test3 =
|
||
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
||
|
"\n"
|
||
|
"g default\n"
|
||
|
"v 1.596037 0.000000 1.006744\n"
|
||
|
"v 0.532012 0.000000 1.006744\n"
|
||
|
"v -0.532012 0.000000 1.006744\n"
|
||
|
"v -1.596037 0.000000 1.006744\n"
|
||
|
"v 1.596037 0.000000 0.099249\n"
|
||
|
"v 0.532012 0.000000 0.099249\n"
|
||
|
"v -0.532012 0.000000 0.099249\n"
|
||
|
"v -1.596037 0.000000 0.099249\n"
|
||
|
"v 1.596037 0.000000 -0.808247\n"
|
||
|
"v 0.532012 0.000000 -0.808247\n"
|
||
|
"v -0.532012 0.000000 -0.808247\n"
|
||
|
"v -1.596037 0.000000 -0.808247\n"
|
||
|
"v 1.596037 0.000000 0.552996\n"
|
||
|
"v 1.064024 0.000000 0.552997\n"
|
||
|
"v 1.064024 0.000000 1.006744\n"
|
||
|
"v 0.532012 0.000000 0.552996\n"
|
||
|
"v 1.064024 0.000000 0.099249\n"
|
||
|
"v 1.596037 0.000000 -0.354499\n"
|
||
|
"v 1.064024 0.000000 -0.354499\n"
|
||
|
"v 0.532012 0.000000 -0.354499\n"
|
||
|
"v 1.064024 0.000000 -0.808247\n"
|
||
|
"v 1.596037 0.000000 -1.261994\n"
|
||
|
"v 1.064024 0.000000 -1.261994\n"
|
||
|
"v 0.532012 0.000000 -1.261994\n"
|
||
|
"vt 0.200000 0.000000\n"
|
||
|
"vt 0.400000 0.000000\n"
|
||
|
"vt 0.600000 0.000000\n"
|
||
|
"vt 0.800000 0.000000\n"
|
||
|
"vt 0.200000 0.170578\n"
|
||
|
"vt 0.400000 0.170578\n"
|
||
|
"vt 0.600000 0.170578\n"
|
||
|
"vt 0.800000 0.170578\n"
|
||
|
"vt 0.200000 0.341156\n"
|
||
|
"vt 0.400000 0.341156\n"
|
||
|
"vt 0.600000 0.341156\n"
|
||
|
"vt 0.800000 0.341156\n"
|
||
|
"vt 0.200000 0.085289\n"
|
||
|
"vt 0.300000 0.085289\n"
|
||
|
"vt 0.300000 0.000000\n"
|
||
|
"vt 0.400000 0.085289\n"
|
||
|
"vt 0.300000 0.170578\n"
|
||
|
"vt 0.200000 0.255867\n"
|
||
|
"vt 0.300000 0.255867\n"
|
||
|
"vt 0.400000 0.255867\n"
|
||
|
"vt 0.300000 0.341156\n"
|
||
|
"vt 0.200000 0.426445\n"
|
||
|
"vt 0.300000 0.426445\n"
|
||
|
"vt 0.400000 0.426445\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"vn -0.000000 -1.000000 0.000000\n"
|
||
|
"f 13/13/1 1/1/2 15/15/3 14/14/4\n"
|
||
|
"f 3/3/5 4/4/6 8/8/7 7/7/8\n"
|
||
|
"f 18/18/9 5/5/10 17/17/11 19/19/12\n"
|
||
|
"f 7/7/8 8/8/7 12/12/13 11/11/14\n"
|
||
|
"f 22/22/15 9/9/16 21/21/17 23/23/18\n"
|
||
|
"f 7/7/8 16/16/19 2/2/20 3/3/5\n"
|
||
|
"f 15/15/21 2/2/20 16/16/19 14/14/22\n"
|
||
|
"f 16/16/23 6/6/24 17/17/25 14/14/26\n"
|
||
|
"f 17/17/11 5/5/10 13/13/27 14/14/28\n"
|
||
|
"f 17/17/25 6/6/24 20/20/29 19/19/30\n"
|
||
|
"f 20/20/31 10/10/32 21/21/33 19/19/34\n"
|
||
|
"f 21/21/17 9/9/16 18/18/35 19/19/36\n"
|
||
|
"f 21/21/33 10/10/32 24/24/37 23/23/38\n"
|
||
|
"f 11/11/39 24/24/37 10/10/32 20/20/31\n"
|
||
|
"f 11/11/14 20/20/40 7/7/8\n"
|
||
|
"f 7/7/41 20/20/29 6/6/24 16/16/23\n"
|
||
|
"t hole 8/0/0 15 2 7 8 9 5 13 14\n"
|
||
|
"t interpolateboundary 1/0/0 1\n"
|
||
|
"\n"
|
||
|
;
|