Update: After investigating a bit more seems I was missing the obvious fact that I was attempting to supply float coordinates for the camera which is working in integers (i.e. pixels). Attempting to subpixel render with floats was causing a blur and sharpen effect which if happened at speed looked like a flicker.
The solution is to just use pixel coordinates, I am still investigating how best to achieve a smooth camera effect but this atleast prevents the blur/sharp rendering inaccuracies. On Jun 14, 1:34 pm, Gachuk <[email protected]> wrote: > Hi, > > I (and several others) have been trying to get to the bottom of why I > appear to be having a strange rendering problem. > > I am altering the modelview matrix using glulookat so I can control > the view with a camera. However when I move the camera it causes the > sprites on the screen to "flicker". This seems to be down to a > floating point issue but I am baffled as to why. > > I am using Pyglet 1.1.3 with Python 2.6 > The source code for the problem is:http://gamedev.pastebin.com/m2234dbcc > > The sample image I am using (with a bit of tweaking to the resources > and file load you can use):http://i41.tinypic.com/2lueur9.png > > I would very much appreciate any help for this as it's been baffling > me. > > Many thanks > > Gachuk --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
