Lines Matching refs:smooth
1589 Fill 'smooth' with a smoothed version of the array by subdividing each patch into smaller patches.
1591 void SPMeshNodeArray::bicubic( SPMeshNodeArray* smooth, SPMeshType type ) {
1594 *smooth = *this; // Deep copy via copy assignment constructor, smooth cleared before copy
1595 // std::cout << "SPMeshNodeArray::smooth2(): " << this->patch_rows() << " " << smooth->patch_columns() << std::endl;
1596 // std::cout << " " << smooth << " " << this << std::endl;
1602 d.resize( smooth->patch_rows() + 1 );
1604 d[i].resize( smooth->patch_columns() + 1 );
1697 for( int i = smooth->patch_rows() - 1; i >= 0; --i ) {
1698 smooth->split_row( i, unsigned(8) );
1703 for( int i = smooth->patch_columns() - 1; i >= 0; --i ) {
1704 smooth->split_column( i, (unsigned)8 );
1759 smooth->nodes[ (i*8+k)*3 ][(j*8+l)*3 ]->color.set( r[0][k][l], r[1][k][l], r[2][k][l] );
2068 Atempts to smooth color transitions across corners.
2096 bool smooth = false;
2106 smooth = true;
2116 smooth = true;
2120 if( smooth ) {
2183 std::cout << " Can't smooth left side" << std::endl;
2187 std::cout << " Can't smooth right side" << std::endl;