mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-27 22:10:06 +00:00
108 lines
3.7 KiB
C++
108 lines
3.7 KiB
C++
//
|
|
// Copyright 2014 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_gregory_test7 = std::string(
|
|
"# This file uses centimeters as units for non-parametric coordinates.\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 1.000000 -1.000000 0.000000\n"
|
|
"v -1.000000 1.000000 0.000000\n"
|
|
"v 1.500000 0.500000 0.000000\n"
|
|
"v -0.500000 -1.500000 0.000000\n"
|
|
"v -1.500000 -0.500000 0.000000\n"
|
|
"v 0.500000 1.500000 0.000000\n"
|
|
"v 0.333333 -0.333333 1.000000\n"
|
|
"v -0.333333 0.333333 1.000000\n"
|
|
"v 1.000000 0.0000000 0.000000\n"
|
|
"v 0.000000 -1.0000000 0.000000\n"
|
|
"v -1.000000 0.0000000 0.000000\n"
|
|
"v 0.000000 1.0000000 0.000000\n"
|
|
"v 3.000000 1.000000 0.000000\n"
|
|
"v 2.500000 1.500000 0.000000\n"
|
|
"v 1.500000 2.500000 0.000000\n"
|
|
"v 1.000000 3.000000 0.000000\n"
|
|
"vt 0.000000 0.000000\n"
|
|
"vt 0.333333 0.000000\n"
|
|
"vt 0.666666 0.000000\n"
|
|
"vt 1.000000 0.000000\n"
|
|
"vt 0.000000 0.250000\n"
|
|
"vt 0.166666 0.250000\n"
|
|
"vt 0.500000 0.250000\n"
|
|
"vt 0.666666 0.250000\n"
|
|
"vt 1.000000 0.250000\n"
|
|
"vt 0.000000 0.750000\n"
|
|
"vt 0.166666 0.750000\n"
|
|
"vt 0.500000 0.750000\n"
|
|
"vt 0.666666 0.750000\n"
|
|
"vt 1.000000 0.750000\n"
|
|
"vt 0.000000 1.000000\n"
|
|
"vt 0.333333 1.000000\n"
|
|
"vt 0.666666 1.000000\n"
|
|
"vt 1.000000 1.000000\n"
|
|
"vt 0.333333 0.333333\n"
|
|
"vt 0.333333 0.666666\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.000000 0.000000 1.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.000000 0.000000 1.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.000000 0.000000 1.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.000000 0.000000 1.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.000000 0.000000 1.000000\n"
|
|
"f 1/1/1 5/2/2/ 14/6/3 8/5/4\n"
|
|
"f 2/3/5 7/8/6 13/7/7 5/2/8\n"
|
|
"f 3/17/9 6/16/10 16/12/11 10/13/12\n"
|
|
"f 4/15/13 9/10/14 15/11/15 6/16/16\n"
|
|
"f 5/2/17 13/7/18 11/19/19 14/6/20\n"
|
|
"f 6/16/21 15/11/22 12/20/23 16/12/24\n"
|
|
"f 7/8/25 10/13/26 16/12/27 13/7/28\n"
|
|
"f 9/10/29 8/5/30 14/6/31 15/11/32\n"
|
|
"f 11/19/33 13/7/34 16/12/35 12/20/36\n"
|
|
"f 12/20/37 15/11/38 14/6/39 11/19/40\n"
|
|
"f 2/3/41 17/4/42 18/9/43 7/8/44\n"
|
|
"f 3/17/45 10/13/46 19/14/47 20/18/48\n"
|
|
"f 7/8/49 18/9/50 19/14/51 10/13/52\n"
|
|
"t crease 2/1/0 4 12 9.0\n"
|
|
"t crease 2/1/0 12 15 9.0\n"
|
|
"t crease 2/1/0 15 5 9.0\n"
|
|
"t crease 2/1/0 5 14 9.0\n"
|
|
"t crease 2/1/0 14 13 9.0\n"
|
|
"t crease 2/1/0 13 4 9.0\n"
|
|
"t interpolateboundary 1/0/0 2\n"
|
|
);
|