once again I have a newbie … I diveinto the forum and the documentation but I cannot find the answer : is it possible to read RGB (or RGBA) pixel value from a texture ?
returns the pixel from the 2th column and the 5th row.
you can load the texture into an PNMImage. those provide a wide range of reading, writing, manipulation, copying, and blending functions.
panda3d.org/reference/pytho … e.PNMImage
there should be a number of code snippsets around on the forum
Thanks … PNMImage looks good.
I was thinking using Texture.getRamImage … But I did not try it. But I think instead I will try your solution.