If you use cross-platform libraries for windowing, like pyglet, then your Python OpenGL scripts should run fine on any platform. I routinely make games for PyWeek using pyglet and PyOpenGL, and I'll develop for one platform (often windows, so I can send my game to my friends) without even testing them on any other platform, and at the end of the week find that my game works on all of (windows, linux, mac)



On 15/04/2011 06:51, Abhijeet Rastogi wrote:
I referred to OpenGL SuperBible which has code in C++. But, the issue is that its windows specific. Can I atleast get any good resources which are for linux? I know that opengl code is portable but window-handling code is platform specific. So, codes that actually compile in linux would be great.

On Fri, Apr 15, 2011 at 11:04 AM, Ian Mallett <geometrian@gmail.com> wrote:
On Thu, Apr 14, 2011 at 11:13 PM, Abhijeet Rastogi <abhijeet.1989@gmail.com> wrote:
Hi,

I am a beginner to opengl. I want to learn pyopengl but I cant find an ebook which teaches that using python. I am kind of stuck. Guide me through a nice ebook for learning pyopengl.

--
Regards,
Abhijeet Rastogi (shadyabhi)
http://www.google.com/profiles/abhijeet.1989
One thing I learned to do very early on when learning Python was to translate algorithms from other languages almost compulsively.  There are comparatively scant resources for  learning Python, as compared to C, or C++.  The Python subdomain of graphics (which is already a small group) is miniscule--so, in short, the resource you're looking for (probably) doesn't exist.

That said, I learned a great deal by reverse engineering existing code.  Google NeHe, and follow those tutorials (there are Python ports available).

Ian



--
Regards,
Abhijeet Rastogi (shadyabhi)
http://www.google.com/profiles/abhijeet.1989
------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list PyOpenGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyopengl-users

-- 
Jonathan Hartley    tartley@tartley.com    http://tartley.com
Made of meat.       +44 7737 062 225       twitter/skype: tartley