Results 1 to 8 of 8

Thread: is there pixel ?

  1. #1
    Member 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,595

    Re: is there pixel ?

    Hi !

    Could glReadPixels be what you are looking for maybe ?

    Mikael

  3. #3
    Member 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
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Location
    Cardiff University
    Posts
    653

    Re: is there pixel ?

    Maybe if you look in the maual!

  5. #5
    Member 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
    Senior Member Regular Contributor
    Join Date
    Feb 2002
    Posts
    374

    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
    2,978

    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.

Similar Threads

  1. Replies: 9
    Last Post: 10-10-2017, 10:58 PM
  2. Replies: 4
    Last Post: 08-01-2016, 06:19 PM
  3. Replies: 1
    Last Post: 03-28-2014, 04:55 PM
  4. Stencil bitplanes/glReadPixels() - pixel per byte or pixel per bit ?
    By Jon Mc Jon in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-09-2006, 08:24 PM
  5. Replies: 37
    Last Post: 10-24-2001, 09:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean