- Timestamp:
- 10/02/06 19:09:48 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Geom/shared/GTGeometry/src/GeoLodStripsConstructor.cpp
r1541 r1552 60 60 } 61 61 62 62 63 update = -1; 63 64 increment = (float)30.0 / increment; … … 148 149 149 150 150 /*151 cDatos.push_back(p0);152 cDatos.push_back(r);153 154 r = 0;155 k = long(cStripsT.size()-r-3);156 */151 152 //cDatos.push_back(p0); 153 //cDatos.push_back(r); 154 155 //r = 0; 156 //k = long(cStripsT.size()-r-3); 157 157 158 long auxp0, auxr; 158 159 //regLOD.strip= t; … … 669 670 upb(percent); 670 671 671 // 6 min.672 672 this->OrdenarModeloVQSLIM(upb); 673 673 … … 677 677 for(i = 0; i < this->TOTALTIRAS; i++) 678 678 { 679 t = long(this->cStrips[i].size()); 680 679 t = long(this->cStrips[i].size()); 681 680 if (t > max) 682 681 max = t; … … 879 878 880 879 num_vert = 0; 881 880 881 // load the strips list 882 882 for (i = 0; i < this->mGeoMesh->mSubMeshCount; i++) 883 883 { … … 891 891 Index *aux = this->mGeoMesh->mSubMesh[i].mStrip[j]; 892 892 893 / *893 // remove strip degenerates (first indices) except for the first (DEG!) 894 894 if (j != 0) 895 895 { 896 896 // La primera tira no empieza por índices repetidos. 897 aux = aux+1; 898 897 aux = aux+1; 899 898 indice_acum++; 900 899 } 901 */ 902 900 903 901 if (j+1 < this->mGeoMesh->mSubMesh[i].mStripCount) 904 902 { … … 915 913 } 916 914 917 //tira.pop_back(); 915 // DEG!: remove strip degenerates (last indices) except for the last strip 916 tira.pop_back(); 918 917 919 918 this->cStrips.push_back(tira);
Note: See TracChangeset
for help on using the changeset viewer.