2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
// Copyright 2013 Pixar
|
2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
// 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:
|
2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
// 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.
|
2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
// You may obtain a copy of the Apache License at
|
2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
2013-07-18 21:19:50 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +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.
|
2012-06-08 18:18:20 +00:00
|
|
|
//
|
2013-09-26 19:04:57 +00:00
|
|
|
|
2013-03-19 21:41:49 +00:00
|
|
|
static const std::string catmark_tent_creases1 =
|
2012-06-08 18:18:20 +00:00
|
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
|
|
"\n"
|
|
|
|
"v 0.000000 -1.697056 0.000000\n"
|
|
|
|
"v 0.565686 -1.131370 0.000000\n"
|
|
|
|
"v 1.131371 -0.565686 0.800000\n"
|
|
|
|
"v 1.697056 0.000000 0.000000\n"
|
|
|
|
"v -0.565686 -1.131370 0.000000\n"
|
|
|
|
"v 0.000000 -0.565686 0.000000\n"
|
|
|
|
"v 0.565686 0.000000 0.800000\n"
|
|
|
|
"v 1.131370 0.565686 0.000000\n"
|
|
|
|
"v -1.131371 -0.565686 0.000000\n"
|
|
|
|
"v -0.565686 0.000000 0.000000\n"
|
|
|
|
"v 0.000000 0.565686 0.000000\n"
|
|
|
|
"v 0.565686 1.131371 0.000000\n"
|
|
|
|
"v -1.697056 0.000000 0.000000\n"
|
|
|
|
"v -1.131370 0.565686 0.000000\n"
|
|
|
|
"v -0.565686 1.131371 0.000000\n"
|
|
|
|
"v 0.000000 1.697056 0.000000\n"
|
|
|
|
"vt 0.000000 0.000000\n"
|
|
|
|
"vt 0.333333 0.000000\n"
|
|
|
|
"vt 0.333333 0.333333\n"
|
|
|
|
"vt 0.000000 0.333333\n"
|
|
|
|
"vt 0.666667 0.000000\n"
|
|
|
|
"vt 0.666667 0.333333\n"
|
|
|
|
"vt 1.000000 0.000000\n"
|
|
|
|
"vt 1.000000 0.333333\n"
|
|
|
|
"vt 0.333333 0.666667\n"
|
|
|
|
"vt 0.000000 0.666667\n"
|
|
|
|
"vt 0.666667 0.666667\n"
|
|
|
|
"vt 1.000000 0.666667\n"
|
|
|
|
"vt 0.333333 1.000000\n"
|
|
|
|
"vt 0.000000 1.000000\n"
|
|
|
|
"vt 0.666667 1.000000\n"
|
|
|
|
"vt 1.000000 1.000000\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.270598 -0.270598 0.923880\n"
|
|
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.270598 -0.270598 0.923880\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn 0.500000 0.500000 0.707107\n"
|
|
|
|
"vn 0.258819 0.557678 0.788675\n"
|
|
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.289735 -0.134467 0.947614\n"
|
|
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
|
|
"vn -0.183013 0.183013 0.965926\n"
|
|
|
|
"vn 0.258819 0.557678 0.788675\n"
|
|
|
|
"vn 0.000000 0.302905 0.953021\n"
|
|
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.149576 0.000000 0.988750\n"
|
|
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn -0.155051 0.155051 0.975663\n"
|
|
|
|
"vn 0.000000 0.302905 0.953021\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"vn 0.000000 0.000000 1.000000\n"
|
|
|
|
"f 1/1/1 2/2/2 6/3/3 5/4/4\n"
|
|
|
|
"f 2/2/5 3/5/6 7/6/7 6/3/8\n"
|
|
|
|
"f 3/5/9 4/7/10 8/8/11 7/6/12\n"
|
|
|
|
"f 5/4/13 6/3/14 10/9/15 9/10/16\n"
|
|
|
|
"f 6/3/17 7/6/18 11/11/19 10/9/20\n"
|
|
|
|
"f 7/6/21 8/8/22 12/12/23 11/11/24\n"
|
|
|
|
"f 9/10/25 10/9/26 14/13/27 13/14/28\n"
|
|
|
|
"f 10/9/29 11/11/30 15/15/31 14/13/32\n"
|
|
|
|
"f 11/11/33 12/12/34 16/16/35 15/15/36\n"
|
|
|
|
"t crease 2/1/0 2 6 2.0\n"
|
|
|
|
"t crease 2/1/0 6 10 2.0\n"
|
|
|
|
"t corner 1/1/0 6 3.0\n"
|
|
|
|
"t interpolateboundary 1/0/0 1\n"
|
|
|
|
"\n"
|
|
|
|
;
|