Friday, February 15, 2008

Great from scratch blender animation tutorial

I've gone through this great blender animation tutorial.

It's really well made, and teaches you blender from the beginning - explaining everything as you go.

It was a "Blender summer of documentation" project where someone spent a whole month working on it. It was also based on an older tutorial which was itself really good There's a downloadable PDF version (180ish pages) if you prefer to read things that way - otherwise it's broken up into many separate html pages. It's also got .blend files you can download at every step if you wish - so you can skip steps.

So if you want to go from knowing nothing about blender, to being able to construct and animate a basic 3d character - this is the tutorial for you.

Introduction to Character Animation - with blender

Friday, February 08, 2008

Using pygame without a windowing system.

This cookbook entry shows how you can use pygame without a windowing system.

Useful for scripts that run in webservers, or little command line utilities.

Sometimes you just don't need a GUI. Like maybe you want to do some 2d drawing in your opengl application.

The cookbook example is just a thumbnail generation example(using pygames fast mmx assembly using smoothscale function) - but you can do lots of other things with pygame too - like drawing lines - or graphing.

Tuesday, February 05, 2008

Lamina - using pygame GUIs with opengl.

David, the author of the upcoming Pitchers Duel baseball game has made a nice little module for pygame and opengl.

It allows you to use some of the GUI libraries with PGU. In the examples, it uses the excellent PGU, and Ocemp libraries.

However I think the general method can be applied to other GUIs fairly easily. It does the drawing on off screen surfaces, updating opengl textures as needed.

It even has a zooming demo... where the gui zooms. I like things that zoom.

Sunday, February 03, 2008

pygame dev updates. 620 projects on

We have a new windows maintainer - Lenard Lindstrom. He's been submitting patches to pygame for a while now, and as agreed to help get pygame 1.8 out the door.

As part of his work, he has made compiling pygame on windows a lot easier.
"""I automated the dependency build process using a single standalone Python program, All that is needed is to obtain the necessary libraries and MinGW/Msys tools. The builder will first reconfigure MinGW for msvcr71.dll. Then it will build all the libraries and install them into the Msys directory structure. All this can be done from the Windows command prompt. Expect it to take several hours though. Next the Pygame script is run from the Msys console. Make sure the Python directory is in the Msys PATH. Finally can be run from the command prompt to build and install Pygame itself. All the necessary libraries will be copied to the pygame package."""

Brian Fisher has also joined the pygame dev team to help squash bugs, help people on the mailing list, set up an automated build compile farm, and generally help out on things. Brian also been submitting patches for a while now.

Marcus has finished his Numpy migration work - by changing the soundarray module so that it can use Numpy or Numeric to generate sounds from python.

There has also been a few more bits of functionality added around the preparations for release.

The pixel perfect collision detection uses the Mask data type. However now Mask can now also be used to find bounding rectangles around joined pixels.

pygame.transform can find edges in an image, get the average surface of many surfaces and also threshold an image by color.

Only a couple of things remain on the todo list before release now... Mac OSX clipboard support, and the Mac OSX installer. Both are being worked on, and tested. The Mac OSX installer mostly works - however we want to make sure it's perfect before we release it.

620 projects are listed on the website now. Some very interesting stuff pops up there. Everything from a VNC 2 flash video converter, to soccer games, to games where a big kid bashes up hundreds of little kids, to a graphing program. All sorts of things, mostly done by one person too!

Tagging was added to the pygame website a number of months ago, and now all of the projects are slowly forming into more groups. Here are some of the more popular tags:
  • platformer
  • arcade
  • 2d
  • action
  • pyweek

    Some tags for individuals who have put up lots of projects.
  • philhassey
  • pymike
  • mallett

    It is still xmas on the website until we get this release out! (Unless we release next xmas, and then it'll have to be xmas on the website for a while longer.)