mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-05 14:31:07 +00:00
104 lines
3.1 KiB
C++
104 lines
3.1 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_torus_creases1 =
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
"\n"
|
|
"v 1.250520 -0.353553 0.517982\n"
|
|
"v 0.597239 -0.353553 0.247384\n"
|
|
"v 0.597239 0.353553 0.247384\n"
|
|
"v 1.250520 0.353553 0.517982\n"
|
|
"v 0.517982 -0.353553 1.250520\n"
|
|
"v 0.247384 -0.353553 0.597239\n"
|
|
"v 0.247384 0.353553 0.597239\n"
|
|
"v 0.517982 0.353553 1.250520\n"
|
|
"v -0.517982 -0.353553 1.250520\n"
|
|
"v -0.247384 -0.353553 0.597239\n"
|
|
"v -0.247384 0.353553 0.597239\n"
|
|
"v -0.517982 0.353553 1.250520\n"
|
|
"v -1.250520 -0.353553 0.517982\n"
|
|
"v -0.597239 -0.353553 0.247384\n"
|
|
"v -0.597239 0.353553 0.247384\n"
|
|
"v -1.250520 0.353553 0.517982\n"
|
|
"v -1.250520 -0.353553 -0.517982\n"
|
|
"v -0.597239 -0.353553 -0.247384\n"
|
|
"v -0.597239 0.353553 -0.247384\n"
|
|
"v -1.250520 0.353553 -0.517982\n"
|
|
"v -0.517982 -0.353553 -1.250520\n"
|
|
"v -0.247384 -0.353553 -0.597239\n"
|
|
"v -0.247384 0.353553 -0.597239\n"
|
|
"v -0.517982 0.353553 -1.250520\n"
|
|
"v 0.517982 -0.353553 -1.250520\n"
|
|
"v 0.247384 -0.353553 -0.597239\n"
|
|
"v 0.247384 0.353553 -0.597239\n"
|
|
"v 0.517982 0.353553 -1.250520\n"
|
|
"v 1.250520 -0.353553 -0.517982\n"
|
|
"v 0.597239 -0.353553 -0.247384\n"
|
|
"v 0.597239 0.353553 -0.247384\n"
|
|
"v 1.250520 0.353553 -0.517982\n"
|
|
"\n"
|
|
"f 5 6 2 1\n"
|
|
"f 6 7 3 2\n"
|
|
"f 7 8 4 3\n"
|
|
"f 8 5 1 4\n"
|
|
"f 9 10 6 5\n"
|
|
"f 10 11 7 6\n"
|
|
"f 11 12 8 7\n"
|
|
"f 12 9 5 8\n"
|
|
"f 13 14 10 9\n"
|
|
"f 14 15 11 10\n"
|
|
"f 15 16 12 11\n"
|
|
"f 16 13 9 12\n"
|
|
"f 17 18 14 13\n"
|
|
"f 18 19 15 14\n"
|
|
"f 19 20 16 15\n"
|
|
"f 20 17 13 16\n"
|
|
"f 21 22 18 17\n"
|
|
"f 22 23 19 18\n"
|
|
"f 23 24 20 19\n"
|
|
"f 24 21 17 20\n"
|
|
"f 25 26 22 21\n"
|
|
"f 26 27 23 22\n"
|
|
"f 27 28 24 23\n"
|
|
"f 28 25 21 24\n"
|
|
"f 29 30 26 25\n"
|
|
"f 30 31 27 26\n"
|
|
"f 31 32 28 27\n"
|
|
"f 32 29 25 28\n"
|
|
"f 1 2 30 29\n"
|
|
"f 2 3 31 30\n"
|
|
"f 3 4 32 31\n"
|
|
"f 4 1 29 32\n"
|
|
"\n"
|
|
"t crease 2/1/0 1 5 4.7\n"
|
|
"t crease 2/1/0 5 9 4.7\n"
|
|
"t crease 2/1/0 9 13 4.7\n"
|
|
"t crease 2/1/0 13 17 4.7\n"
|
|
"t crease 2/1/0 17 21 4.7\n"
|
|
"t crease 2/1/0 21 25 4.7\n"
|
|
"t crease 2/1/0 25 29 4.7\n"
|
|
"t crease 2/1/0 29 1 4.7\n"
|
|
"t crease 2/1/0 29 30 4.7\n"
|
|
;
|