Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6099 in orxonox.OLD for branches/height_map/src/lib


Ignore:
Timestamp:
Dec 14, 2005, 1:24:02 PM (19 years ago)
Author:
bottac
Message:

heightMap sync changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/height_map/src/lib/graphics/importer/height_map.cc

    r5993 r6099  
    8282                                       
    8383                               
    84                 this->addVertex( 12*(heightMap->h - i) , (( (double)height)/4)-200  ,12 *j);
     84                this->addVertex( 20*(heightMap->h - i) , (( (double)height)/0.3)-1200  ,20*j);
    8585             } 
    8686        }
     
    9797                /* Two Triangles or ...*/
    9898               
    99                 this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j+1+i*c , j + i*c );
    100                 this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j + (i+1)*c +1 ,j+i*c +1 );                           
     99                //this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j+1+i*c , j + i*c );
     100                //this->addFace (3, VERTEX_ONLY,j + (i+1)*c,j + (i+1)*c +1 ,j+i*c +1 );                         
    101101                                 
    102102                /* ... one square*/
    103103
    104                 //this->addFace (4 ,VERTEX_ONLY,j+i*c,j+(i+1)*c  ,j + (i+1)*c +1, j +i*c+1 );
     104                this->addFace (4 ,VERTEX_ONLY,j+i*c,j+(i+1)*c  ,j + (i+1)*c +1, j +i*c+1 );
    105105            }
    106106                               
Note: See TracChangeset for help on using the changeset viewer.