mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-14 16:01:08 +00:00
05e9c48ea9
- changed Vtr::LocalIndex to 16-bit integer from 8-bit - added test shapes including valence 360 vertices - disabled new shapes in far/regression until improved accuracy accepted
61 lines
1.8 KiB
C++
61 lines
1.8 KiB
C++
//
|
|
// Copyright 2015 DreamWorks Animation LLC.
|
|
//
|
|
// 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_nonman_quadpole8 =
|
|
"v 0.614 0.7836 0.614\n"
|
|
"v 0.8684 0.7836 0\n"
|
|
"v 0.2895 1 0\n"
|
|
"v 0.2047 1 0.2047\n"
|
|
"v 1.357e-16 1 0\n"
|
|
"v 0.614 0.7836 -0.614\n"
|
|
"v 0.2047 1 -0.2047\n"
|
|
"v 1.11e-16 0.7836 -0.8684\n"
|
|
"v 5.551e-17 1 -0.2895\n"
|
|
"v -0.614 0.7836 -0.614\n"
|
|
"v -0.2047 1 -0.2047\n"
|
|
"v -0.8684 0.7836 -3.331e-16\n"
|
|
"v -0.2895 1 -8.327e-17\n"
|
|
"v -0.614 0.7836 0.614\n"
|
|
"v -0.2047 1 0.2047\n"
|
|
"v -3.886e-16 0.7836 0.8684\n"
|
|
"v -1.11e-16 1 0.2895\n"
|
|
"f 1 2 3 4 \n"
|
|
"f 4 3 5 5 \n"
|
|
"f 2 6 7 3 \n"
|
|
"f 3 7 5 5 \n"
|
|
"f 6 8 9 7 \n"
|
|
"f 7 9 5 5 \n"
|
|
"f 8 10 11 9 \n"
|
|
"f 9 11 5 5 \n"
|
|
"f 10 12 13 11 \n"
|
|
"f 11 13 5 5 \n"
|
|
"f 12 14 15 13 \n"
|
|
"f 13 15 5 5 \n"
|
|
"f 14 16 17 15 \n"
|
|
"f 15 17 5 5 \n"
|
|
"f 16 1 4 17 \n"
|
|
"f 17 4 5 5 \n"
|
|
"\n"
|
|
;
|