mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-11 11:50:04 +00:00
104 lines
2.9 KiB
C++
104 lines
2.9 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_fvar_bound2 =
|
|
"# 4x4 grid of quads - 25 vertices:\n"
|
|
"v 0.00 0.00 0.00\n"
|
|
"v 0.25 0.00 0.00\n"
|
|
"v 0.50 0.00 0.00\n"
|
|
"v 0.75 0.00 0.00\n"
|
|
"v 1.00 0.00 0.00\n"
|
|
"v 0.00 0.25 0.00\n"
|
|
"v 0.25 0.25 0.20\n"
|
|
"v 0.50 0.25 0.20\n"
|
|
"v 0.75 0.25 0.20\n"
|
|
"v 1.00 0.25 0.00\n"
|
|
"v 0.00 0.50 0.00\n"
|
|
"v 0.25 0.50 0.20\n"
|
|
"v 0.50 0.50 0.30\n"
|
|
"v 0.75 0.50 0.20\n"
|
|
"v 1.00 0.50 0.00\n"
|
|
"v 0.00 0.75 0.00\n"
|
|
"v 0.25 0.75 0.20\n"
|
|
"v 0.50 0.75 0.20\n"
|
|
"v 0.75 0.75 0.20\n"
|
|
"v 1.00 0.75 0.00\n"
|
|
"v 0.00 1.00 0.00\n"
|
|
"v 0.25 1.00 0.00\n"
|
|
"v 0.50 1.00 0.00\n"
|
|
"v 0.75 1.00 0.00\n"
|
|
"v 1.00 1.00 0.00\n"
|
|
"vt 0.00 0.00 0.00\n"
|
|
"vt 0.25 0.00 0.00\n"
|
|
"vt 0.50 0.00 0.00\n"
|
|
"vt 0.75 0.00 0.00\n"
|
|
"vt 1.00 0.00 0.00\n"
|
|
"vt 0.00 0.25 0.00\n"
|
|
"vt 0.25 0.10 0.00\n"
|
|
"vt 0.50 0.25 0.00\n"
|
|
"vt 0.75 0.10 0.00\n"
|
|
"vt 1.00 0.25 0.00\n"
|
|
"vt 0.00 0.50 0.00\n"
|
|
"vt 0.25 0.25 0.00\n"
|
|
"vt 0.50 0.50 0.00\n"
|
|
"vt 0.75 0.25 0.00\n"
|
|
"vt 1.00 0.50 0.00\n"
|
|
"vt 0.00 0.75 0.00\n"
|
|
"vt 0.25 0.50 0.00\n"
|
|
"vt 0.50 0.75 0.00\n"
|
|
"vt 0.75 0.50 0.00\n"
|
|
"vt 1.00 0.75 0.00\n"
|
|
"vt 0.00 0.90 0.00\n"
|
|
"vt 0.25 0.75 0.00\n"
|
|
"vt 0.50 0.90 0.00\n"
|
|
"vt 0.75 0.75 0.00\n"
|
|
"vt 1.00 0.90 0.00\n"
|
|
"vt 0.00 1.00 0.00\n"
|
|
"vt 0.25 1.00 0.00\n"
|
|
"vt 0.50 1.00 0.00\n"
|
|
"vt 0.75 1.00 0.00\n"
|
|
"vt 1.00 1.00 0.00\n"
|
|
"f 1/1 2/2 7/7 6/6\n"
|
|
"f 2/2 3/3 8/8 7/7\n"
|
|
"f 3/3 4/4 9/9 8/8\n"
|
|
"f 4/4 5/5 10/10 9/9\n"
|
|
"f 6/6 7/7 12/12 11/11\n"
|
|
"f 7/7 8/8 13/13 12/12\n"
|
|
"f 8/8 9/9 14/14 13/13\n"
|
|
"f 9/9 10/10 15/15 14/14\n"
|
|
"f 11/16 12/17 17/22 16/21\n"
|
|
"f 12/17 13/18 18/23 17/22\n"
|
|
"f 13/18 14/19 19/24 18/23\n"
|
|
"f 14/19 15/20 20/25 19/24\n"
|
|
"f 16/21 17/22 22/27 21/26\n"
|
|
"f 17/22 18/23 23/28 22/27\n"
|
|
"f 18/23 19/24 24/29 23/28\n"
|
|
"f 19/24 20/25 25/30 24/29\n"
|
|
"t corner 1/1/0 10 0.9\n"
|
|
"t corner 1/1/0 11 0.9\n"
|
|
"t corner 1/1/0 12 2.1\n"
|
|
"t corner 1/1/0 13 0.1\n"
|
|
"t corner 1/1/0 14 0.1\n"
|
|
;
|