Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 8 of 8

Thread: is there pixel ?

Hybrid View

  1. #1
    Intern Contributor
    Join Date
    Nov 2002
    Location
    Oirsbeek,Holland
    Posts
    69

    is there pixel ?

    can i get , if on some exact place is painted pixel ?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: is there pixel ?

    Hi !

    Could glReadPixels be what you are looking for maybe ?

    Mikael

  3. #3
    Intern Contributor
    Join Date
    Nov 2002
    Location
    Oirsbeek,Holland
    Posts
    69

    Re: is there pixel ?

    thank you , but could you please write , what parametres should i write there ?

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    668

    Re: is there pixel ?

    Maybe if you look in the maual!

  5. #5
    Intern Contributor
    Join Date
    Nov 2002
    Location
    Oirsbeek,Holland
    Posts
    69

    Re: is there pixel ?

    i have no manual for OpenGL, where could i get it ?

  6. #6
    Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    377

    Re: is there pixel ?

    Originally posted by jirkamelich:
    i have no manual for OpenGL, where could i get it ?
    I would try http://www.opengl.org

  7. #7
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: is there pixel ?

    This is also a very good resource.

  8. #8
    Junior Member Newbie
    Join Date
    Aug 2002
    Location
    NZ
    Posts
    13

    Re: is there pixel ?

    You could keep that pixel in memory. so pixel.x pixel.y pixel.z. And seach the pixel array for it. But once something is writen into a OpenGL buffer it becomes 2D. Its has no "real" depth. Therefore you can only glReadPixel but this is 2d, x and y.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •