[pygame] Nehe Lesson 19

2009-06-15 Thread Astan Chee
Hi, I was just wondering if NeHe's lesson 19 (particle engine), has been ported to pygame/pyopengl? I can't seem to find the python version of it. Thanks! Astan

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread Ian Mallett
It doesn't look like it's been ported. It looks pretty simple, though. The particles are simply added, moved, and drawn without a depth test. It doesn't even have commonplace optimizations (display lists, or VBOs). It would be a 30 minute job, tops. Ian

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread René Dudfield
I remember porting it ages ago... but can't find it. oh here it is... http://www.py3d.org/files/lesson19.zip had to restore the py3d.org/files folder... since py3d.org has been dormant for 6 years or so. cu, On Mon, Jun 15, 2009 at 4:49 PM, Astan Cheeastan.c...@al.com.au wrote: Hi, I was

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread Astan Chee
Thanks! I was looking for that for awhile. Cheers Astan René Dudfield wrote: I remember porting it ages ago... but can't find it. oh here it is... http://www.py3d.org/files/lesson19.zip had to restore the py3d.org/files folder... since py3d.org has been dormant for 6 years or so. cu, On

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread Ian Mallett
Nice, René!

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread Zack Schilling
I think you'll find a particle engine close to unusable without VBOs or python-specific acceleration. For now, code it however you'd like, but when it comes time to run your actual game, you'll find that you have problems with performance. You're going to need to use numpy to manage the

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread DR0ID
Hi http://code.google.com/p/py-lepton/ ~DR0ID Zack Schilling schrieb: I think you'll find a particle engine close to unusable without VBOs or python-specific acceleration. For now, code it however you'd like, but when it comes time to run your actual game, you'll find that you have problems

Re: [pygame] Nehe Lesson 19

2009-06-15 Thread Ian Mallett
There's also ways to do it on the GPU, when you need serious particle power. http://www.youtube.com/watch?v=Hm8ARVmbefQ