// // Copyright 2014 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_chaikin2 = "v 1 0 -1\n" "v 1 1 0\n" "v 1 0 1\n" "v 1 -1 0\n" "v 0.5 0 -1\n" "v 0.5 1 0\n" "v 0.5 0 1\n" "v 0.5 -1 0\n" "v 0 0 -1\n" "v 0 1 0\n" "v 0 0 1\n" "v 0 -1 0\n" "v -0.5 0 -1\n" "v -0.5 1 0\n" "v -0.5 0 1\n" "v -0.5 -1 0\n" "v -1 0 -1\n" "v -1 1 0\n" "v -1 0 1\n" "v -1 -1 0\n" "\n" "f 5 6 2 1 \n" "f 6 7 3 2 \n" "f 7 8 4 3 \n" "f 8 5 1 4 \n" "f 9 10 6 5 \n" "f 10 11 7 6 \n" "f 11 12 8 7 \n" "f 12 9 5 8 \n" "f 13 14 10 9 \n" "f 14 15 11 10 \n" "f 15 16 12 11 \n" "f 16 13 9 12 \n" "f 17 18 14 13 \n" "f 18 19 15 14 \n" "f 19 20 16 15 \n" "f 20 17 13 16 \n" "\n" "t crease 2/1/0 2 6 0.5\n" "t crease 2/1/0 6 10 1.5\n" "t crease 2/1/0 10 14 2.5\n" "t crease 2/1/0 14 18 3.5\n" "t creasemethod 0/0/1 chaikin\n" "\n" ;