Gregorio | 5 Feb 16:53 2016
Picon

64-bit Avbin 8.1 dll for windows

Hi!

I'm looking for the 64-bit version of Avbin 8.1 dll, but could not find it on the webpage. I need it for a codebase that relies on pyglet 1.1.4 where the python environment upgraded from 32 to 64-bit under win7. Tried pyglet 1.2.4 with Avbin 10, but it crashed the application.

Thanks,
Gregorio

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Paul Craven | 3 Feb 04:05 2016

Pyglet and ReadTheDocs

I have a project that uses Pyglet. I want to document my project using readthedocs.org auto-sphinx doc creation website. 

Unfortunately just importing pyglet causes pyglet to try and load the GLU library. A library that doesn't exist when running headless on ReadTheDocs.

  File "/home/docs/checkouts/readthedocs.org/user_builds/arcade/checkouts/latest/arcade/window_commands.py", line 11, in <module>
    import pyglet.gl as GL
  File "/home/docs/checkouts/readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/__init__.py", line 97, in <module>
    from pyglet.gl.lib import GLException
  File "/home/docs/checkouts/readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/lib.py", line 142, in <module>
    from pyglet.gl.lib_glx import link_GL, link_GLU, link_GLX
  File "/home/docs/checkouts/readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/gl/lib_glx.py", line 51, in <module>
    glu_lib = pyglet.lib.load_library('GLU')
  File "/home/docs/checkouts/readthedocs.org/user_builds/arcade/envs/latest/local/lib/python2.7/site-packages/pyglet/lib.py", line 160, in load_library
    raise ImportError('Library "%s" not found.' % names[0])

Pyglet does some fancy work to get around this in their docs. I've not been successful in replicating it. Has anyone found a simpler way?

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Andre D | 30 Jan 17:19 2016
Picon
Gravatar

(unknown)

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Dawoud Mansouri | 28 Jan 18:57 2016
Picon

Is there a good way to detect collisions ?

Hello,

I'm making a game and I look for a way to easily detect collisions. There's a character and some objects in the video game, I'd like that the character wouldn't can cross the objects when we move it.

Thanks!

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Jason Spashett | 27 Jan 17:11 2016
Picon

Updating pyglet.text.Label from another thread

Hello Again,

I would like to update a pyglet Label from some other thread. It seems that this won't work directly (as is usual with ui toolkits)

What is the general solution to this?

At the moment I am trying to use pyglet.schedule_once( update_function, 0) which nearly works, but does not call the update function unless the mouse is moved around first.
Looking the pyglet code the scheduled functions go into an a dict, which may work, but there are is no locking in these functions.

The other solution I have in mind is to write a customised pyglet run loop that uses a python Queue to call callback functions.


- Jason

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Rob | 27 Jan 13:05 2016
Picon

Pyglet 1.2.5 bugfix release?

Hi all,

Currently I am mostly focussing on making pyglet 1.3.0. However that is still going to take a while before it can be released. Are there currently very urgent issues that might warrant creating an 1.2.5 bugfix release?

I am currently thinking of the following:
* Fix for limited amount of simultaneous audio players in OpenAL and DirectSound
* Fix for scheduler busyloop on OSX

Rob

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Rob | 27 Jan 12:59 2016
Picon

FOSDEM 2016

Hi all,

Lately I haven't been very active, but don't worry, I am still maintaining pyglet and working towards 1.3.0 (and maybe an intermediate 1.2.5 for some fixes).

Any of you joining FOSDEM next weekend? Would be nice to meet some pygleters.

Rob

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Charlie | 26 Jan 06:44 2016
Picon

No performance difference in using groups vs. draw?

I was messing around with creating a basic GUI and started to mess around but noticed big performance differences when I started to create Labels (duplicate labels as well for text shadowing).

I tested the performance difference between using: 1 group + 1 batch, 1 batch, and draw loop and noticed some big differences.

So for instance if I just batch 50 labels together, the application doesn't have any issue and runs ridiculously fast (high 4 digit FPS).

However, I will need ordering, so, if I add all of those to even just one group, the FPS tanks (double digits, low triple digits).

I then just looped all of the draw calls of the labels without even batching and get the same performance as group + batch.

Am I missing something or is batching not used when groups are involved? I tried looking over the examples and docs but didn't see any explanation. Could someone shed some light on this? Thanks.

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Benjamin Moran | 25 Jan 10:57 2016
Picon

Esper - an Entity Component System library

Hi Guys,

I thought I'd share my new ECS for Python. It's still a young library, but is already useable for games. It's designed to be as light and fast as possible, and I think it accomplishes that goal.

There is a pyglet example included, as well as Pygame and PySDL2. I hope this is useful to others. Feedback welcome!
https://github.com/benmoran56/esper
https://pypi.python.org/esper

-Ben

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Pygler | 19 Jan 02:26 2016
Picon

Rendering multiple polygons links them together

I am trying to batch draw a bunch of circles using their vertices (using below function to generate many circles) instead of using glVertex2f in a loop to draw a circle.

class Snowflake(object):
   
def __init__(self, x, y, radius, d, batch):
       
self.x = x
       
self.y = y
       
self.r = radius
       
self.d = d
        circle
= self.create_vertices(x, y, self.r)
       
self.vertex_list = batch.add(len(circle[1])//2, pyglet.gl.GL_POLYGON, None,
                circle
,('c4f',(1, 1, 1, 0.8)*(len(circle[1])//2)))
       
   
def create_vertices(self, x, y, radius, sides=24):
        vertices
= []
       
for i in range(sides):
            angle
= math.radians(float(i)/sides * 360.0)
            x1
= radius*math.cos(angle) + x
            y1
= radius*math.sin(angle) + y
            vertices
+= [x1,y1]


       
return ('v2f', vertices)


However, upon doing this and running batch.draw(), it links each polygon together from where the last vertice is in each vertex list to the start of the next. Is it not possible to batch polygons and separate them like this or is there something I am missing? Sorry if this is a stupid question. Thanks for any help.

--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.
Daniel Oakey | 18 Jan 23:43 2016
Picon

Getting the image data from pyglet.media.Player()

I'm trying to get the image from the pyglet.media.Player() while it's playing a movie, but all I end up with is black:

If I use this code, then all I get is a black image:

    tex = player.get_texture().get_image_data()

    form = tex.format

    pitch = tex.width * len(form)

    pixels = tex.get_data(form, pitch) # <-- all of these pixels have a 0 value! What's up?


Even though the player is playing the movie, this method of getting the image isn't working...



--
You received this message because you are subscribed to the Google Groups "pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe <at> googlegroups.com.
To post to this group, send email to pyglet-users <at> googlegroups.com.
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Gmane