Virtual LEGO: Intro to Free 3D LEGO Modeling Software By: Tim Courtney BrickFest™ PDX 2004 February 14, 10:00 AM Portland,...
Why Virtual LEGO? <ul><li>Document custom designs </li></ul><ul><li>Create your own instructions </li></ul><ul><li>Create ...
LDraw: The library and format that makes it happen <ul><li>Open-source project(s) born out of the early online LEGO commun...
Brief History 1995 2000 2005 1996: James Jessiman creates original LDraw/LEdit package 1997: James Jessiman dies Community...
Current Happenings… <ul><li>Stunning photo-realistic ray tracings using POV-Ray’s new radiosity settings </li></ul><ul><li...
Introductions – who are you?
What are the components of LDraw? <ul><li>Parts Library </li></ul><ul><li>LDraw Description Language </li></ul><ul><li>Too...
The LDraw Parts Library <ul><li>Fundamental to the LDraw modeling system </li></ul><ul><li>Over 2600 parts created to date...
The LDraw Description Language <ul><li>Text-based </li></ul><ul><ul><li>Files are light-weight and portable </li></ul></ul...
The System of Tools
Tools - Editors <ul><li>There are several programs to create your virtual LEGO models: </li></ul><ul><li>MLCAD (Lachmann) ...
Tools - Viewers <ul><li>Quickly view files </li></ul><ul><li>LDLite (Gyugyi) </li></ul><ul><li>LDGLite (Heyse) – OpenGL LD...
Tools - Converters <ul><li>Convert LDraw models to other 3D file formats. </li></ul><ul><li>Convert to POV-Ray </li></ul><...
Tools - Renderers <ul><li>Raytracers: The POV-Ray family </li></ul><ul><ul><li>POV-Ray – the most widely used renderer.  P...
Tools - Batch Automation <ul><li>New area in the LDraw world – automatically create all images needed to create building i...
System of Tools: Usage Model Build Model in MLCad Saved LDraw Model Convert to 3D File Format Batch Process Building Instr...
LDraw Description Language: Anatomy of LDraw Files <ul><li>0 Three Brick Stack </li></ul><ul><li>0 Name: 3 bricks.ldr </li...
Hierarchy Illustrated 0 Three Brick Stack 0 Name: 3 bricks.ldr 1 4 0 0 0 1 0 0 0 1 0 0 0 1 3001.dat 1 1 40 0 40 1 0 0 0 1 ...
Conversion: Primitive Replacement <ul><li>Other 3D software can </li></ul><ul><li> recognize rounded </li></ul><ul><li>obj...
Grid System and Connection Database Concept <ul><li>Remember, the LDraw system doesn’t have connection capabilities or col...
What Now? <ul><li>Start creating! </li></ul><ul><li>POV-Ray Scenes </li></ul><ul><li>Create building instructions </li></u...
MegaPOV 1.0
MegaPOV 1.0
LPub (and Photoshop for the layouts)
 
 
Resources <ul><li>Download the LDraw tools from the web!  www.LDraw.org </li></ul><ul><li>Online tutorials </li></ul><ul><...
Questions?
Upcoming SlideShare
Loading in …5
×

Virtual LEGO: Intro to Free 3D LEGO Modeling Software

12,214 views

Published on

A high-level introduction to the community-developed LDraw system of 3D LEGO software, the de facto library and file format for LEGO hobbyists to document and share their models via the Internet and highly-polished imagery and custom building instructions.

Published in: Technology, Sports
1 Comment
4 Likes
Statistics
Notes
  • well... were can i download?...
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
12,214
On SlideShare
0
From Embeds
0
Number of Embeds
234
Actions
Shares
0
Downloads
0
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide

Virtual LEGO: Intro to Free 3D LEGO Modeling Software

  1. 1. Virtual LEGO: Intro to Free 3D LEGO Modeling Software By: Tim Courtney BrickFest™ PDX 2004 February 14, 10:00 AM Portland, Oregon
  2. 2. Why Virtual LEGO? <ul><li>Document custom designs </li></ul><ul><li>Create your own instructions </li></ul><ul><li>Create stunning images </li></ul><ul><li>Virtual bricks are free, and come in any color (including the old grays). </li></ul>
  3. 3. LDraw: The library and format that makes it happen <ul><li>Open-source project(s) born out of the early online LEGO community </li></ul><ul><li>Available now for download </li></ul>QUACK
  4. 4. Brief History 1995 2000 2005 1996: James Jessiman creates original LDraw/LEdit package 1997: James Jessiman dies Community of users assume maintenance and development roles LDraw tools gain popularity among LEGO fans… 1999: LDraw.org Launched 2001: CAD Summit at LEGO Direct 2002-3: First books on LDraw tools written 2003: LDraw.org Standards Committee launched 2004: Organization Bylaws
  5. 5. Current Happenings… <ul><li>Stunning photo-realistic ray tracings using POV-Ray’s new radiosity settings </li></ul><ul><li>LDraw.org Standards Committee (LSC) </li></ul><ul><li>Bylaws Ratification vote – move towards a formal organization </li></ul>Super Car rendering by Jeroen de Haan POV-Ray 3.5 and Radiosity
  6. 6. Introductions – who are you?
  7. 7. What are the components of LDraw? <ul><li>Parts Library </li></ul><ul><li>LDraw Description Language </li></ul><ul><li>Tools </li></ul><ul><ul><li>Editors </li></ul></ul><ul><ul><li>Viewers </li></ul></ul><ul><ul><li>Converters </li></ul></ul><ul><ul><li>Renderers </li></ul></ul><ul><ul><li>Batch Automation </li></ul></ul>
  8. 8. The LDraw Parts Library <ul><li>Fundamental to the LDraw modeling system </li></ul><ul><li>Over 2600 parts created to date </li></ul><ul><li>Parts are community created, maintained, and certified </li></ul><ul><li>Parts Tracker: Mechanism for certifying and releasing new parts to the library for public consumption </li></ul>
  9. 9. The LDraw Description Language <ul><li>Text-based </li></ul><ul><ul><li>Files are light-weight and portable </li></ul></ul><ul><ul><li>The files are human readable! </li></ul></ul><ul><li>Simple to parse </li></ul><ul><ul><li>Hierarchy based on shapes & parts </li></ul></ul><ul><ul><li>Well defined line syntax </li></ul></ul><ul><li>Common LDraw file format </li></ul><ul><ul><li>Each level in the hierarchy identifiable by extension (.dat, .ldr, .mpd) </li></ul></ul><ul><li>Polygon-based </li></ul><ul><ul><li>Lacks support for cylinders and round objects </li></ul></ul><ul><ul><li>No mesh support </li></ul></ul><ul><li>Historical consistency guarantees compatibility </li></ul>The system is strong because of its simplicity and straightforward nature.
  10. 10. The System of Tools
  11. 11. Tools - Editors <ul><li>There are several programs to create your virtual LEGO models: </li></ul><ul><li>MLCAD (Lachmann) – Most popular current editor, for Windows </li></ul><ul><li>LEdit (Jessiman) – original DOS editor </li></ul><ul><li>LeoCAD (Zide) – Windows and Linux editor </li></ul><ul><li>BrickDraw3D (Olson) – New Mac software </li></ul><ul><li>Mac Brick CAD (???) – in development </li></ul>
  12. 12. Tools - Viewers <ul><li>Quickly view files </li></ul><ul><li>LDLite (Gyugyi) </li></ul><ul><li>LDGLite (Heyse) – OpenGL LDLite </li></ul><ul><li>LDView (Cobbs) – nice shading </li></ul><ul><li>L3Lab (Hassing) – diagnostic tools for parts authors </li></ul><ul><li>Interactivity with LUGNET’s DAT newsgroups </li></ul><ul><ul><li>Windows file associations </li></ul></ul>
  13. 13. Tools - Converters <ul><li>Convert LDraw models to other 3D file formats. </li></ul><ul><li>Convert to POV-Ray </li></ul><ul><ul><li>L2P ↔ LGEO (solid-based POV-Ray lib) </li></ul></ul><ul><ul><li>L3P/L3PAO – No extra library needed, however optionally uses LGEO </li></ul></ul><ul><li>Convert to other </li></ul><ul><ul><li>3DWin (shareware) </li></ul></ul><ul><ul><ul><li>3DS </li></ul></ul></ul><ul><ul><ul><li>Maya </li></ul></ul></ul><ul><ul><ul><li>AutoCAD </li></ul></ul></ul><ul><ul><ul><li>VRML </li></ul></ul></ul><ul><ul><ul><li>More! </li></ul></ul></ul>
  14. 14. Tools - Renderers <ul><li>Raytracers: The POV-Ray family </li></ul><ul><ul><li>POV-Ray – the most widely used renderer. POV is strictly code-based, it is not a modeler. </li></ul></ul><ul><ul><li>MegaPOV – unofficial build </li></ul></ul><ul><ul><li>of POV-Ray that offers post </li></ul></ul><ul><ul><li>processing and other features </li></ul></ul><ul><li>Others… </li></ul><ul><ul><li>The sky’s the limit! </li></ul></ul>
  15. 15. Tools - Batch Automation <ul><li>New area in the LDraw world – automatically create all images needed to create building instructions. </li></ul><ul><li>LPub – create building instructions based on steps in an LDraw file, supports advanced MLCad extensions </li></ul>
  16. 16. System of Tools: Usage Model Build Model in MLCad Saved LDraw Model Convert to 3D File Format Batch Process Building Instructions (LPub) Archive or Share Your Model Raw Building Instruction Images Building Instructions (laid-out pages) POV-Ray L3P 3DWin Rendered Image POV-Ray L3P Animation Image Maya, 3DS, AutoCAD, etc… Editor MLCad File Format Converter L3P 3DWin Viewer/Renderer LDView LDLite Output? Images or Animations Renderer POV-Ray/MegaPOV 3DStudio Batch Processor LPub Output Images or Animations
  17. 17. LDraw Description Language: Anatomy of LDraw Files <ul><li>0 Three Brick Stack </li></ul><ul><li>0 Name: 3 bricks.ldr </li></ul><ul><li>1 4 0 0 0 1 0 0 0 1 0 0 0 1 3001.dat </li></ul><ul><li>1 1 40 0 40 1 0 0 0 1 0 0 0 1 3001.dat </li></ul><ul><li>1 14 20 -24 20 1 0 0 0 1 0 0 0 1 3001.dat </li></ul>
  18. 18. Hierarchy Illustrated 0 Three Brick Stack 0 Name: 3 bricks.ldr 1 4 0 0 0 1 0 0 0 1 0 0 0 1 3001.dat 1 1 40 0 40 1 0 0 0 1 0 0 0 1 3001.dat 1 14 20 -24 20 1 0 0 0 1 0 0 0 1 3001.dat 0 Brick 2 x 4 0 Name: 3001.dat 0 BFC INVERTNEXT 1 16 0 24 0 36 0 0 0 -20 0 0 0 16 box5.dat 1 16 0 24 0 40 0 0 0 -24 0 0 0 20 box5.dat 0 STUDS 1 16 30 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 10 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -10 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -30 0 10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -10 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 1 16 -30 0 -10 1 0 0 0 1 0 0 0 1 stud.dat 0 TUBES 1 16 20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 1 16 0 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 1 16 -20 4 0 1 0 0 0 -5 0 0 0 1 stud4.dat 4 16 40 24 20 36 24 16 -36… 4 16 -40 24 20 -36 24… 4 16 -40 24 -20 -3 … 4 16 40 24 -20 … 0 Stud 0 Name: stud.dat 1 16 0 -4 0 6 0 0 0 1 0 0 0 6 4-4disc.dat 1 16 0 0 0 6 0 0 0 1 0 0 0 6 4-4edge.dat 1 16 0 -4 0 6 0 0 0 1 0 0 0 6 4-4edge.dat 1 16 0 0 0 6 0 0 0 -4 0 0 0 6 4-4cyli.dat 0 Disc 1.0 0 Name: 4-4disc.dat 3 16 0 0 0 1 0 0 0.9239 0 0.3827 3 16 0 0 0 0.9239 0 0.3827 0.7071 0 0.7071 3 16 0 0 0 0.7071 0 0.7071 0.3827 0 0.9239 3 16 0 0 0 0.3827 0 0.9239 0 0 1 3 16 0 0 0 0 0 1 -0.3827 0 0.9239 3 16 0 0 0 -0.3827 0 0.9239 -0.7071 0 0.7071 3 16 0 0 0 -0.7071 0 0.7071 -0.9239 0 0.3827 3 16 0 0 0 -0.9239 0 0.3827 -1 0 -0 3 16 0 0 0 -1 0 -0 -0.9239 0 -0.3827 3 16 0 0 0 -0.9239 0 -0.3827 -0.7071 0 -0.7071 3 16 0 0 0 -0.7071 0 -0.7071 -0.3827 0 -0.9239 3 16 0 0 0 -0.3827 0 -0.9239 0 0 -1 3 16 0 0 0 0 0 -1 0.3827 0 -0.9239 3 16 0 0 0 0.3827 0 -0.9239 0.7071 0 -0.7071 3 16 0 0 0 0.7071 0 -0.7071 0.9239 0 -0.3827 3 16 0 0 0 0.9239 0 -0.3827 1 0 0
  19. 19. Conversion: Primitive Replacement <ul><li>Other 3D software can </li></ul><ul><li> recognize rounded </li></ul><ul><li>objects where LDraw can’t </li></ul><ul><li>On conversion, polygonal LDraw primitives (a stud, for example) can be replaced with round objects for greater detail in 3D programs. </li></ul><ul><li>Example: POV-Ray – the L3P converter replaces studs with cylinders </li></ul>
  20. 20. Grid System and Connection Database Concept <ul><li>Remember, the LDraw system doesn’t have connection capabilities or collision detection </li></ul><ul><li>A grid system (based on the internal LDraw measurement system) exists to help you align parts </li></ul><ul><li>Some ideas have been passed around about a connection database, to be implemented in future versions of the LDraw language </li></ul>
  21. 21. What Now? <ul><li>Start creating! </li></ul><ul><li>POV-Ray Scenes </li></ul><ul><li>Create building instructions </li></ul><ul><li>Write parts for LDraw  </li></ul><ul><li>Export to another 3D format – the sky’s the limit! </li></ul>
  22. 22. MegaPOV 1.0
  23. 23. MegaPOV 1.0
  24. 24. LPub (and Photoshop for the layouts)
  25. 27. Resources <ul><li>Download the LDraw tools from the web! www.LDraw.org </li></ul><ul><li>Online tutorials </li></ul><ul><li>Buy a book! Virtual LEGO on sale here at BrickFest PDX! </li></ul>
  26. 28. Questions?

×