Need help with making new Data Type for VB to work with OpenGL smoothly
In Visual Basic looks like that: glReadPixel xpos, ypos, 1, 1, rpRed. pxlByte, Variable
How do you make new date type to make "pxlUnsignedByte" instead of pxlByte? Reason I asked that is because pxlByte output is 0 to 127 and it discard any minus number in VB.
I think it is final problem for VB with OpenGL
Waldoo
Public Const pxlUnsignedByte &H1401
Shove that in a module somewhere and you should be able to pass that to glReadPixels.
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
Shove that in a module somewhere and you should be able to pass that to glReadPixels.
-------- E y e .Scream Software --------
----------------------------------------
/-\
http://www.eyescream.cjb.net | * |
\-/
----------------------------------------
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement