I got dilther solved and now I have problem with color matching. Returned RGB value to my color palette did not match the color in glwindow. Is there some number leaked causing my computer color blind?
Here is a copy below of color picking function for Visual Basic. I hope you will help solve it and cure my computer's sighting. LOL
Waldoo
Private Red As Byte
Private Green As Byte
Private Blue As Byte
Public mousexpos As String
Public mouseypos As String
Option Explicit
Public Function DrawGLScene() As Boolean
glReadPixels mousexpos, mouseypos, 1, 1, rpRed, pxlByte, Red
Form2.Text1(4).Text = Red
glReadPixels mousexpos, mouseypos, 1, 1, rpGreen, pxlByte, Green
Form2.Text1(5).Text = Green
glReadPixels mousexpos, mouseypos, 1, 1, rpBlue, pxlByte, Blue
Form2.Text1(6).Text = Blue
form1.Picture1.BackColor = RGB(Red, Green, Blue)




