Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4008 in orxonox.OLD for orxonox/branches/shadows/src/orxonox.cc


Ignore:
Timestamp:
Apr 29, 2005, 11:10:15 AM (20 years ago)
Author:
dave
Message:

branches/shadows/src:Aufruf von createShadow() jetzt von einem anderen Ort, aber immer noch Problem dass Schatten noch nicht sichtbar, jedoch vorhanden

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/shadows/src/orxonox.cc

    r3839 r4008  
    133133
    134134  int bpp = 16;
    135   int width = 1024;
    136   int height = 768;
     135  int width = 400;
     136  int height = 300;
    137137  //Uint32 flags = SDL_HWSURFACE | SDL_OPENGL | SDL_GL_DOUBLEBUFFER; /* \todo: SDL_OPENGL doen't permit to load images*/
    138138  //Uint32 flags = SDL_HWSURFACE | SDL_GL_DOUBLEBUFFER;
     
    185185  glEnable (GL_LIGHTING);
    186186  glEnable (GL_LIGHT0);
    187   glEnable (GL_LIGHT1);
     187  //glEnable (GL_LIGHT1);
    188188  glEnable (GL_DEPTH_TEST);
    189189  glLightfv (GL_LIGHT0, GL_POSITION, lightPosition);
Note: See TracChangeset for help on using the changeset viewer.