Home

Tutorials

Guestbook

Links

Videos

Disclaimer

Wallpapers

Forum

  :: MYCADSITE.COM > TUTORIAL 3.17 INTRO TO LIGHTING ::

3.17 - LIGHTS, CAMERA, RENDER!
         

LESSON 3-1

INTRODUCTION TO 3-D

 

LESSON 3-9

ADDING MATERIALS

LESSON 3-2

ISOMETRIC DRAWING

 

LESSON 3-10

PRIMITIVE SOLIDS

LESSON 3-3

WORKING IN 3 DIMENSIONS

 

LESSON 3-11

BOOLEAN OPERATIONS

LESSON 3-4

VIEWING 3-D OBJECTS

 

LESSON 3-12

CHANGING FROM THE WCS TO THE UCS

LESSON 3-5

BASIC WIREFRAME MODELS

 

LESSON 3-13

MAPPING MATERIALS

LESSON 3-6

LINE THICKNESS

 

LESSON 3-14

CREATING NEW MATERIALS

LESSON 3-7

REGIONS AND 3-D FACES

 

LESSON 3-15

EXTRA PROJECTS AND A TUTORIAL

LESSON 3-7a

MORE ABOUT EXTRUDING & LOFTING

 

LESSON 3-16

PUT IT ALL TOGETHER - MODEL A BUILDING

LESSON 3-8

REVOLVED OBJECTS

 

LESSON 3-17

INTRODUCTION TO RENDERING AND LIGHTING

 

Topics covered in this Lesson:

Basic Lighting and Rendering


If you have successfully worked your way through this level, you should be able to create some decent looking models in AutoCAD. The next step is learning to render them. This lesson will include a look at the new lighting and rendering options in AutoCAD 2007.

Looking at the image below, from Lesson 3-16, you'll notice that it has a background of clouds, shadows and looks (if you squint) real. You should already know how to create the model, view in a perspective view, add materials, map them and look at them in the viewport. The next step is to create lighting, add a background and render the scene out to a file.

Building Project

This lesson will use the house model as an example. If you didn't draw it (yes, you should have) here is file that you can download as well as the textures used.

FILE

FILENAME

Building drawing file

building.dwg

Roof material

grey_roof_slate.jpg

Grass material

grass.jpg

Wall material

stucco_white.jpg

Door material

door.jpg

Sky background

sky.jpg

Here's the drawing 'as-is' with the Visual Style set to Realistic - with materials added, but not mapped.

Rendering in AutoCAD 2007
Note that it looks very rough at this point

Now with the materials mapped, it's starting to look more realistic:

Rendering in AutoCAD 2007
Looking better, but not there yet.

Next step is to add a background to the scene. To do this, you'll have to create a new view. Set up a perspective view similar to what's shown above (see Lesson 3-4) and name it using the VIEW command. The comes witha ready made perspective view (PERS). Click on this. Under the General settings, you will see one for Background. Select this and choose Image. This overrides other background settings used in other views.

View Dialog in AutoCAD 2007

Find the sky.jpg and select it in the next dialog, then select the "Adjust Image " button.

Background Dialog in AutoCAD 2007

This will give you the next dialog that allows to scale the image for the background. This is similar to setting your Windows desktop background. Choose Stretch in this example.

Adjusting the background in AutoCAD 2010

Press OK and OK and Apply and OK to get back to the drawing screen. If all went well, then it should look something like this:

Rendering in AutoCAD 2007
Ok, not the best background, but you now know the concept.

So now you have the model, the materials, the mapping and the background. All that is left is some light and shadows. There are three types of lights in AutoCAD: Point, Spotlight and Distance. I'll show how each one is created and adjusted.

One form of a distance light is the Sun (most distance of all light).

Work offline! Buy the myCADsite.com CD - only $20

To do this, type in SUNPROPERTIES or (menu: Render > Sun and Location). It will give you this palette:

Sun Properties in AutoCAD 2007

This palette allows you to control the Sun. Yes, it sounds very powerful, and it is.

First you must turn on the Sun, if it isn't already. Then select the time and day sometime you like (in daylight). Finally, pick on the "Launch Geographic Location" button shown to the left. This will open a dialog that will allow you to pick the nearest city to you or your exact co-ordinates.

As you set it, you should see the results in your drawing area. If it seems too bright, you can also adjust the intensity of the Sun.

Try different settings until you get the look that you like.

Note: If you selected Las Vegas as your Location, and you have lawn, your water bill will be quite expensive.

To render the scene, type in RENDER. You should get something like this:

Rendering in AutoCAD 2007

Now that you see how it works, you can try different settings. Earlier in the day should produce longer shadows than at midday.

You can also control the sun from the ribbon.

Sun Settings Ribbon in AutoCAD 2010

The button the left for Sun Status will turn the sun On or Off (in the image above, it is on). This is a quick way to work with the sun. You can also type in SUNSTATUS and give the variable 1 (on) or Zero (off).

Spotlight

The next type of light to add is a spot light. We're going to add a safety light above the door for night time. First you want to change the background from the sky image to night. Instead of using another image, choose the gradient option in the View Manager > Background Option. Try to get a black to dark blue gradient.

Gradient Background in AutoCAD 2010

If you perform a render now, you will get a nice twilight background and generic lighting.

Rendering in AutoCAD 2010

For something a little more dramatic, it's time to add a spotlight. This will be placed under the peak of the roof and point straight down.

Look for the Lights Tool Panel on the Render ribbon.

Create a light in AutoCAD 2010

This is easy enough - just click on the button and you will have the choice of where you want your light and what direction you want to point it. In this example, pick the endpoint (osnaps) under the peak of the roof and point straight down to the ground (ortho).

Place a spotlight in AutoCAD 2010

Once your light is placed, press <ENTER>. Now select the light glyph and you will see the default spread of the beam that the light will cast. (You might want to switch to your SW ISO view first).

Radiating from the glyph are two cones. The outer one is for falloff, the inner one is for hot spot. Think about how a flashlight works. You have an intense beam in the middle, then it dissipates out to the sides. By clicking on the bottom of the cones, you can adjust these settings easily.

Spotlight in AutoCAD 2010

Make some adjustments (go back to your pers view) and then perform a render. Pretty cool, eh?

Spotlight Rendering in AutoCAD 2010

Point Light

Another light option is a point light. Think of this a light bulb you would have in a reading lamp. Point lights radiate light in all directions evenly (unlike the directional spotlight). In this example, we're going to add a point light inside the building and let its light shine out the windows. We'll keep the twilight look.

From the same light tool panel that you used to place the spotlight, select Point Light and place inside the building in the larger room. Check from other views to make sure that you placed it correctly. You may find that you need to move it. Once you have it placed, perform a render.

You will probably find that the light isn't very bright. In fact it needs to be brighter to show through the windows. Click on the point light glyph and press CTRL+1 to bring up the properties palette.

Light Properties in AutoCAD 2010

In the image above, you can see the I have changed the Intensity Factor to 6. This should make the light bright enough to be seen. Change this setting in your drawing and try another render.

Below is what I have after moving the view slightly (with 3DO) to show more of the ground where the light from the window hits.

Renderin in AutoCAD 2010

Now that you have a decent looking image, you can try some more settings. try increasing or decreasing the Intensity Factor for the Spotlight. Try adding another point light inside. Remove the interior door to get light into the small room. Try adding a street light to light the exterior of the building a little. Add a Distance light off to the side and try different intensities. Yes, I know I didn't show you how to add a Distance Light, but I believe that you can figure it out now (distance light is the easiest).

To see how many lights you have in your drawing and access them quickly for changing settings, click on the bottom right corner of the Lights tool panel.

Lights in Model

Draw a light for the safety light and put the spot light where the bulb should go. Add some window panes to get more dramatic lighting.

The most important thing with lighting is to experiment. Try different locations and settings. Now that you know the basics, it's up to you to explore.

Render Settings

Now when you render a final image, there are many options available to you. Mostly it depends on the end use of the rendering.To adjust these settings, type in RPREF (Render > Advanced Render Settings...) to get this palette full of options.

Render settings in AutoCAD 2007

To get a good quality rendering like the one above, set the top setting to Presentation. This will set the defaults to the best settings. Make sure that you have materials and shadows on. Render out to the window and choose the size that you want it to be. Once you have the setting you want, type RENDER again and view your results. If you like what you have done, you can save an image file from the render window.

Saving a render in AutoCAD 2007

That's the basics of rendering, practice with different settings and even experiment with light.

Once again, you have learned some easy tools that will allow to produce a good rendering of an object. Of course there are many variations and a lot of detail would go into a larger corporate presentation, but it only takes time, practice and experience.

For practice, many people will measure out their home and model it and then render it. This is a great exercise. Also, here is a good site that offers some more advanced 3D exercises.

Return to the Top of the PageRETURN TO THE TOP OF THE LESSON | RETURN TO THE TABLE OF CONTENTS

CONTINUE TO THE NEXT LEVEL - 4-1 >

TAKE THE TEST FOR THIS LEVEL

ECS Group Advertise on myCADsite.com
Go to Tenlinks.com TenLinks CAD Portal TenLInks CAD Portal

Owned and operated by Art Whitton, Chester, NE
This web site is protected by Copyright 1999-2010©

Last Update:

users online