mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-11 03:40:05 +00:00
3ae50d1c50
New text: 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.
102 lines
3.8 KiB
C++
102 lines
3.8 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.25052 0.517982 0.353553\n"
|
|
"v 0.597239 0.247384 0.353553\n"
|
|
"v 0.597239 0.247384 -0.353553\n"
|
|
"v 1.25052 0.517982 -0.353553\n"
|
|
"v 0.517982 1.25052 0.353553\n"
|
|
"v 0.247384 0.597239 0.353553\n"
|
|
"v 0.247384 0.597239 -0.353553\n"
|
|
"v 0.517982 1.25052 -0.353553\n"
|
|
"v -0.517982 1.25052 0.353553\n"
|
|
"v -0.247384 0.597239 0.353553\n"
|
|
"v -0.247384 0.597239 -0.353553\n"
|
|
"v -0.517982 1.25052 -0.353553\n"
|
|
"v -1.25052 0.517982 0.353553\n"
|
|
"v -0.597239 0.247384 0.353553\n"
|
|
"v -0.597239 0.247384 -0.353553\n"
|
|
"v -1.25052 0.517982 -0.353553\n"
|
|
"v -1.25052 -0.517982 0.353553\n"
|
|
"v -0.597239 -0.247384 0.353553\n"
|
|
"v -0.597239 -0.247384 -0.353553\n"
|
|
"v -1.25052 -0.517982 -0.353553\n"
|
|
"v -0.517982 -1.25052 0.353553\n"
|
|
"v -0.247384 -0.597239 0.353553\n"
|
|
"v -0.247384 -0.597239 -0.353553\n"
|
|
"v -0.517982 -1.25052 -0.353553\n"
|
|
"v 0.517982 -1.25052 0.353553\n"
|
|
"v 0.247384 -0.597239 0.353553\n"
|
|
"v 0.247384 -0.597239 -0.353553\n"
|
|
"v 0.517982 -1.25052 -0.353553\n"
|
|
"v 1.25052 -0.517982 0.353553\n"
|
|
"v 0.597239 -0.247384 0.353553\n"
|
|
"v 0.597239 -0.247384 -0.353553\n"
|
|
"v 1.25052 -0.517982 -0.353553\n"
|
|
"f 5/1/1 6/2/2 2/3/3 1/4/4\n"
|
|
"f 6/5/5 7/6/6 3/7/7 2/8/8\n"
|
|
"f 7/9/9 8/10/10 4/11/11 3/12/12\n"
|
|
"f 8/13/13 5/14/14 1/15/15 4/16/16\n"
|
|
"f 9/17/17 10/18/18 6/19/19 5/20/20\n"
|
|
"f 10/21/21 11/22/22 7/23/23 6/24/24\n"
|
|
"f 11/25/25 12/26/26 8/27/27 7/28/28\n"
|
|
"f 12/29/29 9/30/30 5/31/31 8/32/32\n"
|
|
"f 13/33/33 14/34/34 10/35/35 9/36/36\n"
|
|
"f 14/37/37 15/38/38 11/39/39 10/40/40\n"
|
|
"f 15/41/41 16/42/42 12/43/43 11/44/44\n"
|
|
"f 16/45/45 13/46/46 9/47/47 12/48/48\n"
|
|
"f 17/49/49 18/50/50 14/51/51 13/52/52\n"
|
|
"f 18/53/53 19/54/54 15/55/55 14/56/56\n"
|
|
"f 19/57/57 20/58/58 16/59/59 15/60/60\n"
|
|
"f 20/61/61 17/62/62 13/63/63 16/64/64\n"
|
|
"f 21/65/65 22/66/66 18/67/67 17/68/68\n"
|
|
"f 22/69/69 23/70/70 19/71/71 18/72/72\n"
|
|
"f 23/73/73 24/74/74 20/75/75 19/76/76\n"
|
|
"f 24/77/77 21/78/78 17/79/79 20/80/80\n"
|
|
"f 25/81/81 26/82/82 22/83/83 21/84/84\n"
|
|
"f 26/85/85 27/86/86 23/87/87 22/88/88\n"
|
|
"f 27/89/89 28/90/90 24/91/91 23/92/92\n"
|
|
"f 28/93/93 25/94/94 21/95/95 24/96/96\n"
|
|
"f 29/97/97 30/98/98 26/99/99 25/100/100\n"
|
|
"f 30/101/101 31/102/102 27/103/103 26/104/104\n"
|
|
"f 31/105/105 32/106/106 28/107/107 27/108/108\n"
|
|
"f 32/109/109 29/110/110 25/111/111 28/112/112\n"
|
|
"f 1/113/113 2/114/114 30/115/115 29/116/116\n"
|
|
"f 2/117/117 3/118/118 31/119/119 30/120/120\n"
|
|
"f 3/121/121 4/122/122 32/123/123 31/124/124\n"
|
|
"f 4/125/125 1/126/126 29/127/127 32/128/128\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"
|
|
;
|