Re: Shader doesn't compile with Python 3
Chris Barker - NOAA Federal <[email protected]> Wed, 29 May 2013 09:23:17 -0700
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CALGmxE+rgi3JY6D6Z8MwtihuUEDBp_h1RX9AHZfZwaySM0f_Hw@mail.gmail.com> |
On Tue, May 28, 2013 at 10:53 PM, Gabriele Lanaro <[email protected]> wrote: > I'm having the same problem in python 3 (not being able to compile the > shaders because it gets an invalid literal). Did you find any actual > workaround for that? IIUC shaders have to be written in ASCII, perhaps with Py3, you are passing unicode in -- ty encoding it to ascii and passing the bytes object instead. Or maybe I totally mis-understand the issue! -Chris -- 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] ------------------------------------------------------------------------------ Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with <2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net