Re: Test program?
Ian Mallett <[email protected]> Mon, 26 May 2014 23:10:51 -0700
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <CAG4NV=u3ymKb_Fo_PioTUnxfFhdiJOA3EsOfvO8bSdJQDMhRCQ@mail.gmail.com> |
--===============5455378975612416370== Content-Type: multipart/alternative; boundary=bcaec5171a95b6ba9704fa5b8f1a --bcaec5171a95b6ba9704fa5b8f1a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, May 25, 2014 at 6:20 AM, Sam Bull <[email protected]> wrote: > On sab, 2014-05-24 at 10:16 -0700, Ian Mallett wrote: > > I have been reading the "red-book" how well does it translate > > to Py? > > =E2=80=8BPretty much directly. Keep in mind that the red book is OpenGL= 2, > > which is technically deprecated. It's not going away anytime soon, but > > you should be aware that GL 3, 4 are now standard. > > The current edition, is for 4.3, which is what I've been reading. It > includes the glsl stuff, so it's kind of the red/orange book now. > =E2=80=8BTo clarify: I have a slightly older edition of the Red Book (osten= sibly for GL 3.0 and 3.1). However, in my experience, it really only discusses GL 2 technology. I haven't had much use for it other than as a bookshelf reference for the hard-to-Google. I spot-checked it just now: there are three chapters dedicated to (now completely) deprecated APIs (inc. display lists and GLU). What they did have of GL=E2=80=8B 3, 4 functionality still used deprecated APIs (glVertex= 3f, etc.). My guess is that the current edition continues the trend, leaving a lot of legacy cruft in there. ---- My recommendation, if you're serious about learning OpenGL, is to learn C || C++ and then start writing some simple OpenGL 2 applications. There are loads of examples of these, and the technology is both well-understood and easy to use. Once you get comfortable with this (which may take several years--weeks or months, at least), then I'd start playing with modern APIs (GL 3 and on). This will give you a feel for how to use the graphics pipeline, as well as a deep understanding of it. Regarding language choice, I got *a lot* out of PyOpenGL (having taught myself Python and PyOpenGL). Python is a wonderful language to learn, and PyOpenGL is a great tool, but for advanced OpenGL (> GL 2), I have found C-like-languages' directness advantageous. Ian --bcaec5171a95b6ba9704fa5b8f1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_extra">On Sun, May 25, 2014 at 6:20 AM= , Sam Bull <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" ta= rget=3D"_blank">[email protected]</a>></span> wrote:<br><div class=3D= "gmail_quote"> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div>On sab, 2014-05-24 at 10:16 -0700, Ian = Mallett wrote:<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 I have been reading the "red-book&quo= t; how well does it translate<br> > =C2=A0 =C2=A0 =C2=A0 =C2=A0 to Py?<br> > =E2=80=8BPretty much directly. Keep in mind that the red book is OpenG= L 2,<br> > which is technically deprecated. It's not going away anytime soon,= but<br> > you should be aware that GL 3, 4 are now standard.<br> <br> </div>The current edition, is for 4.3, which is what I've been reading.= It<br> includes the glsl stuff, so it's kind of the red/orange book now.<br></= blockquote><div><div class=3D"gmail_default" style=3D"font-family:times new= roman,serif">=E2=80=8BTo clarify: I have a slightly older edition of the R= ed Book (ostensibly for GL 3.0 and 3.1). However, in my experience, it real= ly only discusses GL 2 technology. I haven't had much use for it other = than as a bookshelf reference for the hard-to-Google.<br> <br>I spot-checked it just now: there are three chapters dedicated to (now = completely) deprecated APIs (inc. display lists and GLU). What they did hav= e of GL=E2=80=8B 3, 4 functionality still used deprecated APIs (glVertex3f,= etc.). My guess is that the current edition continues the trend, leaving a= lot of legacy cruft in there.<br> <br>----<br><br></div><div class=3D"gmail_default" style=3D"font-family:tim= es new roman,serif">My recommendation, if you're serious about learning= OpenGL, is to learn C || C++ and then start writing some simple OpenGL 2 a= pplications. There are loads of examples of these, and the technology is bo= th well-understood and easy to use. Once you get comfortable with this (whi= ch may take several years--weeks or months, at least), then I'd start p= laying with modern APIs (GL 3 and on). This will give you a feel for how to= use the graphics pipeline, as well as a deep understanding of it.<br> <br></div><div class=3D"gmail_default" style=3D"font-family:times new roman= ,serif">Regarding language choice, I got <i>a lot</i> out of PyOpenGL (havi= ng taught myself Python and PyOpenGL). Python is a wonderful language to le= arn, and PyOpenGL is a great tool, but for advanced OpenGL (> GL 2), I h= ave found C-like-languages' directness advantageous.<br> </div><div class=3D"gmail_default" style=3D"font-family:times new roman,ser= if"><br></div><div class=3D"gmail_default" style=3D"font-family:times new r= oman,serif">Ian<br></div></div></div></div></div> --bcaec5171a95b6ba9704fa5b8f1a-- --===============5455378975612416370== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ The best possible search technologies are now affordable for all companies. Download your FREE open source Enterprise Search Engine today! Our experts will assist you in its installation for $59/mo, no commitment. Test it for FREE on our Cloud platform anytime! http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk --===============5455378975612416370== 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-Devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-devel --===============5455378975612416370==--