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

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    891

    Windows-Linux WGL error.

    here's what i did: I made a complete game under Linux, using only cmath, cstdio, cstdlib and glut,gl,glu libraries, and it worked. Now, that I wanted to compile it for Windows(cause I need to post...
  2. Thread: GL_SELECT

    by Ther
    Replies
    8
    Views
    436

    Re: GL_SELECT

    so it could cause, cause at init you should setup, for opengl the bounding space:


    gluPerspective( 45, 1, 0.1 , 100 );
  3. Thread: GL_SELECT

    by Ther
    Replies
    8
    Views
    436

    Re: GL_SELECT

    why don't you set up projection matrix ?


    gluLookAt( eyex, eyey, eyez, lookx, looky, lookz, 0,1,0 ) ;
  4. Replies
    4
    Views
    362

    Re: wavefront object terrains

    you mean .obj terrain objects ?

    actually if you mean it is not a very good solution, the way i do it is the make picture and then set the terrain's height to the image's brightness. It's because...
  5. Thread: CURSOR problem

    by Ther
    Replies
    2
    Views
    352

    Re: CURSOR problem

    your my faithfully, not that who couldnt name this glutSetCursorPosition or something like this. Thx :D
  6. Thread: CURSOR problem

    by Ther
    Replies
    2
    Views
    352

    CURSOR problem

    I'm using glut, linux. I could hide the cursor ( glutSetCursor ( GLUT_CURSOR_NONE ); ), but i couldn't keep it in the middle because:

    I want the watch when user's moving the cursor, but the edges...
  7. Replies
    1
    Views
    151

    just some help for how to start

    i am on to start a project of strategy game with island,ships and heroes, and all mystic staff. Does anyone know a tutorial for how to build up the whole data for units and others?
  8. Replies
    2
    Views
    979

    Human falling simulation, rag-dolls.

    Does anyone have some reference how to simulate dead or just falling human (or any) bodies with physics and collide. You know like you fall down and crash into a rock with your hand and you get a...
  9. Replies
    14
    Views
    9,074

    Re: how to play video in opengl?

    really how much diferrence is in DirectX and Opengl's speed?
  10. Replies
    2
    Views
    182

    Re: Still another beginner Blending Question...

    if you look at gl.h

    <code>
    #define GL_RGBA GL_RGB
    </code>

    so it is weird, but good
  11. Thread: glut problem

    by Ther
    Replies
    9
    Views
    766

    Re: glut problem

    your best choice is to go your graphics card's homepage (www.nvidia.com, etc) and download the newest driver for windows.
  12. Replies
    5
    Views
    285

    Re: my opengl isn't accelerated

    if you are using Linux maybe try YOU, that will find the correct and newest driver
  13. Thread: 3d modleing

    by Ther
    Replies
    2
    Views
    256

    Re: 3d modleing

    I suggest that you should use maya and export an OBJ
    file from that, because either using maya and reading OBJ file format is easy. A basic OBJ file look like:
    <CODE>
    v 0 0 0
    v 1 0 0
    v 0 1 0...
  14. Thread: keyboardfunc()

    by Ther
    Replies
    4
    Views
    1,010

    Re: keyboardfunc()

    and in the main function:

    glutDisplayFunc( windowDraw ); //draw
    glutReshapeFunc ( windowShape ); //window resize
    glutIdleFunc( windowDraw ); //draw
    glutKeyboardFunc ( windowKeyPressed );...
  15. Thread: keyboardfunc()

    by Ther
    Replies
    4
    Views
    1,010

    Re: keyboardfunc()

    My solution:

    .......
    main.cc
    ........

    FsKeyboard keyboard; // which is extern maybe
    void windowKeyPressed (unsigned char key, int x, int y) { keyboard.keyPressed ( key ); }
    void...
  16. Replies
    6
    Views
    373

    Linux programers! What are your creations?

    I am a linux programer too and i would really like if other would post url's of his opengl applicition under linux. The best would be if not glut, gnome or kde library using windows would be these....
  17. Replies
    8
    Views
    1,552

    Re: glReadPixels Weirdness

    this is my source for reading one pixel of the screen, but i am read the whole screen for it.

    Maybe you can use it:
    //---------------------------------

    int Thervl :: getColorAt ( int x , int y...
  18. Re: Hi new and really need help with 3-d dynamic graphics and getting images from web

    I couldnt understand what you wanted to say, but i guess i can help you. I know java, if you wanna write your applicition in it, but i suggest that you should use C++, but maybe that will make some...
  19. Replies
    2
    Views
    225

    Need help with Translating

    this the part of my program, where i draw:


    glEnable (GL_TEXTURE_2D )
    glBindTexture ( ... )
    glMatrixMode ( MODEL_VIEW )
    glTranslate3f ( xt, yt, zt )
    glCallList ( ... );
    My problem is...
  20. Thread: 2D zoom

    by Ther
    Replies
    2
    Views
    778

    Re: 2D zoom

    I think the most easier is in the case 1 -> 0.8 zoom, that you zoom for 8.0
    every pixels in line became the same
    color 8 pixels
    and unzoom for 0.8
    all 8 pixels became 1...
  21. Replies
    2
    Views
    286

    Re: Problem with basic triangle rotation

    I don't know actually what you want to do, but maybe it works better if you rotate before you translate, because it is matter what you doing first.
  22. Replies
    10
    Views
    1,249

    Re: opengl programming without a window?

    I don't know, and it is an interesting question, but i think you need an other windowing api ( not glut ), and check for it on http://www.free-soft.org/guitool/ :-)
  23. Thread: Menu's and texts

    by Ther
    Replies
    2
    Views
    295

    Re: Menu's and texts

    thanks for all :)
  24. Re: Is OpenGL the way to go on developing a 3d engine for mobile phones?

    I think you should programming in 3d for mobiles (NOKIA mobiles) in Mobile3d. This is a java API.
    / don't try mobile3d.org /
  25. Thread: JAVA and OpenGL

    by Ther
    Replies
    12
    Views
    1,408

    Re: JAVA and OpenGL

    My best java builder ( and compiler ) is Visual Age for Java, this is an IBM program and i think it is free, or maybe just for 3 months, but you can install again, and all the problems gone. In java...
Results 1 to 25 of 26
Page 1 of 2 1 2