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 loop_icosahedron =
|
2012-06-08 18:18:20 +00:00
|
|
|
"# This file uses centimeters as units for non-parametric coordinates.\n"
|
|
|
|
"\n"
|
|
|
|
"v 0.850651 0.000000 -0.525731\n"
|
|
|
|
"v 0.850651 -0.000000 0.525731\n"
|
|
|
|
"v -0.850651 -0.000000 0.525731\n"
|
|
|
|
"v -0.850651 0.000000 -0.525731\n"
|
|
|
|
"v 0.000000 -0.525731 0.850651\n"
|
|
|
|
"v 0.000000 0.525731 0.850651\n"
|
|
|
|
"v 0.000000 0.525731 -0.850651\n"
|
|
|
|
"v 0.000000 -0.525731 -0.850651\n"
|
|
|
|
"v -0.525731 -0.850651 -0.000000\n"
|
|
|
|
"v 0.525731 -0.850651 -0.000000\n"
|
|
|
|
"v 0.525731 0.850651 0.000000\n"
|
|
|
|
"v -0.525731 0.850651 0.000000\n"
|
|
|
|
"vt 0.181818 0.250000\n"
|
|
|
|
"vt 0.363636 0.250000\n"
|
|
|
|
"vt 0.545455 0.250000\n"
|
|
|
|
"vt 0.727273 0.250000\n"
|
|
|
|
"vt 0.909091 0.250000\n"
|
|
|
|
"vt 0.090909 0.416667\n"
|
|
|
|
"vt 0.272727 0.416667\n"
|
|
|
|
"vt 0.454545 0.416667\n"
|
|
|
|
"vt 0.636364 0.416667\n"
|
|
|
|
"vt 0.818182 0.416667\n"
|
|
|
|
"vt 1.000000 0.416667\n"
|
|
|
|
"vt 0.000000 0.583333\n"
|
|
|
|
"vt 0.181818 0.583333\n"
|
|
|
|
"vt 0.363636 0.583333\n"
|
|
|
|
"vt 0.545455 0.583333\n"
|
|
|
|
"vt 0.727273 0.583333\n"
|
|
|
|
"vt 0.909091 0.583333\n"
|
|
|
|
"vt 0.090909 0.750000\n"
|
|
|
|
"vt 0.272727 0.750000\n"
|
|
|
|
"vt 0.454545 0.750000\n"
|
|
|
|
"vt 0.636364 0.750000\n"
|
|
|
|
"vt 0.818182 0.750000\n"
|
|
|
|
"vn 0.850651 -0.000000 0.525731\n"
|
|
|
|
"vn 0.525731 -0.850651 -0.000000\n"
|
|
|
|
"vn 0.850651 0.000000 -0.525731\n"
|
|
|
|
"vn 0.525731 0.850651 0.000000\n"
|
|
|
|
"vn -0.000000 -0.525731 -0.850651\n"
|
|
|
|
"vn 0.000000 0.525731 -0.850651\n"
|
|
|
|
"vn -0.000000 -0.525731 0.850651\n"
|
|
|
|
"vn -0.000000 0.525731 0.850651\n"
|
|
|
|
"vn -0.850651 0.000000 -0.525731\n"
|
|
|
|
"vn -0.525731 -0.850651 0.000000\n"
|
|
|
|
"vn -0.850651 0.000000 0.525731\n"
|
|
|
|
"vn -0.525731 0.850651 0.000000\n"
|
|
|
|
"f 2/17/1 10/22/2 1/16/3\n"
|
|
|
|
"f 1/16/3 11/10/4 2/17/1\n"
|
|
|
|
"f 1/16/3 8/15/5 7/9/6\n"
|
|
|
|
"f 1/16/3 7/9/6 11/10/4\n"
|
|
|
|
"f 1/16/3 10/21/2 8/15/5\n"
|
|
|
|
"f 5/13/7 2/12/1 6/6/8\n"
|
|
|
|
"f 10/18/2 2/12/1 5/13/7\n"
|
|
|
|
"f 2/17/1 11/10/4 6/11/8\n"
|
|
|
|
"f 4/8/9 9/14/10 3/7/11\n"
|
|
|
|
"f 3/7/11 12/2/12 4/8/9\n"
|
|
|
|
"f 5/13/7 6/6/8 3/7/11\n"
|
|
|
|
"f 3/7/11 9/14/10 5/13/7\n"
|
|
|
|
"f 6/6/8 12/1/12 3/7/11\n"
|
|
|
|
"f 7/9/6 8/15/5 4/8/9\n"
|
|
|
|
"f 4/8/9 12/3/12 7/9/6\n"
|
|
|
|
"f 4/8/9 8/15/5 9/14/10\n"
|
|
|
|
"f 5/13/7 9/14/10 10/19/2\n"
|
|
|
|
"f 6/11/8 11/10/4 12/5/12\n"
|
|
|
|
"f 7/9/6 12/4/12 11/10/4\n"
|
|
|
|
"f 8/15/5 10/20/2 9/14/10\n"
|
|
|
|
"t interpolateboundary 1/0/0 2\n"
|
|
|
|
"\n"
|
|
|
|
;
|