Re: Problem with glDepthMask
Chris Barker <[email protected]> Wed, 20 Jan 2016 09:57:38 -0800
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CALGmxE+dH8TMv5GHDZH78es5T=0aZNB-3X=G18i5e-Q+MS5AQg@mail.gmail.com> |
--===============0202462338685041028== Content-Type: multipart/alternative; boundary=001a113d45d81d6e400529c7bb33 --001a113d45d81d6e400529c7bb33 Content-Type: text/plain; charset=UTF-8 I can't offer any suggestions, but the display goes to heck for me, too. python 2.7.11 OpenGL.__version__: '3.1.1a1' OS-X 10.10 MacBook Pro 2015 What is glDepthMask supposed to do? -Chris On Tue, Jan 19, 2016 at 11:13 PM, Nicolas P. Rougier < [email protected]> wrote: > > Hi all, > > > I'm having a problem using the glDepthMask() function. I've made a simple > example to show the problem: > > https://gist.github.com/rougier/188c4771dab1694a074e > > > With the glDepthMask(True) / glDepthMask(False) commented out, the display > is fine. But with them, the display is totally screwed. I would like to > know if you get the same output or if this is only on my machine ? > > I'm using python 3.5.1 and PyOpenGL 3.1.0. If anybody has an explanation... > > > > Nicolas > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] --001a113d45d81d6e400529c7bb33 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I can't offer any suggestions, but the display goes to= heck for me, too.<div><br></div><div>python 2.7.11</div><div> <p class=3D""><span class=3D"">OpenGL.__version__:=C2=A0</span><span class= =3D"">=C2=A0</span><span class=3D"">'3.1.1a1'</span></p></div><div>= OS-X 10.10</div><div><br></div><div>MacBook Pro 2015</div><div><br></div><d= iv>What is glDepthMask supposed to do?</div><div><br></div><div>-Chris</div= ><div><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div cl= ass=3D"gmail_quote">On Tue, Jan 19, 2016 at 11:13 PM, Nicolas P. Rougier <s= pan dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>></span> wrote:<br><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"><br> Hi all,<br> <br> <br> I'm having a problem using the glDepthMask() function. I've made a = simple example to show the problem:<br> <br> <a href=3D"https://gist.github.com/rougier/188c4771dab1694a074e" rel=3D"nor= eferrer" target=3D"_blank">https://gist.github.com/rougier/188c4771dab1694a= 074e</a><br> <br> <br> With the glDepthMask(True) / glDepthMask(False) commented out, the display = is fine. But with them, the display is totally screwed. I would like to kno= w if you get the same output or if this is only on my machine ?<br> <br> I'm using python 3.5.1 and PyOpenGL 3.1.0. If anybody has an explanatio= n...<br> <br> <br> <br> Nicolas<br> <br> <br> ---------------------------------------------------------------------------= ---<br> Site24x7 APM Insight: Get Deep Visibility into Application Performance<br> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month<br> Monitor end-to-end web transactions and take corrective actions now<br> Troubleshoot faster and improve end-user experience. Signup Now!<br> <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D267308311&iu= =3D/4140" rel=3D"noreferrer" target=3D"_blank">http://pubads.g.doubleclick.= net/gampad/clk?id=3D267308311&iu=3D/4140</a><br> _______________________________________________<br> PyOpenGL Homepage<br> <a href=3D"http://pyopengl.sourceforge.net" rel=3D"noreferrer" target=3D"_b= lank">http://pyopengl.sourceforge.net</a><br> _______________________________________________<br> PyOpenGL-Users mailing list<br> <a href=3D"mailto:[email protected]">PyOpenGL-Users@list= s.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/pyopengl-users" rel= =3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listi= nfo/pyopengl-users</a><br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>= Emergency Response Division<br>NOAA/NOS/OR&R =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(206) 526-6959=C2=A0=C2=A0 voice<br>7600 Sand Point Way NE= =C2=A0=C2=A0(206) 526-6329=C2=A0=C2=A0 fax<br>Seattle, WA =C2=A098115 =C2= =A0 =C2=A0 =C2=A0=C2=A0(206) 526-6317=C2=A0=C2=A0 main reception<br><br><a = href=3D"mailto:[email protected]" target=3D"_blank">[email protected]= ov</a></div> </div> --001a113d45d81d6e400529c7bb33-- --===============0202462338685041028== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 --===============0202462338685041028== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users --===============0202462338685041028==--