in reply to How to get pixel color from 3d application

Unless the application has an api for doing this, and you have access to a perl-callable library to use that api, the only way I could see to do this would be to do a screen-grab and then inspect the resultant bitmap.

Your problem then would be converting between the coordinate system used within the application and the screen coordinates represented in the bitmap; and that would be distinctly non-trivial.

You might also be able to use something like Pixie to obtain the color of the pixel under the cursor, but automating that would probably be quite difficult; and you still have the coordinate convertion problem to resolve.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: How to get pixel color from 3d application