Showing only posts tagged opengl. Show all posts.

Now using Ubuntu!

Af­ter get­ting the X-th virus on my com­put­er (with Win­dows XP Pro­fes­sion­al), I de­cid­ed to start us­ing Ubun­tu 11.04. I like it pret­ty much, al­though I’m still a bit ir­ri­tat­ed by …

back-face culling

I re­cent­ly found a tu­to­ri­al on back-face culling. It means telling OpenGL not to draw in­vis­i­ble faces (faces on the back side ;) ) of a mesh, which does speed up the ren­der­ing a lot.

I was look­ing for some­thing …

Mouselook and SDL - Code

Okay, here is some code for mouselook with SDL

struct {
              int x, y;
              //In this case: the position where the mouse is held at
              bool trap; //flag for holding mouse at one place
          } mouse;

          void MouseMotion(){
              /* Set x and y to the current mouse position */
              int x, y;
              SDL_GetMouseState(&x …

Mineshooter with SDL…

Al­most done with rewrit­ing Mi­neshoot­er to work with the Sim­ple Di­rect­Me­dia Lay­er Li­brary. Still have a few prob­lems with the mouselook, but I should be able to work out a so­lu­tion very soon.

SDL is quite sim …

Mineshooter with SDL?

I’m cur­rent­ly work­ing on learn­ing SDL and am al­so think­ing about mak­ing my Mi­neshoot­er Pro­jekt use SDL. Does any­body have ex­pe­ri­ence with pro­gram­ming SDL-Ap­pli­ca­tions and would ad­vice against us …

« newer articles | page 2 | older articles »