[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Extending OpenGL support in Pygame
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Extending OpenGL support in Pygame
- From: Sam Bull <sam.hacking@xxxxxxxx>
- Date: Thu, 05 Apr 2012 16:08:08 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 05 Apr 2012 11:08:22 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sent.com; h= message-id:subject:from:to:date:content-type:mime-version; s= mesmtp; bh=FVOMMgETvUJu71iThq0b+ZG8pC0=; b=v8Xq2HNEmlwDjuEsZPC00 X6C8EFqNKsxYk5QmAop6Zz9IwVvAjYtdFVG0ISbK4Bvy76ho4Wp9wXIWetmeJTnb FFKc+V0HNAIOWs7CyZPzIohrE/+G62Ls41c4gfV3j/UYBnq9BiQt/eXkC/rjdyqZ cE3TNV4xZXKfNy9RYVcu2E=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:subject:from:to:date :content-type:mime-version; s=smtpout; bh=FVOMMgETvUJu71iThq0b+Z G8pC0=; b=LC1S2gwepopexUzag06oy7lFx95cKZzWtZlHDoN2qU2aZ1m2xmYBXe j0KAMNd2a5Wk8PtXRuFIsOBQxqS71JG5Q2h5D8WmEcj/1+JCM4FSIWToh0Cj2IIm kFe014UUQ+8ok4G0BejBtc91OedoeC1KNIjJAYghBhCAe8jKRik8M=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I was wondering if there was much interest in extending OpenGL support
in Pygame. One of the things I am implementing in my toolkit is OpenGL
support. To do this, I am effectively creating the surface class and
draw module in OpenGL. I am using Pygame's API to create the interface
for it, so that it can be simply dropped into the same places and
behaves in the same way as vanilla Pygame.
If this is something of interest to other people, I'm wondering whether
there might be some interest in integrating this code into Pygame
(sometime after GSoC). This would (I'm envisaging) allow users to create
a game using Pygame's standard sprite and draw module, and be able to
run it under OpenGL by simply adding the OPENGL flag. As opposed to
having to recreate all of the drawing code.
Even for developing 3D games, I think this would make it a lot easier
for developers to create the 2D elements of a game, such as the HUD.
Thanks,
Sam Bull
Attachment:
signature.asc
Description: This is a digitally signed message part