GL_FLOAT is a 32 bit per component format.&nbsp; .<br><br><div class="gmail_quote">On Sun, Jun 1, 2008 at 3:06 PM, cyrille henry &lt;<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hello,<br>
<br>
Wesley Smith a écrit :<br>
<div class="Ih2E3d">&gt;&gt; well, look like it&#39;s hopeless:<br>
&gt;&gt; <a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml" target="_blank">http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml</a><br>
&gt;&gt; glReadPixels does not work with 16 / 32 bits color.<br>
&gt;&gt;<br>
&gt;<br>
&gt; What exactly do you mean by 16/32 bits color? &nbsp;Do you mean per-channel<br>
&gt; or combined RGBA values?<br>
</div>i mean per channel.<br>
<div class="Ih2E3d"><br>
<br>
&gt; &nbsp;glReadPixels works with any format that I&#39;ve<br>
&gt; come across. &nbsp;What makes you think it won&#39;t work for your situation?<br>
<br>
</div>the doc i find there :<br>
<div class="Ih2E3d"><a href="http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml" target="_blank">http://www.opengl.org/sdk/docs/man/xhtml/glReadPixels.xml</a><br>
</div>does not specify a format with 16/32 bit per channel.<br>
unless i&#39;m misunderstand something...<br>
<br>
did your really used glReadPixels with 16 or 32 bit per channel?<br>
and if yes, with what type and format?<br>
<br>
thanks<br>
<font color="#888888">Cyrille<br>
</font><div><div></div><div class="Wj3C7c"><br>
&gt;<br>
&gt; wes<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; GEM-dev mailing list<br>
&gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
&gt; <a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
</div></div></blockquote></div><br>