Home :: Login :: Forgot Password :: Search :: FAQ
Support our host

News

Software

Reference

Community

Parts Library

About Us

Topic: Reference > Tutorials

The new items published under this topic are as follows.

    1234   >

LDraw models are great to look at, but are generally inappropriate for real-time rendering tasks such as video games. Here's why.
Read full article: 'Cleaning LDraw Models for Export' (3533 bytes more) Printer-friendly page
Published By SharkD on Sep 25, 2009 - 06:31 AM
Note: Rephrased.

Title Banner
In September 1975, during the Saturday qualifying session of the Italian GP, Niki Lauda set the pole position with his Ferrari 312T in front of team-mate Regazzoni. I was very excited when my father told me that the Monza circuit was not so far from home. I insisted until he drove me there!
When we arrived at the circuit the crowd was already gone. I started screaming at the fences of the pit lane pretending to take a look at the race cars. Luckily enough a Ferrari engineer came by and took my hand to visit the garage: it was my first and closest contact with a real Formula 1 car. A car that was going to win the World Championship the very next day.

Though my passion for race cars nowadays is quite moderate, I soon tried to build Formula 1 car once I came out of my dark age: first modifying some original LEGO Technic models, then focusing on the details like a modeller trying to work out new and original creations.
My building approach has changed a lot compared to the one I used in my childhood: the usual shortage of time and space forces me to study and design the entire model before I start building, drastically reducing any improvisation. I was lucky when I discovered some dedicated 3D CAD software including comprehensive parts libraries and other useful design tools for renderings and building instructions. Before that, I was studying different building solutions using MS Excel!

Read full article: 'Scaling down' (13384 bytes more) Printer-friendly page
Published By Holly-Wood on Feb 06, 2009 - 10:29 AM

LDraw to SimCity 3000 Unlimited Tutorial
By: Michael Horvath

Introduction
This tutorial instructs you on how to import LDraw models into SimCity 3000 Unlimited. You should already know how to build models using LDraw or MLCad and render them using POV-Ray. Maxis, the makers of SimCity 3000 Unlimited, have created their own tutorial on how to render objects and import them into the game. It is not required to complete this tutorial; but if you'd like to read it anyway, you can find it here.

Read full article: 'LDraw to SimCity 3000 Unlimited Tutorial' (9080 bytes more) Printer-friendly page
Published By SharkD on Dec 28, 2008 - 10:57 AM
Note: Update download link.

Polarized Glasses Tutorial
By: Michael Horvath

Introduction: This tutorial describes how to render LDraw models so that they can be viewed in 3D using polarized glasses. Before proceeding with this tutorial, you should already know how to build models using MLCad and convert them to POV-Ray format using L3P.

Read full article: 'Polarized Glasses Tutorial' (4130 bytes more) Printer-friendly page
Published By SharkD on Dec 28, 2008 - 09:59 AM
Note: Updated with note regarding possible incompatibility with L3P v1.4.

T-Junctions in LDraw parts can often lead to unavoidable rendering artifacts, so it's best to avoid them when possible.

By Travis Cobbs.

Read full article: 'Avoiding T-Junctions in LDraw Parts' (5285 bytes more) Printer-friendly page
Published By tcobbs on Nov 27, 2008 - 03:49 AM

This tutorial takes for granted that:

The LDraw Parts Library + MLCad - http://www.ldraw.org/Article126.html
LEGO Digital Designer - http://ldd.lego.com/

have been installed, are running smoothly and that you are at least a little familiar with both programs. The tutorial is based on MLCad 3.20 and LDD 2.3.15.

The LDraw and LDD libraries differ in color numbers, sometimes in part numbers, the fact that LDD parts are measured in millimeters while LDraw uses LDUs - LDraw Units, but most notably in the part's origin point. While LDraw parts have their origin in the middle of the part the LDD origin is in the bottom right-hand corner.

Tutorial_LDD_LDRAWorigin Tutorial_LDD_LDDorigin

The conversion between LDraw and LDD is governed by the ldraw.xml file which contains all the information about these differences. The file can be found in the "LEGO Digital Designer/Assets" directory (where "LEGO Digital Designer" is the directory in which LDD 2 is installed). Though the current LDD ships with a version containing a good bunch of translations compiled by the LEGO Universe Team and LDraw-Users you might replaced the file with an updated version that can be found at gallaghersart.com.

To install the file just go to the "LEGO Digital Designer/Assets" directory, back up the existing ldraw.xml and overwrite it with the latest version. Once this is done start or restart LDD and it will now use the updated list.

Importing a LDraw-File into the LEGO Digital Designer
 

Tutorial_LDD_Conversion1

1. Select the File menu and then the Import (Ctrl+I) tab (File > Import (Ctrl+I).

2. In the popping up dialog you first have to select Ldraw-Files (*.ldr) from the Files of type: drop-down box. Otherwise the dialog will show only its default LXF-Files (*.lxf).

3. You can now read LDraw files (but not MPD files). After hitting the Open button it should load your LDraw-Model although there are likely to be numerous mistakes due to oversensitivity of the LDD collision detection or not supported colors.

4. For the event you get this type of warning you should check the following:

  • Did you use parts not supported by LDD? The pallette of the supported LDD parts can be found at the LEGO Digital Designer homepage.
  • Contains your model parts in not supported colors? LDD's color pallette is in some ways limited by the bricks you can purchased through LEGO Factory. Therefore you can for example use a Brick 1 x 2 in all the colors below, but the LEGO Digital Designer will refuse to load an orange 1 x 2:
  • The part will not load because its translations hasn't been added to the ldraw.xml file yet or the internal LDD part number has changed. Please contact the LDraw Team if the part in question comes in the right color and is supported by both system but gives out an error. We will do our best to add the part for the next release.

Exporting a LEGO Digital Designer-file to LDraw
 

5. Select File > Export model (Ctrl+E) from the menu bar but don't forget to save your model first in LDD's own file format .lxf.

6. In the popping up dialog first select Ldraw-Files (*.ldr) from the Files of type: in the drop-down box. Additionally you might select the .lxfml file format which is a human readable version of the binary .lxf file and gives some very interesting clues about the part numbers used in LDD.

7. In the File name: drop-down box the LEGO Digital Designer proposes the name you saved the model with even after you have changed the file type. In case you don't change the file extension to .ldr - LDraw's official extension for models - the LEGO Digital Designer will ask you if you wanna substitute the already existing file and re-save your model in .lxf once you agreed to do so. It is therefore crucial that you delete the .lxf extension. Additionally you might type in the .ldr or change the file name to something completely different. After hitting the Save button will be exported to the selected folder although there are likely to be numerous mistakes.

8. Loading the file in MLCad you might get the warning above due to different part numbers in the LDD and LDraw library. Hit Yes and MLCad will upgrade your file. If there are still missing parts there are several reasons for:

  • The part used in LDD hasn't been certified yet and is therefore not part of the official library. Downloading the package containing all unofficial parts might solves the problem but be aware that those parts have to be treated with much care and should not be stored together with official LDraw parts. However there are tutorials which explain how to include these unofficial parts in programs like MLCad.
  • The part hasn't been authored as LDraw file yet. Though LDraw.org now gets parts from the LEGO Universe Team some files still need to be cleaned for the certification process at the LDraw Parts Tracker while others are still in the queue.
  • The part can be found in the official Library but it's translation is missing in the ldraw.xml file. Please contact the LDraw Team and tell them when you encounter such parts. We will do our best to add the part for the next release of the ldraw.xml. Let them also know if you find parts with wrong rotations or origin points.
Printer-friendly page
Published By Holly-Wood on Jan 27, 2008 - 12:38 PM

When the Lego Universe Team has started to share rough data of 80 parts http://www.ldraw.org/Article489.html and soon after I've got feedback from part authors that because of their excellent quality those parts were heavyweights and would give us a hard time reducing the file size I was curious to what extend I could strip them down. After approx. 10 working hours my part was cut by 92%.

Read full article: 'Preparing a L(EGO)Draw part for the Parts Tracker – A review' (3716 bytes more) Printer-friendly page
Published By Holly-Wood on Oct 04, 2007 - 02:09 PM

Title Banner
Along with creating entirely computer-generated images for the LDraw Scene of the Month contest, I create stop-motion films with LEGO bricks, sometimes called brickfilms. In the summer of 2006 I made a recreation of a scene from The Lord of the Rings: The Two Towers in which Saruman is giving a speech to a vast army of thousands of orcs below. The clip was only 27 seconds long, but it took about 2 months of work, most of it spent on a single wide shot created using the LDraw parts database and related software. For my February 2007 Scene of the Month entry, which ultimately won the contest, I decided to create an entry derived from a CGI shot used in the video. Read on and find out how to build an army.
Read full article: 'How to build an army' (6990 bytes more) Printer-friendly page
Published By Holly-Wood on Mar 07, 2007 - 02:44 PM




Read full article: 'Compositing 3D Models with 2D Scenes' (13947 bytes more) Printer-friendly page
Published By OrionP on Mar 29, 2004 - 05:28 AM




Read full article: 'Piston Movement' (13197 bytes more) Printer-friendly page
Published By OrionP on Feb 22, 2004 - 05:53 PM

    1234   >


Recipient 2011
Travis Cobbs

Want to learn more about LDraw? Check out the following books:




There are 34 unlogged users and 1 registered user online.

You can log-in or register for a user account here.





 


 Log in Problems?
 New User? Sign Up!

©2003-2011 LDraw.org, see Legal Info for details.
LDraw™ is a trademark owned and licensed by the Estate of James Jessiman
This website is powered by Peeron.com.

LEGO® is a registered trademark of the LEGO Group, which does not sponsor, endorse, or authorize this site. Visit the official Lego website at http://www.lego.com.
LDraw is a completely unofficial, community run free CAD system which represents official parts produced by the LEGO company.