OpenSubdiv/regression/shapes/catmark_helmet.h

202 lines
7.1 KiB
C
Raw Normal View History

//
// 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
2013-07-18 21:19:50 +00:00
//
// 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_helmet =
"# This file uses centimeters as units for non-parametric coordinates.\n"
"\n"
"v -0.383022 -0.321394 -0.866025\n"
"v -0.250000 -0.433013 -0.866025\n"
"v -0.086824 -0.492404 -0.866025\n"
"v 0.086824 -0.492404 -0.866025\n"
"v 0.250000 -0.433013 -0.866025\n"
"v 0.383022 -0.321394 -0.866025\n"
"v -0.541675 -0.454519 -0.707107\n"
"v -0.353553 -0.612372 -0.707107\n"
"v -0.122788 -0.696364 -0.707107\n"
"v 0.122788 -0.696364 -0.707107\n"
"v 0.353553 -0.612372 -0.707107\n"
"v 0.541675 -0.454519 -0.707107\n"
"v -0.663414 -0.556670 -0.500000\n"
"v -0.433013 -0.750000 -0.500000\n"
"v -0.150384 -0.852869 -0.500000\n"
"v 0.150384 -0.852869 -0.500000\n"
"v 0.433013 -0.750000 -0.500000\n"
"v 0.663414 -0.556670 -0.500000\n"
"v -0.739942 -0.620885 -0.258819\n"
"v -0.482963 -0.836516 -0.258819\n"
"v -0.167731 -0.951251 -0.258819\n"
"v 0.167731 -0.951251 -0.258819\n"
"v 0.482963 -0.836516 -0.258819\n"
"v 0.739942 -0.620885 -0.258819\n"
"v -0.766045 -0.642787 0.000000\n"
"v -0.500000 -0.866025 0.000000\n"
"v -0.173648 -0.984808 0.000000\n"
"v 0.173648 -0.984808 0.000000\n"
"v 0.500000 -0.866025 0.000000\n"
"v 0.766044 -0.642788 0.000000\n"
"v -0.739942 -0.620885 0.258819\n"
"v -0.482963 -0.836516 0.258819\n"
"v -0.167731 -0.951251 0.258819\n"
"v 0.167731 -0.951251 0.258819\n"
"v 0.482963 -0.836516 0.258819\n"
"v 0.739942 -0.620885 0.258819\n"
"v -0.663414 -0.556670 0.500000\n"
"v -0.433013 -0.750000 0.500000\n"
"v -0.150384 -0.852869 0.500000\n"
"v 0.150384 -0.852869 0.500000\n"
"v 0.433013 -0.750000 0.500000\n"
"v 0.663414 -0.556670 0.500000\n"
"v -0.541675 -0.454519 0.707107\n"
"v -0.353553 -0.612372 0.707107\n"
"v -0.122788 -0.696364 0.707107\n"
"v 0.122788 -0.696364 0.707107\n"
"v 0.353553 -0.612372 0.707107\n"
"v 0.541675 -0.454519 0.707107\n"
"v -0.383022 -0.321394 0.866025\n"
"v -0.250000 -0.433013 0.866025\n"
"v -0.086824 -0.492404 0.866025\n"
"v 0.086824 -0.492404 0.866025\n"
"v 0.250000 -0.433013 0.866025\n"
"v 0.383022 -0.321394 0.866025\n"
"v -0.086824 -0.531654 -0.916400\n"
"v 0.086824 -0.531654 -0.916400\n"
"v 0.122788 -0.741464 -0.751545\n"
"v -0.122788 -0.741464 -0.751545\n"
"v 0.150384 -0.907909 -0.531311\n"
"v -0.150384 -0.907909 -0.531311\n"
"v 0.167731 -1.012482 -0.274985\n"
"v -0.167731 -1.012482 -0.274985\n"
"v 0.173648 -1.048138 0.000000\n"
"v -0.173648 -1.048138 0.000000\n"
"v 0.167731 -1.012482 0.274985\n"
"v -0.167731 -1.012482 0.274985\n"
"v 0.150384 -0.907909 0.531311\n"
"v -0.150384 -0.907909 0.531311\n"
"v 0.122788 -0.741464 0.751545\n"
"v -0.122788 -0.741464 0.751545\n"
"v 0.086824 -0.531654 0.916400\n"
"v -0.086824 -0.531654 0.916400\n"
"vt 0 0\n"
"vt 1 0\n"
"vt 1 1\n"
"vt 0 1\n"
"f 1/1/1 2/2/2 8/3/8 7/4/7\n"
"f 2/1/2 3/2/3 9/3/9 8/4/8\n"
"f 55/1/55 56/2/56 57/3/57 58/4/58\n"
"f 4/1/4 5/2/5 11/3/11 10/4/10\n"
"f 5/1/5 6/2/6 12/3/12 11/4/11\n"
"f 7/1/7 8/2/8 14/3/14 13/4/13\n"
"f 8/1/8 9/2/9 15/3/15 14/4/14\n"
"f 58/1/58 57/2/57 59/3/59 60/4/60\n"
"f 10/1/10 11/2/11 17/3/17 16/4/16\n"
"f 11/1/11 12/2/12 18/3/18 17/4/17\n"
"f 13/1/13 14/2/14 20/3/20 19/4/19\n"
"f 14/1/14 15/2/15 21/3/21 20/4/20\n"
"f 60/1/60 59/2/59 61/3/61 62/4/62\n"
"f 16/1/16 17/2/17 23/3/23 22/4/22\n"
"f 17/1/17 18/2/18 24/3/24 23/4/23\n"
"f 19/1/19 20/2/20 26/3/26 25/4/25\n"
"f 20/1/20 21/2/21 27/3/27 26/4/26\n"
"f 62/1/62 61/2/61 63/3/63 64/4/64\n"
"f 22/1/22 23/2/23 29/3/29 28/4/28\n"
"f 23/1/23 24/2/24 30/3/30 29/4/29\n"
"f 25/1/25 26/2/26 32/3/32 31/4/31\n"
"f 26/1/26 27/2/27 33/3/33 32/4/32\n"
"f 64/1/64 63/2/63 65/3/65 66/4/66\n"
"f 28/1/28 29/2/29 35/3/35 34/4/34\n"
"f 29/1/29 30/2/30 36/3/36 35/4/35\n"
"f 31/1/31 32/2/32 38/3/38 37/4/37\n"
"f 32/1/32 33/2/33 39/3/39 38/4/38\n"
"f 66/1/66 65/2/65 67/3/67 68/4/68\n"
"f 34/1/34 35/2/35 41/3/41 40/4/40\n"
"f 35/1/35 36/2/36 42/3/42 41/4/41\n"
"f 37/1/37 38/2/38 44/3/44 43/4/43\n"
"f 38/1/38 39/2/39 45/3/45 44/4/44\n"
"f 68/1/68 67/2/67 69/3/69 70/4/70\n"
"f 40/1/40 41/2/41 47/3/47 46/4/46\n"
"f 41/1/41 42/2/42 48/3/48 47/4/47\n"
"f 43/1/43 44/2/44 50/3/50 49/4/49\n"
"f 44/1/44 45/2/45 51/3/51 50/4/50\n"
"f 70/1/70 69/2/69 71/3/71 72/4/72\n"
"f 46/1/46 47/2/47 53/3/53 52/4/52\n"
"f 47/1/47 48/2/48 54/3/54 53/4/53\n"
"f 3/1/3 4/2/4 56/3/56 55/4/55\n"
"f 4/1/4 10/2/10 57/3/57 56/4/56\n"
"f 9/1/9 3/2/3 55/3/55 58/4/58\n"
"f 10/1/10 16/2/16 59/3/59 57/4/57\n"
"f 15/1/15 9/2/9 58/3/58 60/4/60\n"
"f 16/1/16 22/2/22 61/3/61 59/4/59\n"
"f 21/1/21 15/2/15 60/3/60 62/4/62\n"
"f 22/1/22 28/2/28 63/3/63 61/4/61\n"
"f 27/1/27 21/2/21 62/3/62 64/4/64\n"
"f 28/1/28 34/2/34 65/3/65 63/4/63\n"
"f 33/1/33 27/2/27 64/3/64 66/4/66\n"
"f 34/1/34 40/2/40 67/3/67 65/4/65\n"
"f 39/1/39 33/2/33 66/3/66 68/4/68\n"
"f 40/1/40 46/2/46 69/3/69 67/4/67\n"
"f 45/1/45 39/2/39 68/3/68 70/4/70\n"
"f 46/1/46 52/2/52 71/3/71 69/4/69\n"
"f 52/1/52 51/2/51 72/3/72 71/4/71\n"
"f 51/1/51 45/2/45 70/3/70 72/4/72\n"
"t crease 2/1/0 2 8 7.000000 \n"
"t crease 2/1/0 3 9 7.000000 \n"
"t crease 2/1/0 8 14 7.000000 \n"
"t crease 2/1/0 9 15 7.000000 \n"
"t crease 2/1/0 14 20 7.000000 \n"
"t crease 2/1/0 15 21 7.000000 \n"
"t crease 2/1/0 20 26 7.000000 \n"
"t crease 2/1/0 21 27 7.000000 \n"
"t crease 2/1/0 26 32 7.000000 \n"
"t crease 2/1/0 27 33 7.000000 \n"
"t crease 2/1/0 32 38 7.000000 \n"
"t crease 2/1/0 33 39 7.000000 \n"
"t crease 2/1/0 38 44 7.000000 \n"
"t crease 2/1/0 39 45 7.000000 \n"
"t crease 2/1/0 44 50 7.000000 \n"
"t crease 2/1/0 45 51 7.000000 \n"
"t crease 2/1/0 2 54 7.000000 \n"
"t crease 2/1/0 3 55 7.000000 \n"
"t crease 2/1/0 54 55 7.000000 \n"
"t crease 2/1/0 55 56 7.000000 \n"
"t crease 2/1/0 54 57 7.000000 \n"
"t crease 2/1/0 56 58 7.000000 \n"
"t crease 2/1/0 57 59 7.000000 \n"
"t crease 2/1/0 58 60 7.000000 \n"
"t crease 2/1/0 59 61 7.000000 \n"
"t crease 2/1/0 60 62 7.000000 \n"
"t crease 2/1/0 61 63 7.000000 \n"
"t crease 2/1/0 62 64 7.000000 \n"
"t crease 2/1/0 63 65 7.000000 \n"
"t crease 2/1/0 64 66 7.000000 \n"
"t crease 2/1/0 65 67 7.000000 \n"
"t crease 2/1/0 66 68 7.000000 \n"
"t crease 2/1/0 67 69 7.000000 \n"
"t crease 2/1/0 51 70 7.000000 \n"
"t crease 2/1/0 68 70 7.000000 \n"
"t crease 2/1/0 50 71 7.000000 \n"
"t crease 2/1/0 71 70 7.000000 \n"
"t crease 2/1/0 69 71 7.000000 \n"
"t interpolateboundary 1/0/0 1 \n"
;