You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think pixels should be a string of length width*height*4 (I think float size is 4 bytes), and then to turn it into an array of floats you would call pixels.unpack('F*')
I should really just add a function to do this and output a ChunkyPNG object or something.
Hello I was wondering how I can get the pixel values that are rendered to the screen. I got this so far:
But I don't understand what kind of variable pixels is supposed to be. It's complaining:
This is the method source code from opengl-bindings:
PS: Thanks for the great library!
The text was updated successfully, but these errors were encountered: