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

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    7,010

    YEAH! thank you for the tutorial I'm fixing the...

    YEAH! thank you for the tutorial I'm fixing the program using both gluPerspective() and glTranslated(). Now I do some tests. Thank you very much!!
  2. Replies
    12
    Views
    7,010

    It's better to post the code now, It is write in...

    It's better to post the code now, It is write in java but the functions are totally identical:

    private void render(GLAutoDrawable drawable){
    GL2 gl = drawable.getGL().getGL2();
    ...
  3. Replies
    12
    Views
    7,010

    What is the command to do that? And have I to...

    What is the command to do that? And have I to write it before or after the command glTranslatef?
  4. Replies
    12
    Views
    7,010

    Yes yes, I have understood my problem. But I...

    Yes yes, I have understood my problem. But I don't know where I am wronging, I have written the function glTranslatef(0, 0, x) but it doesn't work very well. I see the object for a moment and after...
  5. Replies
    12
    Views
    7,010

    OK, I try to explane better: I drew six polygons...

    OK, I try to explane better: I drew six polygons that form a parallelepiped.
    I have got the variable x, initially the value of x is 0, but as I said before, the variable can increase or decrease....
  6. Replies
    12
    Views
    7,010

    I followed your advice and I used...

    I followed your advice and I used glScaled(1.0003, 1.0003, 1.0003). The problem is that the dimensions of the polygons increase indefinitely and the polygons become so big that I cannot see them in...
  7. Replies
    12
    Views
    7,010

    Zoom with OpenGL

    Hi, I'm a new user of OpenGL.
    This is what I have to do: I have got a variable x that can increase or decrease.
    I would like to know how to increase/decrease the dimensions of each polygons I have...
Results 1 to 7 of 7