Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: OhSnapEpicPwnage

Search: Search took 0.01 seconds.

  1. Re: Having a problem with texture mapping

    I do have latest drivers and other opengl applications run fine.
    I herd of GLEW but i have no idea what i should do with it.

    EDIT: I have fixed it. It seems that my textures werent even loaded so...
  2. Having a problem with texture mapping

    Ever since i got a new computer which has nvidia gt 440 inside, im unable to do texture mapping the way i used to do.
    This project https://github.com/MrBagamen/Pickin--NIGGS used to compile and run...
  3. Replies
    0
    Views
    230

    Texture Mapping Fails

    This is the code: http://pastebin.com/xt4pg33g
    Whenever i try calling glTexImage2D, it doesnt run i just get message "Process returned 3 (0x3)"
    I've done Texture Mapping before and i never had...
  4. Re: SDL/OpenGL image doesnt display correctly :S

    Thanks man.
    Its working flawlessly now.
  5. SDL/OpenGL image doesnt display correctly :S

    This is my code here:

    #include <SDL/SDL.h>
    #include <gl/gl.h>
    #include <gl/glu.h>
    #include <gl/glaux.h>

    SDL_Surface *screen;
    SDL_Event event;
  6. Replies
    2
    Views
    1,160

    Re: SDL/OpenGL shape rotation problem!

    Thanks man!
    Only that

    glOrtho(0.0, 800.0, 600.0, 0.0, 1000.0, 1000.0);
    fails,but works if i do

    glOrtho(0.0, 800.0, 600.0, 0.0, 1000.0, -1000.0);
    then it works just fine.
  7. Replies
    2
    Views
    1,160

    SDL/OpenGL shape rotation problem!

    Why does this fail?
    Whenever angle is set to 0 shape is visible, but when its increased to 0.1 or higher then the shape dissappears :S.

    #include "SDL/SDL.h"
    #include <gl/gl.h>
    #include...
Results 1 to 7 of 7