Posts Tagged: Python

Geo programming with python and javascript

Aug. 27, 2010
comments

As mentioned in a previous post, I built a widget using Google maps that tracks a friends journey using GPS logs. This post is about how to build such a widget.

Lithosphere

Aug. 21, 2010
comments

Lithosphere is a GPU driven terrain generator. It allows you to create and export material textures and heightmaps intended for use in realtime graphics applications.

CDLibrary - a driver to Dacal CD Library 2 devices

Aug. 18, 2010
comments

This Linux Driver allows you to access CD Library 2 devices connected on the USB ports either via http or the filesystem. Below is a picture of such a device. Each device can hold 150 CD/DVD/Blue-Ray dimensioned discs.

SpringUV - Minimize distortions from planar UV mapped terrain

Aug. 17, 2010
comments

A common approach to UV mapping terrain is to use planar mapping. This works well except with steep faces where the texture gets stretched. Solutions like tri-planar mapping can remedy this, but introduce other artefacts and are hard to get seamless. The picture below illustrates stretching artefacts with planar UV mapping.

SQLAlchemy Console

Jul. 31, 2009
comments

sqlalchemy console allows you to connect to any of the databases supported by sqlalchemy and run an interactive database command line against it.

Sociograph

Jul. 31, 2009
comments

Sociograph is an opengl/physics application that acts as an IRC client. Relationships of people in IRC channels are visualized as a physical constraint layouted graph.

Lumiscape - Terrain Radiosity Rendering

Jul. 31, 2009
comments

In order to light terrain, it is not enough just to cast self shadows. It is also important to light it according to sky/sun occlusion and bounced secondary light. Lumiscape allows you to compute a lightmap for use in interactive applications. The lightmap is rendered using a GPU accelerated variant of radiosity. However, it is still exceedingly slow for large terrain textures.

Pyasm - Python x86 Assembler

Jul. 31, 2009
comments

Pyasm generates runable x86 machine code and uses ctypes to execute it.

gletools - Advanced pyglet utilities

Jul. 31, 2009
comments

Pyglet is a fabulous opengl/windowing wrapper you can use to write applications in python. Gletools exposes advanced OpenGL functionality like GLSL, Framebuffers, Float textures etc. to programs using the opengl API of pyglet.

Brainfuck x86 Compiler

Jul. 31, 2009
comments

This optimizing brainfuck compiler is written in python using pyasm to produce x86 executable (elf) binaries.