开发者

JOGL screenshot without overlaid dialogs interfering

Hey I ran into an issue with taking a Screenshot from JOGL on windows XP (works fine in Win 7) where if I try to take a snapshot off my GLCanvas and there is a dialog on it, it will also include that dialog in the screenshot.

I used the ScreenShot class in JOGL. I have also tried Pbuffers and manually glreadpixelling from GL.GLBACK but still same ou开发者_如何学Pythontcome. Anyone else have an idea of how to make JOGL ignore these non-gl dialogs?


You should use java.awt.Robot class. It works fine for me.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜