PDA

View Full Version : is there pixel ?



jirkamelich
11-19-2002, 10:28 AM
can i get , if on some exact place is painted pixel ?

mikael_aronsson
11-19-2002, 10:10 PM
Hi !

Could glReadPixels be what you are looking for maybe ?

Mikael

jirkamelich
11-20-2002, 05:41 AM
thank you , but could you please write , what parametres should i write there ?

Gavin
11-21-2002, 01:07 AM
Maybe if you look in the maual!

jirkamelich
11-21-2002, 06:41 AM
i have no manual for OpenGL, where could i get it ?

satan
11-21-2002, 07:28 AM
Originally posted by jirkamelich:
i have no manual for OpenGL, where could i get it ?

I would try http://www.opengl.org http://www.opengl.org/discussion_boards/ubb/smile.gif

Bob
11-21-2002, 07:57 AM
This (http://www.google.com) is also a very good resource.

REM
11-22-2002, 05:39 PM
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.