Category: Programming

Jan 11 2010

Simple LDraw viewer code in Processing

Well, here's the code that I wrote almost year and a half (!) ago, to display LDraw files using the Processing language.

Read more...

1 comments - Posted by Andy at 7:16 PM - Categories: Lego | Programming | Processing

Aug 29 2008

LDraw viewer in Processing

One of the great things about the online Adult Lego community is that you can find such a large number of really talented individuals that like to "Play Well" and share their creations. One such sub-community is the people that work on LDraw .org.ļ¾ These hard working individuals have built a huge library of 3D Lego part definitions and the software needed to build virtual Lego models in 3D.

The specifications for their part definitions are all online, and they have some great documentation explaining how to use them.

I have always been interested in working with 3D programming, but have never had the time to learn it properly. As it so happens, Processing has some nice simple syntax to allow OpenGL drawing, so I have taken it upon myself to see what I can do. As you can see below, have managed what I would consider a decent start.

My LDraw viewer showing a Lego (LDraw) Forestman

Read more...

3 comments - Posted by Andy at 9:56 PM - Categories: Lego | Programming | Processing