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

News

Software

Reference

Community

Parts Library

About Us

Reference > Tutorials
Published By OrionP on Monday, September 08, 2003 - 06:27 PM

Printer-friendly page

By: Jeroen de Haan and Jake McKee
Posted: March 26, 2002
Version: v1 rev.1 110202

Page 1 | Page 2 | Page 3 | Page 4 | Page 5 | Page 6

Chapter 4: A better first rendering

Yikes! It isn't what you hoped it would be, is it? It is a bit dark ...sort of a "car floating in space. Well you are right... the car is floating in space!

When making LDraw models, you usually don't need to define floors or backgrounds. Ldraw models look fine floating in space because of the flat, 2-Dimensional nature of the look. However, when you create a fully ray-traced model, you see something much closer to items in the real world that you see every day. When you see this "real" image, you expect it to also appear as though it is in a real environment. So let's fix this!

Open L3PAO again and choose the CAR.DAT again. If you look in the right side column, you will see two options: background (-b) and floor (-f)
Click the checkbox to select background. The default background color in L3PAO is black,however, for our new rendering we will choose a different color. Click on the big black square, and a color picker window will open. Choose a nice shade of blue from the predefined colors. Click "OK".

Now select the floor option. By default, the floor is a light shade of gray, but we have some options to change that. There is a pull-down menu were you can choose between "g" (gray) or "c" (checkered, like a chess board).

In addition, there is a box with "Y" above it. This is the distance between the model and the floor. By default, this number is zero and this means the lowest part of your model will touch the floor. You can adjust this distance to make different effects. For instance, if you wanted to render an airplane or other flying object, you can lower the floor to make the model appear to be flying.

For our rendering select the "g" (gray) floor option, and leave the Y field blank. This will provide a rendering of the car sitting on a gray floor.Now, let's see what these new changes do for the rendering. Before we convert the file with these new options, let's change the "output name" of the file, to avoid overwriting our original car.pov file. In the "POV-Ray Output File" field at the top of the interface, change the name CAR.POV to CAR01.POV.

Now we are all set, so hit "Run L3P", and when it is done converting, switch back to POV-Ray, load the new CAR01.POV file, and Hit the "Start/Run" button to render.
Note if you check off "Render upon complete" in L3PAO. L3PAO will open POV-Ray for you automatically and render the image using the last setting that POV-Ray had.

The result should look something like this:

Ah, that looks much better!

Because we have added the added floor, much more light will reflect back on the car, so the car looks much better. In addition, the car casts shadows on the floor so you get a lifelike image. The background will reflect light in the same manner as the floor, but since the background color is blue, the light being reflected is also somewhat blue. You can always change this by changing the background color to white.

Next stop: camera and lenses!

Page 1 | Page 2 | Page 3 | Page 4 | Page 5 | Page 6




Recipient 2007
Kevin Clague

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




Current Contest Winners

Model of the Month


Scene of the Month



Vote for Next Month's Winner

Submit Your Creation for Next Month's Contest

What's new in lugnet.cad?

Re: "LGEO" and "L3P v1.4 BETA 20080930"
by Jeff Boen - 3 hours ago

Re: Looking for part - Hinge Arm 2x2x6
by Dave Heintz - 3 hours ago

Introduction to LPub 4 video
by Jim DeVona - 5 hours ago

Re: Looking for part - Hinge Arm 2x2x6
by Michael Heidemann - 8 hours ago


There are 67 unlogged users and 0 registered users online.

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





 


 Log in Problems?
 New User? Sign Up!

©2003-2008 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.