By: Jeroen de Haan [3] and
Jake McKee [4]
Posted: May 11, 2002
Version: v1 rev.1 110202
Page 1 | Page 2 [5] | Page 3 [6] | Page 4 [7] | Page 5 [8] | Page 6 [9]
Knowledge Requirements
What your reading now is a beginners guide to L3P/L3PAO and POV-Ray. It assumes you have some
knowledge of and experience with LDraw and one or more of its editors (such as MLCAD, LeoCAD, BrickDraw3D, etc)
and creating models. What it wants to provide is a step by step guide of converting LDraw-models
to POV-files and rendering them and what options you have when converting or rendering. What you
won't find here is how to create models or parts.
Some chapters are on the practical side; you will do things after reading it. Other chapters are more theoretical, for example about cameras and lenses or color and light. Please read these chapters too. We try to make them as short and "light" as possible but they are important to understand some of the functions and options of L3P and POV-Ray.
Chapter 1: Introduction
So you have made some models; your own or existing Lego models. Now you want to have a nice
picture of it, like the ones you see on Brickshelf [10] or on other people's websites. However,
your editor for LDraw can't so how do people do that? What you need is three programs and some
additional files:
L3P is a DOS-program. It uses switches to call certain options. So for example, when you want your model with a certain camera position and background color you have to type the following in the DOS-prompt: L3P.exe tp-7745.dat tp-7745.pov -cc0,-96,-250 -ca45 -b0.000,0.000,0.251 -o You have to know (all) the options and their acronyms and when you make a typo, (and who doesn't now and then) you have to type it all over again. Or if you want a batch of models you have to retype the whole line over and over again.
This is why J. Boen created L3P AddOn, a graphic interface for L3P where you can turn on or off options in an easy way AND can save these options in "scenes" or snapshots.
POV-Ray is a freeware program to create and render computer generated pictures or animations. POV-Ray has no graphical interface in the sense that you see what you create; it has a source window where you type text commands and you can see what you created when you render the picture. Luckily, you don't have to learn all these commands; L3P creates a ready to render POV-file!
The LGEO-files for POV-Ray are files that POV-Ray uses to substitute some of the LDraw parts. The LGEO-files look better; cylinders are rounder, sloped bricks have that sandpaper structure, etc. They are also harder to render for POV-Ray; you will need lots of memory to use them.
However, before you can make a nice rendering of your model you have to download the above mentioned software. Best place to start is http://www.ldraw.org/download/win/. Go to the download section and click the appropriate links. We going to guide you with installing the programs but please read the installation guides of each program carefully!
Chapter 2: Downloading and installing L3P, L3PAO and POV-Ray and LGEO
LGEO-files
We will start with the easiest: the LGEO-files.
L3P
L3P comes in two flavors: a 16-bit version and a 32-bit version. We recommend the latter because it is
a bit faster, can handle long directory names (but no long filenames!) and can handle large LDraw files.
6. Now L3P has to know where it can find the LDraw parts and models. On the new line type:
SET LDRAWDIR=C:\LDRAW (see below)
assuming the LDraw-directory is there. If you have placed it somewhere else please type the correct directory tree after C:\
7. L3P also needs to know where the LGEO-files are so in a new line under the SET LDRAWDIR line type:
SET LGEODIR=c:\ldraw\lgeo
Now every time you start up, DOS will read these commands and "know" where L3P is and where to find the LDraw parts and LGEO-files.
8. So, before going further with the L3PAO installation, please restart Windows.
L3PAO
POV-Ray
POV-Ray comes as POVWIN3.EXE. Download it and place it in a temporary directory. Now follow these 10 steps:
Well that was easy wasn't it? You are ready to go now!
Tips
Page 1 | Page 2 [16] | Page 3 [17] | Page 4 [18] | Page 5 [19] | Page 6 [20]