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: scriptlord

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    15,204

    Re: How to load JPEG file for OpenGL

    SDL is the easiest way to load up a jpeg, using SDL_image, because you can just say
    SDL_Surface *img;
    img=IMG_Load("something.jpg");
    there is an sdl/linux tutorial on nehe.com if you like sdl get...
  2. Replies
    13
    Views
    975

    Re: DirectX for Linux

    The best way to get communicate directly to X is through x86 Assembly
  3. Replies
    3
    Views
    275

    texture mapping

    I used the SDL/linux tutorial on nehe for texture mapping, unfortunately, the program compiled successfully but the texture didn't load. Does anyone else have the same problem, and if so how do I get...
  4. Replies
    4
    Views
    391

    Re: Glut in Linux

    You can cd /usr/include and make sure that all your opengl headers are in /usr/include/GL, and if they are not you can copy them like cp glut.h /usr/include/GL/glut.h, or something like that, you...
  5. Replies
    1
    Views
    162

    texture mapping

    My opengl book uses windows specific functions to load an image file, and map it to an object, How would I do this in linux, please send me a simple source using GLUT, or SDL
  6. Replies
    5
    Views
    303

    Re: compiling opengl and glut

    I compile all of my glut programs like this
    g++ something.c -o something -lGL -lGLU -lglut -lm
  7. Thread: Glut dll

    by scriptlord
    Replies
    2
    Views
    119

    Glut dll

    I have windows 2000, and the glut toolkit. My dll won't work is their a specific version I need.
  8. Replies
    16
    Views
    1,379

    Re: SDL(Simple Direct Media Layer)

    Well as for accessing such things as hardware with direct input, opengl allows you to access the key board, mouse, and a joystick, and opengl was around before directx, so it is possible for SDL to...
  9. Replies
    16
    Views
    1,379

    Re: SDL(Simple Direct Media Layer)

    I use linux at home, and linux at school, consequently I have programmed on both systems, and on windows SDL may use some directx, but there is no directx at all on linux. Over all SDL is not just an...
  10. Replies
    16
    Views
    1,379

    SDL(Simple Direct Media Layer)

    I bought the book "Programming linux game" and it was good. I would like to learn more SDL, what is a good book on SDL. Also I hear in the next few years SDL may surpass directx, because of it's...
  11. Replies
    7
    Views
    267

    Re: 3D Space Environment

    Thanx those to those of you willing to post useful messages. I think I have an idea as to how to do it now.
  12. Re: Problem - Event Handling for an OpenGL window - and MFC/Win32 App

    This is how I create a good opengl window.
    Full screen:
    int main(int argc, char **argv){
    glutInitWindow(&argc, argv);
    glutInitDisplayMode(GLUT_DEPTH | GLUT_RGBA);...
  13. Replies
    7
    Views
    267

    Re: 3D Space Environment

    I am obviously not making myself clear. I am use to using glOrhto, and glFrustum, when I am programming, but I am trying to use gluPerspective, inorder to generate a more 3D experiene than glFrustum,...
  14. Replies
    7
    Views
    267

    Re: 3D Space Environment

    don't be an arschloch, I have plenty of C/opengl experience, I am just having trouble in the perpective part.
  15. Replies
    6
    Views
    650

    Re: Working in screen space

    glFrontFace(GL_CW);
    This tells the comp that all clockwise-wound triangles are facing front
  16. Replies
    7
    Views
    267

    3D Space Environment

    I am trying to create a navigatable universe consisting of stars and planets, but moving through the universe, and placing the planets/stars in perspective using gluPerspective(60, w/h, 1, 400);
    but...
  17. Replies
    20
    Views
    2,086

    Re: Fullscreen problems

    #include <GL/glut.h>
    then make sure you have
    int main(int argc, char **argv){
    then just type GlutInit(&argc, argv);
    then you need glutGameModeString("640x480:16@16");
    then use ...
  18. Replies
    2
    Views
    306

    writing a screensaver

    I have wrote some screensavers, but I can't figure out how to make them close when the mouse is moved.
  19. Replies
    0
    Views
    145

    linux game programming book

    Is this book begining, intermediate, or advanced? Also what kind of topics does the book cover?
  20. Replies
    1
    Views
    297

    glutEnterGameMode

    Can someone please post a small glut source code that uses glutEnterGameMode, so I can achieve fullscreen with it.
  21. Replies
    5
    Views
    560

    Re: GlutEnterGameMode();

    I have become aware that the code that was given to me doesn't work do to a lack of declarations which I do not have the values to please give me some better, or more extensive code.
  22. Replies
    5
    Views
    560

    Re: GlutEnterGameMode();

    I need your class, or header with the m_ and the std::string stuff
  23. Replies
    5
    Views
    560

    GlutEnterGameMode();

    How do you make your window full screen with this statement
  24. Thread: FMOD

    by scriptlord
    Replies
    4
    Views
    665

    Re: FMOD

    I have used many search engines, and yes I did try fmod.org, I need A site with some good tutorials.
  25. Thread: FMOD

    by scriptlord
    Replies
    4
    Views
    665

    FMOD

    Where can I learn how to use fmod in my opengl programs to play music during games I write
Results 1 to 25 of 30
Page 1 of 2 1 2