<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[GlReadPixels behave weird on QGLWidget]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">I'm a beginner of Qt. I'm using Qt 5.2.1.<br />
To make a pickup function of vertices on OpenGL, I used glReadPixels, which is a function of OpenGL.<br />
However, it returns a wrong value, so I cannot obtain correct depth from glReadPixels.<br />
I guess x,y coordinate of openGl does not correspond to those of QGLWidget correctly.</p>
<p dir="auto">Could anyone help me? My priority is to make a pickup function, so if you have an alternative, it should be fine as well.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.qt.io/topic/42806/glreadpixels-behave-weird-on-qglwidget</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Apr 2026 15:44:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/42806.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Jun 2014 03:40:52 GMT</pubDate><ttl>60</ttl></channel></rss>