Thoughts about PyOpenGL, and other stuff.

matthew sitton <[email protected]> Thu, 2 Oct 2014 15:15:17 -0500
Newsgroups gmane.comp.python.opengl.devel
Message-ID <CAL_9FWLGMcTWN4CdD_WCz8=nOz7eO=h0=7Ad0Y6ExmgbTF3CMA@mail.gmail.com>
--===============0169580870053964850==
Content-Type: multipart/alternative; boundary=001a11c1d5fe6b4a4705047646ca

--001a11c1d5fe6b4a4705047646ca
Content-Type: text/plain; charset=UTF-8

So i have been thinking about starting my own opengl binding for python,
but i thought why not come here and post some of what i am wanting out of
an opengl binding.

Make "Modern OpenGL" a first class citizen. Mainly this would involve the
following in my opinion:
- Provide a math library (Something generally equivalent to GLM or others)
- Support opengl profiles, core forward compatible, and compatibility based
off of the xml registry.
- This would also mean providing imports for opengl functionality levels,
so if you import OpenGL 3.3 core, you would be returned a module that
contains all of the required Features at that functionality level, and none
of the removed features.

I also think it would be interesting to experiment with reorganization of
the code to provide an abstraction of ctypes so that a cffi backend could
be introduced. This should allow PyOpenGL to run under pypy with improved
performance.

I have also been thinking about digging into the source, and figuring out
how the whole thing works better. That way i could contribute to the
project. I read through this document:
http://pyopengl.sourceforge.net/documentation/development.html
However i suspect that its outdated.

--001a11c1d5fe6b4a4705047646ca
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>So i have been thinking about starting my o=
wn opengl binding for python, but i thought why not come here and post some=
 of what i am wanting out of an opengl binding.<br><br></div>Make &quot;Mod=
ern OpenGL&quot; a first class citizen. Mainly this would involve the follo=
wing in my opinion:<br>- Provide a math library (Something generally equiva=
lent to GLM or others)<br></div>- Support opengl profiles, core forward com=
patible, and compatibility based off of the xml registry. <br>- This would =
also mean providing imports for opengl functionality levels, so if you impo=
rt OpenGL 3.3 core, you would be returned a module that contains all of the=
 required Features at that functionality level, and none of the removed fea=
tures.<br><br></div><div>I also think it would be interesting to experiment=
 with reorganization of the code to provide an abstraction of ctypes so tha=
t a cffi backend could be introduced. This should allow PyOpenGL to run und=
er pypy with improved performance.<br><br></div><div>I have also been think=
ing about digging into the source, and figuring out how the whole thing wor=
ks better. That way i could contribute to the project. I read through this =
document: <a href=3D"http://pyopengl.sourceforge.net/documentation/developm=
ent.html">http://pyopengl.sourceforge.net/documentation/development.html</a=
><br></div><div>However i suspect that its outdated.<br></div></div>

--001a11c1d5fe6b4a4705047646ca--


--===============0169580870053964850==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
--===============0169580870053964850==
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

--===============0169580870053964850==--