Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6939 in orxonox.OLD


Ignore:
Timestamp:
Feb 1, 2006, 2:54:01 PM (18 years ago)
Author:
bottac
Message:
 
Location:
branches/height_map_merge/src
Files:
4 edited

Legend:

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

    r6745 r6939  
    5656         // This Draws the LOD's
    5757                                                                //FIXME
    58     float cameraDistance = (State::getCamera()->getAbsCoor() - Vector(0.0,100.0,0.0)).len();
    59     if (cameraDistance > 10000 )
     58    float cameraDistance = (State::getCamera()->getAbsCoor() - Vector(this->x, hmref->offsetY , this->z) ).len();
     59        if(cameraDistance < 0) cameraDistance = -cameraDistance;
     60    if(cameraDistance > 5000 )
    6061    {
    61    
     62     return;
    6263    }
    63     else if (cameraDistance >= 50000 )
     64    else if (cameraDistance >= 1000 )
    6465    {
    6566      this->drawLowRes();
     
    9697        #define normalVectorField hm->normalVectorField
    9798       
     99        hmref = hm; // FIXME
     100       
     101        this->x = hm->offsetX + (heightMap->h - ((i1+i2)/2))*scaleX;
     102        this->z = hm->offsetZ + ((j1 + j2 )/2 ) * scaleZ;
     103       
    98104        int sampleRate = Res;
    99105       
     
    106112
    107113 
    108 PRINTF(0)("loadin * \n");
     114
    109115 
    110116 if(heightMap != NULL && heightMap->format->BitsPerPixel == 8 )
    111117       
    112118        SDL_LockSurface(heightMap);
    113 
     119        SDL_LockSurface(hm->colourMap);
     120       
    114121        for(int i = i1 ; i <= i2  ; i +=sampleRate)
    115122        {
     
    120127                 if(hm->hasColourMap)
    121128                 {
    122                  r = (float)colours[3*w+2 + 3*i*(heightMap->w )];
    123                  g = (float)colours[3*w+1 + 3*i*(heightMap->w)];
    124                  b = (float)colours[3*w+0 + 3*i*(heightMap->w)];
     129                 r = colours[(3*w+2 + 3*i*(heightMap->w )) ];
     130                 g = colours[(3*w+1 + 3*i*(heightMap->w)) ];
     131                 b = colours[(3*w+0 + 3*i*(heightMap->w))];
    125132                 }
    126133               
    127134                w = j1;
    128135                model->addVertex(scaleX*(heightMap->h -i)+ shiftX,shiftY,scaleZ*(w)+ shiftZ); // Top Right
    129                 model->addNormal(normalVectorField[i][w].y,normalVectorField[i][w].z,normalVectorField[i][w].x);
     136                model->addNormal(normalVectorField[i % heightMap->h][w % heightMap->w].y,normalVectorField[i % heightMap->h][w % heightMap->w].z,normalVectorField[i % heightMap->h][w % heightMap->w].x);
    130137                model->addTexCoor((float)(j1-sampleRate) /(texRate), (float)(i %heightMap->h)/(texRate));
    131                 PRINTF(0)("shiftX %f,shiftY %f,shiftZ %f\n", shiftX, shiftY ,shiftZ);
     138               
    132139                model->addColor(r/255.0,g/255.0,b/255.0);
    133140               
     
    135142            {
    136143           
     144           
     145                 // To be fixed
     146                 if(hm->hasColourMap)
     147                 {
     148                 r = colours[(3*j+2 + 3*i*(heightMap->w )) ];
     149                 g =  colours[(3*j+1 + 3*i*(heightMap->w)) ];
     150                 b =  colours[(3*j+0 + 3*i*(heightMap->w))];
     151                 }
     152                height = (float)(unsigned char) hm->heights[(j +sampleRate+ i*(heightMap->w )) ];
     153                height += (float)(unsigned char) hm->heights[(j+ 1 + sampleRate + (i+1)*(heightMap->w )) ];
     154                height +=  (float) (unsigned char) hm->heights[(j -1+ sampleRate   + (i+1)*(heightMap->w ))];
     155                height +=  (float)(unsigned char)hm->heights[(j +sampleRate+ (i+2)*(heightMap->w )) ];
     156                height +=  (float)(unsigned char)hm->heights[(j+sampleRate + (i)*(heightMap->w )) ];
     157                height=height/5.0;
     158               
     159                model->addVertex(scaleX*(heightMap->h -i) + shiftX ,((double)(height)*scaleY) + shiftY ,scaleZ*(j) + shiftZ); // Top Right     
     160                model->addNormal(normalVectorField[i % heightMap->h][j % heightMap->w].y,normalVectorField[i % heightMap->h][j % heightMap->w].z,normalVectorField[i % heightMap->h][j % heightMap->w].x);
     161                model->addTexCoor((float)(j) /(texRate), (float)(i %heightMap->h)/(texRate));
     162               
     163                //PRINTF(0)("TexCoord:  %f %f \n",(float)j / 100.0, (float)(i %heightMap->h)/100.0);
     164               
     165                model->addColor(r/255.0,g/255.0,b/255.0);
     166                w = j;
     167            }
     168               
     169               
     170                model->addVertex(scaleX*(heightMap->h -i)+ shiftX,shiftY,scaleZ*(w)+ shiftZ); // Top Right
     171                model->addNormal(normalVectorField[i % heightMap->h][w % heightMap->w].y,normalVectorField[i % heightMap->h][w % heightMap->w].z,normalVectorField[i% heightMap->h][w % heightMap->w].x);
     172                model->addTexCoor((float)(j2+sampleRate) /(texRate), (float)(i %heightMap->h)/(texRate));
     173                model->addColor(r/255.0,g/255.0,b/255.0);
     174               
     175        }
     176       
     177       
     178       
     179
     180
     181        SDL_UnlockSurface(heightMap);
     182        int cnt = 0;
     183        for(int i = i1   ; i < i2  ; i +=sampleRate)
     184        {
     185               
     186            for(int j = j1-sampleRate  ; j < j2  + 2*sampleRate  ;  j += sampleRate)
     187            {
     188               
     189                model->addIndice(cnt);
     190                model->addIndice(cnt  + (j2 -j1 + 3* sampleRate  )/ sampleRate );
     191                cnt++;
     192               
     193            }
     194               
     195               
     196               
     197                 model->newStripe();   
     198               
     199               
     200        }
     201         cnt += (j2 -j1 + 3* sampleRate)/ sampleRate;
     202       
     203                for(int j = j1 ; j <= j2    ;  j += sampleRate)
     204            {
     205                int i = i1;
     206           
     207                 // To be fixed
     208                 if(hm->hasColourMap)
     209                 {
     210                 r = (float)colours[(3*j+2 + 3*i*(heightMap->w )) ];
     211                 g = (float)colours[(3*j+1 + 3*i*(heightMap->w)) ];
     212                 b = (float)colours[(3*j+0 + 3*i*(heightMap->w))];
     213                 }
     214               
     215                model->addVertex(scaleX*(heightMap->h -i) + shiftX , shiftY ,scaleZ*(j) + shiftZ); // Top Right
     216                model->addNormal(normalVectorField[i % heightMap->h][j % heightMap->w].y,normalVectorField[i % heightMap->h][j % heightMap->w].z,normalVectorField[i % heightMap->h][j % heightMap->w].x);
     217                model->addTexCoor((float)j /(texRate), (float)((i - sampleRate) %heightMap->h)/(texRate));
     218                model->addColor(r/255.0,g/255.0,b/255.0);               
     219       
     220            }
     221
     222                for(int j = j1  ; j <= j2    ;  j += sampleRate)
     223            {
     224                int i = i1;
     225                height = (float)(unsigned char) hm->heights[(j +sampleRate+ i*(heightMap->w )) ];
     226                height += (float)(unsigned char) hm->heights[(j+ 1 + sampleRate + (i+1)*(heightMap->w )) ];
     227                height +=  (float) (unsigned char) hm->heights[(j -1+ sampleRate   + (i+1)*(heightMap->w ))];
     228                height +=  (float)(unsigned char)hm->heights[(j +sampleRate+ (i+2)*(heightMap->w )) ];
     229                height +=  (float)(unsigned char)hm->heights[(j+sampleRate + (i)*(heightMap->w )) ];
     230                height=height/5.0;
     231               
     232                model->addVertex(scaleX*(heightMap->h -i) + shiftX , ((double)(height)*scaleY) +shiftY ,scaleZ*(j) + shiftZ); // Top Right     
     233                model->addNormal(normalVectorField[i % heightMap->h][j % heightMap->w].y,normalVectorField[i % heightMap->h][j% heightMap->w].z,normalVectorField[i%heightMap->h][j%heightMap->w].x);
     234                model->addTexCoor((float)j /(texRate), (float)(i %heightMap->h)/(texRate));
     235                model->addColor(r/255.0,g/255.0,b/255.0);
     236           
     237            }
     238           
     239               
     240           
     241            for(int j = j1  ; j <= j2    ;  j += sampleRate)
     242            {
     243                int i = i2;
    137244           
    138245                 // To be fixed
     
    143250                 b = (float)colours[3*j+0 + 3*i*(heightMap->w)];
    144251                 }
    145                 height = (float)(unsigned char) hm->heights[j +sampleRate+ i*(heightMap->w )];
    146                 height += (float)(unsigned char) hm->heights[j+ 1 + sampleRate + (i+1)*(heightMap->w )];
    147                 height +=  (float) (unsigned char) hm->heights[j -1+ sampleRate   + (i+1)*(heightMap->w )];
    148                 height +=  (float)(unsigned char)hm->heights[j +sampleRate+ (i+2)*(heightMap->w )];
    149                 height +=  (float)(unsigned char)hm->heights[j+sampleRate + (i)*(heightMap->w )];
    150                 height=height/5.0;
    151                
    152                 model->addVertex(scaleX*(heightMap->h -i) + shiftX ,((double)(height)*scaleY) + shiftY ,scaleZ*(j) + shiftZ); // Top Right     
    153                 model->addNormal(normalVectorField[i][j].y,normalVectorField[i][j].z,normalVectorField[i][j].x);
    154                 model->addTexCoor((float)(j) /(texRate), (float)(i %heightMap->h)/(texRate));
    155                
    156                 //PRINTF(0)("TexCoord:  %f %f \n",(float)j / 100.0, (float)(i %heightMap->h)/100.0);
    157                
    158                 model->addColor(r/255.0,g/255.0,b/255.0);
    159                 w = j;
    160             }
    161                
    162                
    163                 model->addVertex(scaleX*(heightMap->h -i)+ shiftX,shiftY,scaleZ*(w)+ shiftZ); // Top Right
    164                 model->addNormal(normalVectorField[i][w].y,normalVectorField[i][w].z,normalVectorField[i][w].x);
    165                 model->addTexCoor((float)(j2+sampleRate) /(texRate), (float)(i %heightMap->h)/(texRate));
    166                 model->addColor(r/255.0,g/255.0,b/255.0);
    167                
    168         }
    169        
    170        
    171        
    172 
    173 
    174         SDL_UnlockSurface(heightMap);
    175         int cnt = 0;
    176         for(int i = i1   ; i < i2  ; i +=sampleRate)
    177         {
    178                
    179             for(int j = j1-sampleRate  ; j < j2  + 2*sampleRate  ;  j += sampleRate)
    180             {
    181                
    182                 model->addIndice(cnt);
    183                 model->addIndice(cnt  + (j2 -j1 + 3* sampleRate  )/ sampleRate );
    184                 cnt++;
    185                
    186             }
    187                
    188                
    189                
    190                  model->newStripe();   
    191                
    192                
    193         }
    194          cnt += (j2 -j1 + 3* sampleRate)/ sampleRate;
    195        
    196                 for(int j = j1 ; j <= j2    ;  j += sampleRate)
    197             {
    198                 int i = i1;
    199            
    200                  // To be fixed
    201                  if(hm->hasColourMap)
    202                  {
    203                  r = (float)colours[3*j+2 + 3*i*(heightMap->w )];
    204                  g = (float)colours[3*j+1 + 3*i*(heightMap->w)];
    205                  b = (float)colours[3*j+0 + 3*i*(heightMap->w)];
    206                  }
    207252               
    208253                model->addVertex(scaleX*(heightMap->h -i) + shiftX , shiftY ,scaleZ*(j) + shiftZ); // Top Right
    209                 model->addNormal(normalVectorField[i][j].y,normalVectorField[i][j].z,normalVectorField[i][j].x);
    210                 model->addTexCoor((float)j /(texRate), (float)((i - sampleRate) %heightMap->h)/(texRate));
    211                 model->addColor(r/255.0,g/255.0,b/255.0);               
    212        
    213             }
    214 
    215                 for(int j = j1  ; j <= j2    ;  j += sampleRate)
    216             {
    217                 int i = i1;
    218                 height = (float)(unsigned char) hm->heights[j +sampleRate+ i*(heightMap->w )];
    219                 height += (float)(unsigned char) hm->heights[j+ 1 + sampleRate + (i+1)*(heightMap->w )];
    220                 height +=  (float) (unsigned char) hm->heights[j -1+ sampleRate   + (i+1)*(heightMap->w )];
    221                 height +=  (float)(unsigned char)hm->heights[j +sampleRate+ (i+2)*(heightMap->w )];
    222                 height +=  (float)(unsigned char)hm->heights[j+sampleRate + (i)*(heightMap->w )];
    223                 height=height/5.0;
    224                
    225                 model->addVertex(scaleX*(heightMap->h -i) + shiftX , ((double)(height)*scaleY) +shiftY ,scaleZ*(j) + shiftZ); // Top Right     
    226                 model->addNormal(normalVectorField[i][j].y,normalVectorField[i][j].z,normalVectorField[i][j].x);
    227                 model->addTexCoor((float)j /(texRate), (float)(i %heightMap->h)/(texRate));
    228                 model->addColor(r/255.0,g/255.0,b/255.0);
    229            
    230             }
    231            
    232                
    233            
    234             for(int j = j1  ; j <= j2    ;  j += sampleRate)
    235             {
    236                 int i = i2;
    237            
    238                  // To be fixed
    239                  if(hm->hasColourMap)
    240                  {
    241                  r = (float)colours[3*j+2 + 3*i*(heightMap->w )];
    242                  g = (float)colours[3*j+1 + 3*i*(heightMap->w)];
    243                  b = (float)colours[3*j+0 + 3*i*(heightMap->w)];
    244                  }
    245                
    246                 model->addVertex(scaleX*(heightMap->h -i) + shiftX , shiftY ,scaleZ*(j) + shiftZ); // Top Right
    247                 model->addNormal(normalVectorField[i][j].y,normalVectorField[i][j].z,normalVectorField[i][j].x);
     254                model->addNormal(normalVectorField[i%heightMap->h][j%heightMap->w].y,normalVectorField[i%heightMap->h][j%heightMap->w].z,normalVectorField[i%heightMap->h][j%heightMap->w].x);
    248255                model->addTexCoor((float)j /(texRate), (float)((i+ sampleRate) %heightMap->h)/(texRate));
    249256                model->addColor(r/255.0,g/255.0,b/255.0);               
     
    255262            {
    256263                int i = i2;
    257                 height = (float)(unsigned char) hm->heights[j +sampleRate+ i*(heightMap->w )];
    258                 height += (float)(unsigned char) hm->heights[j+ 1 + sampleRate + (i+1)*(heightMap->w )];
    259                 height +=  (float) (unsigned char) hm->heights[j -1+ sampleRate   + (i+1)*(heightMap->w )];
    260                 height +=  (float)(unsigned char)hm->heights[j +sampleRate+ (i+2)*(heightMap->w )];
    261                 height +=  (float)(unsigned char)hm->heights[j+sampleRate + (i)*(heightMap->w )];
     264                height = (float)(unsigned char) hm->heights[(j +sampleRate+ i*(heightMap->w )) ];
     265                height += (float)(unsigned char) hm->heights[(j+ 1 + sampleRate + (i+1)*(heightMap->w )) ];
     266                height +=  (float) (unsigned char) hm->heights[(j -1+ sampleRate   + (i+1)*(heightMap->w ))];
     267                height +=  (float)(unsigned char)hm->heights[(j +sampleRate+ (i+2)*(heightMap->w ))];
     268                height +=  (float)(unsigned char)hm->heights[(j+sampleRate + (i)*(heightMap->w )) ];
    262269                height=height/5.0;
    263270                model->addVertex(scaleX*(heightMap->h -i) + shiftX , ((double)(height)*scaleY) +shiftY ,scaleZ*(j) + shiftZ); // Top Right     
    264                 model->addNormal(normalVectorField[i][j].y,normalVectorField[i][j].z,normalVectorField[i][j].x);
     271                model->addNormal(normalVectorField[i%heightMap->h][j%heightMap->w].y,normalVectorField[i%heightMap->h][j%heightMap->w].z,normalVectorField[i%heightMap->h][j%heightMap->w].x);
    265272                model->addTexCoor((float)j /(texRate), (float)(i %heightMap->h)/(texRate));
    266273                model->addColor(r/255.0,g/255.0,b/255.0);
     
    302309         
    303310           
     311            SDL_UnlockSurface(hm->colourMap);
    304312       
    305313         model->finalize();
     
    416424{
    417425        delete heightMap;
     426        delete colourMap;
     427       
     428
     429        for(int i=0;i <    heightMap->h/tileSize ; i++)
     430        {
     431        for(int j = 0; j < heightMap->w/ tileSize; j++)
     432        {
     433         delete tiles [i][j];
     434        }
     435        }
     436        for(int i=0;i <    heightMap->h/tileSize ; i++)
     437          delete[] tiles[i];
     438        delete[] tiles;
     439       
     440       
    418441}
    419442
     
    427450
    428451//SetUp Arrays
    429 for(int i = 0; i < (heightMap->h - tileSize )/ tileSize; i ++)
    430 {
    431         for(int j = 0; j < (heightMap->w - tileSize )/ tileSize; j ++)
     452for(int i = 0; i < (heightMap->h )/ tileSize; i ++)
     453{
     454        for(int j = 0; j < (heightMap->w )/ tileSize; j ++)
    432455        {
    433456         
     
    444467Vector v = camera->getAbsCoor();
    445468
    446 int i_min = 1;
    447 int i_max = (heightMap->h - tileSize )/ tileSize;
    448 int j_min = 1;
    449 int j_max= (heightMap->w - tileSize) / tileSize;
    450 
    451 
    452 
    453 for(int i = 1; i <  i_max        ; i ++)
    454 {
    455         for(int j = 1; j < j_max ; j++)
     469int i_min = 0;
     470int i_max = (heightMap->h )/ tileSize;
     471int j_min = 0;
     472int j_max= (heightMap->w  ) / tileSize;
     473
     474
     475
     476for(int i = 0; i <  i_max        ; i ++)
     477{
     478        for(int j = 0; j < j_max ; j++)
    456479        {
    457480         tiles[i][j]->draw();
     
    472495
    473496
     497
     498// Initialize
     499for(int i=0; i< heightMap->h; i++)
     500{
     501        for(int j = 0; j> heightMap->w; j++)
     502        {
     503        Vector v = Vector(0.0, 1.0, 0.0);
     504         normalVectorField[i][j] = v;
     505        }
     506}
     507
    474508// !!! Does not yet calculate the normals of some border points!!!!!
    475509
     
    499533}
    500534
     535       
     536
     537
    501538}
    502539
     
    522559
    523560 x -= offsetX;
    524  y -= offsetZ;
     561 y -= offsetZ; 
    525562 
    526563 
     
    528565 int yInt = (int)y / scaleZ;    y -= (float) ((int) y); /*yInt = heightMap->w - yInt;*/
    529566 
    530  PRINTF(0)("xInt: %i, yInt: %i, x: %f, y: %f\n", xInt, yInt, x, y);
     567 //PRINTF(0)("xInt: %i, yInt: %i, x: %f, y: %f\n", xInt, yInt, x, y);
    531568 
    532569 if(xInt <= 0 || xInt >= heightMap->h || yInt <= 0 || yInt >= heightMap->w  ) return 0;
    533  
     570 if( y >= 0.5*x)
     571 {
     572        // Check for ...
     573 }
     574
    534575 float height = heights[yInt + (xInt)*heightMap->w]*scaleY;
    535576 
     
    543584   PRINTF(0)("c: %f \n" ,c);
    544585 
    545  height += ( (a/c)*(x) + (b/c)*(y));
     586 height -= ( (a/c)*(x) + (b/c)*(y));
    546587 
    547588 PRINTF(0)("height: %f \n" ,height );
  • branches/height_map_merge/src/lib/graphics/importer/height_map.h

    r6745 r6939  
    3838Tile(int i1, int j1, int i2, int j2, HeightMap* hm ) ;
    3939Tile();
     40float x;
     41float z;
    4042~Tile();
    4143
     
    4345
    4446private:
     47HeightMap* hmref;
    4548VertexArrayModel* highResModel;
    4649VertexArrayModel* lowResModel;
  • branches/height_map_merge/src/lib/graphics/importer/vertex_array_model.cc

    r6603 r6939  
    139139  glColorMaterial ( GL_FRONT_AND_BACK, GL_EMISSION ) ;
    140140  glEnable (GL_COLOR_MATERIAL) ;
     141 
     142
    141143
    142144
  • branches/height_map_merge/src/world_entities/terrain.cc

    r6745 r6939  
    4949   heightMapMaterial->setIllum(0.2);
    5050
    51    heightMapMaterial->setDiffuse(1.0,1.0,1.0);
    52    heightMapMaterial->setAmbient(1.0,1.0,1.0 );
    53    heightMapMaterial->setSpecular(1.0,1.0,1.0);
     51   heightMapMaterial->setDiffuse(0.4,0.4,0.4);
     52   heightMapMaterial->setAmbient(0.4,0.4,0.4 );
     53   heightMapMaterial->setSpecular(0.4,0.4,0.4);
    5454   heightMapMaterial->setShininess(.5);
    5555   heightMapMaterial->setTransparency(1.0);
     
    112112    ResourceManager::getInstance()->unload(this->vegetation);
    113113  }
     114 
     115  if(this->heightMap)
     116        delete heightMap;
    114117}
    115118
     
    156159
    157160  this->heightMap = new HeightMap(hmName, hmColorName);
    158   heightMap->scale(Vector(23.0f,1.1f,23.0f));
     161  heightMap->scale(Vector(43.0f,4.7f,43.0f));
    159162  heightMap->setAbsCoor(this->getAbsCoor());
    160163  heightMap->load();
     
    171174
    172175delete this->heightMapMaterial;
    173 /*   
     176
    174177   this->heightMapMaterial = new Material();
    175178   heightMapMaterial->setTransparency(1.0);
     
    191194   heightMapMaterial->setSpecularMap(textureName);     
    192195 
    193 */
     196
    194197
    195198}
     
    258261glLoadIdentity();
    259262 Vector camera =   State::getCamera()->getAbsCoor(); // Go on here ..........!!!
     263   
     264    /*
    260265    float height =    heightMap->getHeight(camera.x, camera.z);
    261266   
     267 
    262268  glEnable (GL_COLOR_MATERIAL) ;
    263269    glBegin(GL_QUADS);            // Draw The Cube Using quads
    264270    glColor3f(0.0f,1.0f,0.0f);  // Color Blue
    265     glVertex3f(camera.x + 63.0f,heightMap->getHeight(camera.x+63.0f, camera.z-10.0f)+13.0f,camera.z-10.0f);      // Top Right Of The Quad (Top)
    266     glVertex3f(camera.x-63.0f, heightMap->getHeight(camera.x+63.0f, camera.z-10.0f)+13.0f,camera.z-10.0f);      // Top Left Of The Quad (Top)
    267     glVertex3f(camera.x-63.0f, heightMap->getHeight(camera.x+63.0f, camera.z+10.0f)+13.0f, camera.z+10.0f);      // Bottom Left Of The Quad (Top)
    268     glVertex3f(camera.x+ 63.0f, heightMap->getHeight(camera.x+63.0f, camera.z+10.0f)+13.0f, camera.z+10.0f);      // Bottom Right Of The Quad (Top)
     271    glVertex3f(camera.x + 63.0f,Terrain->getHeight(camera.x+63.0f, camera.z-10.0f)+13.0f,camera.z-10.0f);      // Top Right Of The Quad (Top)
     272    glVertex3f(camera.x-63.0f, getHeight(camera.x+63.0f, camera.z-10.0f)+13.0f,camera.z-10.0f);      // Top Left Of The Quad (Top)
     273    glVertex3f(camera.x-63.0f, getHeight(camera.x+63.0f, camera.z+10.0f)+13.0f, camera.z+10.0f);      // Bottom Left Of The Quad (Top)
     274    glVertex3f(camera.x+ 63.0f, getHeight(camera.x+63.0f, camera.z+10.0f)+13.0f, camera.z+10.0f);      // Bottom Right Of The Quad (Top)
    269275   glEnd();                      // End Drawing The Plan
    270    
     276   */
    271277   
    272278glPopMatrix();
Note: See TracChangeset for help on using the changeset viewer.