Mathieu Fenniak's Weblog

2002/11/02

Lego Simulation

Filed under: programming,python — admin @ 3:41 pm

I’ve begun work on a set of Python modules which collectively create a Lego-like building block simulator. Using code, you can specify blocks and where they should be placed inside a coordinate system. Two ‘Visualization’ classes are being coded to display the Lego system. The more advanced one right now outputs pov-ray scene description files and allows rendering of the Lego image. One of these pictures is shown on the right. The other visualization system will be OpenGL based, and much more interactive (and speedy…).

Eventually, I hope to merge the OpenGL visualization class with a GUI front-end that allows people to interactively create and place blocks of Lego and build things. This is a secondary goal, though…

My primary goal is to build a 3D model of a beautiful Lego castle. Cackle!

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URL

Sorry, the comment form is closed at this time.

Powered by WordPress