On Mon, Mar 3, 2008 at 12:09 PM, Txema Vicente <[EMAIL PROTECTED]> wrote:

>
> Good job.


Thanks!  I feel better about it now that it actually works ;^)

This code will teach me about stencil buffer an clipping planes :)


Heh, well I learned them myself writing this 8^)

Clipping planes are actually pretty easy when they are parallel to one of
the axis, otherwise the equations can give you a bit of a headache.


> Some comments:
> I must add: from pyglet import window,font,clock


Hmmm, I'll bet that's because I'm using pyglet 1.1 and that isn't necessary
anymore. I'll add them in so it will work on older pyglet versions...


> Added resizable=True in the Window constructor.


Yeah, that's a nice touch.


> Due to the dt jumps (Discussion: "Clock tick times"), I fixed it to
> 10./FPS
> so animation gets smoother.


ok, I'll look at that thread. Apparently  my machine doesn't suffer from
this problem because it is smooth for me.  I assume using fps averages it
out rather than varying it per frame.

I'll make these changes, test it out and submit a new version tonight.

Thanks!

-Casey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to pyglet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to