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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    108

    Problem with names

    I have this source code :

    glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
    glColor3f(0.2,0.2,1);
    glLoadIdentity();

    glTranslatef(0,0,-1);


    //----2D MODE----//
  2. Replies
    2
    Views
    128

    Problem with DevIL

    I use direktx9, and when i try to compile DevIL header filee(il.h,ilu.h,ilut.h) there is some error about d3d8.h - i dont remember the header file exactly, but its foir direkt 3d 8 .
    Can i fix it...
  3. Replies
    1
    Views
    181

    Where can i find DevIL ?

    Does somebody know where can i find DevIL ?
  4. Replies
    0
    Views
    114

    Problem with selection

    I draw this 2D Font :

    glColor3ub(40,255,40);
    glMatrixMode(GL_PROJECTION);
    glPushMatrix();
    glLoadIdentity();
    gluOrtho2D(0,400,0,300);
    glMatrixMode(GL_MODELVIEW);
    glPushMatrix();...
  5. Replies
    80
    Views
    11,862

    Re: How long have you been programming?

    I'm 15 and i've been programming for 1.5 years. First I started with VB 6, i was doing it about 8 months, than i started with C++ Builder and maybe in one or two months i started opengl. I dont know...
  6. Replies
    7
    Views
    242

    Re: VB OR JAVA???

    I was doing VB it is really easy. But slowly for 3D graphic, because there is some library that is betwen VB and Direkt and i gues that its the same with opengl
  7. Replies
    10
    Views
    824

    Re: Problem with function paramneteres

    Where can i find it plus how to use it.
  8. Replies
    10
    Views
    824

    Re: Problem with function paramneteres

    But it works OK, i have just problem when i add some more parameter to the funstion.
  9. Replies
    10
    Views
    824

    Problem with function paramneteres

    I have following source code for loading tga files(from nehe) . But when i add some more parameter to the function so the first lines about texture(->width = ...) raises exeption EAccesViolation,...
  10. Replies
    1
    Views
    226

    Little problem with gluUnProject

    I use gluUnProject to get 2D position of mouse in 3D position in OpenGL scene.

    I use this source :

    here is camera rotation and stuff

    glGetDoublev(GL_MODELVIEW_MATRIX,ModelViewMatrix);...
  11. Replies
    1
    Views
    101

    Little problem with gluUnProject

    I finally got gluUnProject working, it works great, but there is yet a little problem about it. I calculate 3d position of place where i clicked, but when i move camera the position changes.
    I get...
  12. Re: how to put text at X,Y,Z position and resolution problem

    For the first problem use 2D font and glOrtho, about glOrtho you can find something in FAQ.
  13. How to make some color in texture transparent ?

    I mean for instance i load texture and i would like to make every purple color transparent. How to do it. I would like to load bmp file.
  14. Re: My selection doesnt work if i change Matrix Mode

    The selection works, it doesnt work just when i draw the following source code (exactly just when i change matrix mode)
    glMatrixMode(GL_PROJECTION);
    glPushMatrix();
    glLoadIdentity();...
  15. Re: My selection doesnt work if i change Matrix Mode

    thats the code, i reset the matrix(glLoadIdentity), than i move camera by (glTranslatef and glRotatef) than i draw the panel(following source code) and than glInitNames();
    glPushName(0);...
  16. My selection doesnt work if i change Matrix Mode

    Does somebody know how could i make work again ? I need to change Matrix Mode
  17. Replies
    0
    Views
    75

    MipMaping doesnt work

    I used mipmaping in my programe , but i cant see any difference between linear and mipmap textures. Why is it so ?
  18. Replies
    2
    Views
    157

    EAccesViolation at loading texture

    Does somebody have any idea why i got error EAccesviolation always when i want to load texture :


    AUX_RGBImageRec *Obr1 = auxDIBImageLoad("Data\\Zed.bmp");...
  19. Replies
    1
    Views
    154

    problem with gluUnProject

    i have a problem with gluUnProject.
    I have this source code :

    declarations :
    GLdouble winZ;
    GLint y;
    GLint viewport[4];
    GLdouble projection[16];
    GLdouble modelview[16];
    POINT Mys;
  20. Replies
    6
    Views
    674

    Re: opengl and direct sound

    Where are some tutorials about OpenGLAI ?
  21. Thread: Is it OK ?

    by jirkamelich
    Replies
    5
    Views
    172

    Re: Is it OK ?

  22. Thread: Is it OK ?

    by jirkamelich
    Replies
    5
    Views
    172

    Re: Is it OK ?

    i would like to get position of mouse pointer in opengl scene (x,y,z)
  23. Replies
    25
    Views
    2,223

    Re: loading bmp with glut

    do you join rendering context (wglMakeCurrent(Canvas->Handle,hRC) ) ? before the loading textures ?
  24. Replies
    1
    Views
    223

    Example of gluUnProject

    does somebody know some link , where is any example of using gluUnProject ?
  25. Thread: Is it OK ?

    by jirkamelich
    Replies
    5
    Views
    172

    Re: Is it OK ?

    it works, but kind of wierd i think. The number which i get are not ok. Can somebody help me ?
Results 1 to 25 of 69
Page 1 of 3 1 2 3