Home Business & Other Lumion 3D Cookbook

Lumion 3D Cookbook

By Ciro Cardoso
books-svg-icon Book
eBook $28.99 $19.99
Print $47.99
Subscription $15.99 $10 p/m for three months
$10 p/m for first 3 months. $15.99 p/m after that. Cancel Anytime!
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with video?
Stream this video
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
What do you get with Exam Trainer?
Flashcards, Mock exams, Exam Tips, Practice Questions
Access these resources with our interactive certification platform
Mobile compatible-Practice whenever, wherever, however you want
BUY NOW $10 p/m for first 3 months. $15.99 p/m after that. Cancel Anytime!
eBook $28.99 $19.99
Print $47.99
Subscription $15.99 $10 p/m for three months
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook + Subscription?
Download this book in EPUB and PDF formats, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with video?
Stream this video
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
What do you get with Exam Trainer?
Flashcards, Mock exams, Exam Tips, Practice Questions
Access these resources with our interactive certification platform
Mobile compatible-Practice whenever, wherever, however you want
  1. Free Chapter
    Importing in Lumion
About this book
Publication date:
June 2014
Publisher
Packt
Pages
258
ISBN
9781783550937

 

Chapter 1. Importing in Lumion

In this chapter, we will cover the following recipes:

  • Importing your own 3D models

  • Importing animations from 3ds Max

  • Navigating in Lumion

  • Relocating your imported 3D models

  • Reverting your last action

  • Locking your 3D model's position

  • Organizing your 3D world with layers

  • Updating your imported 3D models

  • Replacing an imported 3D model

 

Introduction


Welcome to the first chapter of Lumion 3D Cookbook, which will assist you in developing and improving your workflow in Lumion. The main focus of this opening chapter will be in getting your 3D model properly imported in Lumion and your 3D scene organized. The nine recipes mentioned in the beginning of this chapter will cover some basic concepts that will help you to get an excellent and strong foundation for building the entire 3D world on top of it. As you will find throughout this Cookbook, Lumion is a powerful application, but the most significant aspect that you need to keep in mind is not to be afraid to experiment and have fun. Be curious and when reading one of these recipes, ask yourself what if, and this will help you to master Lumion.

 

Importing your own 3D models


Lumion supports a direct import of SketchUp files, which means that we don't need to use any special format to have our 3D model in Lumion. But if you are working with modeling packages, such as 3ds Max, Maya, and Blender, you need to use a different approach by exporting a COLLADA or FBX file as these two are the best formats to work with Lumion.

Getting ready

COLLADA is an XML namespace and database schema that allows you to move 3D files between 3ds Max, Maya, Revit, and Lumion. Each application is different, but in most cases, we just need to export or save our scene as a COLLADA file or an FBX file.

How to do it…

Let's start by launching Lumion with the following steps:

  1. Launch Lumion.exe located in the Lumion folder, or use the shortcut on the desktop. You will be presented with an interface, as shown in the following screenshot:

  2. From the New tab, select one of the nine different presets to begin your new project, or just use the Grass scene to start with a basic scene. Each scene only differs in the type of weather, time of day, and terrain; nothing you couldn't get with a few minutes of work.

  3. From the left-hand side of the screen, select the Import menu and click on the Add a new model button, as you can see in the following screenshot:

  4. In the new window, navigate to where your 3D model it is, select it, and click the Open button. You may need to select the proper object file extension if you are not seeing the file.

  5. Give a specific name for your imported model, or you can just leave the default name and click on the Add to library button.

  6. Use your mouse and the keyboard shortcuts to navigate around your scene, and left-click to place the 3D model inside Lumion.

There's more…

This recipe is a really straightforward task as you can see, but is one of the most important tasks once you start working with Lumion. It is at this stage that you can be sure that everything is OK with your 3D model and make sure that you don't have any missing faces or other geometry problems. This step also assists you in checking if you have worked with the correct scale, so if your model is either extremely large or very small, you need to go back to your 3D modeling package and correct the scale. With all these things in mind, we now have a good base to start working with Lumion.

Another tip; we sometimes overlook the reality that even though Lumion is a very powerful application and can handle millions of polygons, it still has limits. So, if initially you just want to organize and populate your scene without paying too much consideration to the 3D model itself, it is good to create a proxy or a simple representation of your 3D model and import that proxy, and then later with a special feature in Lumion, reimport your high-poly model.

See also

  • To import animations, check the Importing animations from 3ds Max recipe in this chapter

  • To help you navigate in Lumion, have a look at the Navigating in Lumion recipe in this chapter

 

Importing animations from 3ds Max


In particular situations, we may need to use our own animations. You may be aware that we can import basic animations in Lumion from 3D modeling packages such as 3ds Max. This recipe is going to help us to understand how we can import such animations and the limitations associated with these external animations.

Getting ready

Prior to importing an animation into Lumion, we need to check a few things first. Lumion doesn't support vertex, morph, and bone animations, and we can only bring in basic animations on the move, rotate, and scale values. The frames per second (FPS) rate needs to be set to 25, and you can export your animation as an FBX file or DAE file, although with the last option, the interpolation between key frames will be linear, so bear that in mind.

How to do it…

With Lumion launched, perform the following steps:

  1. On the left-hand side of the screen, select the Import menu and click on the Add a new model button.

  2. In the new window, navigate to where you have your 3D model, select it, and click on the Open button.

  3. Give a specific name to your imported model, or you can just leave the default name, and select the Import animations checkbox, as you can see in the following screenshot:

  4. Click on the Add to library button to import your 3D model.

  5. Use your mouse and the keyboard shortcuts to navigate around your scene, and left-click to place the 3D model inside Lumion.

  6. After placing the 3D model, you can see the animation going in a loop, which means that you will need to use some Layers effects in order to control these external animations.

There's more…

It's true that Lumion allows you to import simple animations, but most of the time, this is not the best solution. Why? First, once the animation is in Lumion, you have little control over it, and second, only basic animations with the move, rotate, and scale values are possible in Lumion. It's true that we can use a specific layer to switch the animation on and off when required or use the Objects effect to control the position of the animation, but we still have limited control.

However, there is one particular situation when we may import an animation from Maya or 3ds Max. It's when we have a walk cycle of a person that we want to use in Lumion, and in this circumstance, we import this object along with the walk cycle and use the Advance move effect or the Move effect to control it.

Note

In animation, a walk cycle is a series of frames or illustrations drawn in a sequence that loops to create an animation of a walking character. The walk cycle is looped over and over, thus having to avoid animating each step again.

 

Navigating in Lumion


Lumion uses the flexibility of shortcuts to improve the control we have in the 3D world. This recipe will focus on how to use some of these shortcuts to improve the workflow and the way we control Lumion's camera.

How to do it…

With Lumion launched and with a scene open, perform the following steps:

  1. To look around, right-click and move the mouse to look inside your 3D world, and if you want to reset the camera to the horizontal viewpoint, use the combination Ctrl + H. In the Settings menu, you can invert this action by activating the Enable Inverted Up\Down Camera Pan option.

  2. The arrow keys along with the combination WSAD are used to move the camera, and the keys Q and E are used to move the camera up and down.

  3. Use the middle mouse button to pan the camera; this gives you very accurate control.

  4. Press the Space bar key along with the arrow keys or with the combination WSAD to slowly move the camera.

  5. Lumion has a sort of zoom on to the object option that we can use by double-clicking with the right mouse button on a model or even on the ground.

There's more…

The reason why we bring up these shortcuts is that when working with the Photo and Video modes, we need a more precise and accurate way to move the camera to create the perfect composition. However, there is an additional option that will be very handy in the final stages when we want to produce a movie or a still image.

That's the option to save and load the specific camera viewpoints. Use the Ctrl + 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 to save up to 10 camera positions and the combination Shift + 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 to load the saved camera viewpoints. Then we can use these saved viewpoints in the Photo mode, as shown in the following screenshot where each thumbnail represents the camera viewpoint saved previously:

 

Relocating your imported 3D models


Once we import a 3D model or even if we use a model from the Lumion library, we need to adjust the position, the orientation, and the scale of the 3D model. But keep in mind the importance of organizing your 3D world using layers as well. They are free and they will become very useful when we need to hide some objects to focus our attention on a specific detail or when we use the Hide layer and Show layer effect.

Getting ready

If we want to rearrange a 3D model that is imported, choose the Import menu, but if we need to move a model in the Lumion library, select the Objects menu. In both situations, we are going to use the same steps, so I will just use the expression "3D model" to refer to both the models.

How to do it…

With our scene opened, perform the following steps:

  1. Select the 3D model, and if you need to select multiple objects, use the combination Ctrl+ the left mouse button to draw a rectangular selection.

  2. Press the M key to move the 3D model.

  3. To place the 3D model on the ground, press the G key.

  4. If you are moving the 3D model in a terrain with variations, press the Shift key to turn off the horizontal snapping.

  5. If you want to copy the selected objects and paste them in a different location, press the Alt key while moving your objects.

  6. Don't forget that we can use the L key to scale the 3D model, the R key to rotate the object, and the H key to move the 3D model vertically, as you can see in the following screenshot:

Another option that is more accurate is as follows:

  1. In the Import or Objects menu, select the Edit properties submenu.

  2. Select the 3D model.

  3. In the 3D model properties window, type in the new coordinates, as you can see in the following screenshot:

How it works…

If our 3D model is not moving and we didn't lock it, this is because we have the wrong category selected. This means, for example, that in order to move a tree we need to select the Nature category.

There's more…

Here is a tip to help us improve the workflow while placing and moving the 3D models. We may know where we want the trees or other 3D models to be placed, and sometimes we have the freedom to choose this, but in most cases, we will get a landscape project with this information. While working in the 3D package (3ds Max, Maya, or SketchUp), create small cubes (100 mm x 100 mm) with different colors that correspond to different elements. They can represent a specific type of tree, bushes, hedges, flowers, and lamps, and we import these small cubes with the 3D model in Lumion.

In Lumion, create a top view with the camera (don't forget to save it using the combination Ctrl + 0, 1 to 9) and with the aid of this viewpoint, we can start composing a 3D world and place the trees and other objects where the small cubes are. Then, if necessary, assign the invisible material to these cubes to hide them. With this workflow, we can be sure that everything is in the correct place and we don't need to lose time arranging the entire scene. Oh and don't forget to use layers; we will cover some recipes later that will help you with this.

See also

  • To organize your 3D world with layers, check the Organizing your 3D world with layers recipe in this chapter

 

Reverting your last action


At a certain point in our project, we will need to go back and undo a mistake or something that doesn't look as expected. Lumion offers you a very limited undo option. Let's see how it works.

Getting ready

This option depends on which menu you have selected, because in some menus, such as the Weather menu, you can't find it at all.

How to do it…

With our scene opened, perform the following steps:

  1. Right-click on the model to place a model or to change the terrain.

  2. To revert this last action, click on the Undo button that you will find at the bottom of the menu, as shown in the following screenshot:

  3. As you can see, in the previous recipe, we used the Move object tool to move the 3D model and the Undo button appears, giving us the opportunity to undo the movement.

There's more…

That's it? Yes, and as you can see, this undo feature is very limited. I trust that in the future versions of Lumion, we will get a little more than just one single undo. However, the rationale for introducing this easy recipe is to show you the two ways to overcome this restriction.

The first option is using the F5 key to do a quick save before importing a model or changing an object's position, but unfortunately, there is no option to do a quick load. The second option saves various versions of your work, particularly when doing a big change, such as replacing all the trees for another type, changing the environment or the landscape. By saving various versions, we can always go back to a specific point and start over.

So, this undo option is very limited, and the only time I really wish to have more flexibility is when I am modeling a terrain, but have a look at the following recipe to help you with modeling a terrain.

See also

  • To have more control over the terrain, have a look at the Working with heightmaps recipe in Chapter 4, Constructing Your World

 

Locking your 3D model's position


When working with Lumion, and in particular, when organizing our 3D world, and arranging and adjusting the 3D models, we might find the possibility of locking the 3D model's position to be useful. This helps us to avoid selecting and unintentionally moving other, already placed 3D models.

Getting ready

To get prepared, you need to select your 3D model or multiple models, and for that don't forget to use the Context menu that we can find inside the Import and Objects menu.

How to do it…

With the 3D model or models selected, perform the following steps:

  1. Select the Context menu.

  2. Chose the Transformation submenu.

  3. Select the Lock position... option.

  4. Click on the On option to lock, or the Off option to unlock, as you can see in the following screenshot:

There's more…

Another way to guarantee that our 3D models are locked and we don't move them accidentally is using layers and then hiding them while we work with 3D models.

 

Organizing your 3D world with layers


From the beginning of our project with Lumion, it is very important for us to organize and categorize our 3D world. Sometimes we may not do this straightaway, and only after importing some 3D models and adding some content from the Lumion library we realize the need to organize our project in a better way. So, we are going to see how to use layers and how to assign the existing 3D models to a new layer.

Getting ready

Remember that the Layer menu will only appear when we have the Import or Objects menu selected.

How to do it…

With our scene opened, perform the following steps:

  1. Select the Import or Objects menu.

  2. On the top-left corner of the screen, you can locate the Layer menu, as shown in the following screenshot:

  3. Select the Layer 1 option and rename it for something more precise, such as Trees.

  4. With this layer selected, go to the Objects menu.

  5. Add a tree to your scene.

  6. At this moment, the tree you added is inside the layer Trees, and you can hide or show this layer by clicking on the icon that represents an eye.

If you want to add a 3D model to a layer, perform the following steps:

  1. Select the 3D model.

  2. Go to the Layer menu and select the correct layer.

  3. Use the Move selection to layer button to move your 3D model to the layer you want, as you can see in the following screenshot:

There's more…

We can create up to 20 layers, which gives plenty of room to make full use of the layers feature. Don't forget that in order to use these layers, we need to select the correct layer before placing or importing a 3D model of our scene; otherwise, the 3D models will be placed in the first layer or the layer you have selected. Having our scene arranged with layers will also help us to know if our workstation is starting to struggle with the amount of 3D models we have in Lumion, and switching off a few layers will give us a little room to breathe and improve the speed.

See also

  • To control the layers, check the Animating the layers recipe in Chapter 10, Bringing Your World to Life

 

Updating your imported 3D models


Over the course of a project, it is very common to have certain 3D models updated, and we need to update those 3D models into our Lumion project. This can be a rather daunting task, taking into account that most of the time these updates in the 3D models happen after we have already assigned materials to the imported 3D model.

Getting ready

Before we update the 3D model into Lumion, it is vital that we save or export the 3D model with the same name that we used to import into Lumion. This means that we need to overwrite the old file (we can always create a backup) so that we can update the 3D model in Lumion successfully.

How to do it…

With the Import menu selected, perform the following steps:

  1. Select the Edit materials menu.

  2. Then click on the small white dot on the 3D model to select the model.

  3. Click on the Reload model and re apply materials button, as you can see in the following screenshot:

  4. Click on the OK button to accept the changes.

There's more…

As a safety practice, we might want to save our old files in case something goes wrong. Typically, I rename the file to something like House_OLD_01-13.dae (.dae is the extension for the COLLADA files and is just for reference purposes). The OLD tag is self-explanatory, showing that this is an old file and the 01-13 tag represents the month and the year it was created. If the project is complex and there are a few modifications, just create a text file where the 3D models are stored, and in this text file write something like the following:

  • House_OLD_01-13.dae -> Fence replaced

  • House_OLD_02-13.dae-> Window ground floor replaced

Why should we go this extra mile and do this? Well, the reason is that when we are working on large projects, they can take weeks and even months to be completed, and a complex project always goes forward and back with changes, which means that something you changed last month may be back after a few weeks because the client changed their mind. With this text file we don't need to open every single file to check where we did the change.

 

Replacing an imported 3D model


Sometimes during the project we may face a radical change in a 3D model we have already imported into the Lumion project. The worst scenario is reassigning all the materials to the new 3D model and perhaps relocating to the correct place. However, Lumion has an option to help us with this and to avoid reassigning all the materials or at least not all of them, and the 3D model will stay in exactly the same place.

Getting ready

Before we begin replacing the 3D model, we may want to save another version just in case something goes wrong, and another safety measure is saving a material set as a backup.

How to do it…

With the Import menu selected, perform the following steps:

  1. Select the Edit materials menu.

  2. Click on the small white dot on our 3D model to select the model.

  3. On the bottom-right corner of the screen, we can see the Reload model and re apply materials button.

  4. Press the Ctrl key to activate the Reload model and re apply materials new file button, as you can see in the following screenshot:

  5. Click on the Reload model and re apply materials new file button to open a new window.

  6. Select the file and click on the Open button.

  7. Click on the OK button to accept the changes.

There's more…

In most situations, this will work as long we don't modify the names of the objects inside the 3D file. What that means is, for example, we can change the size, rotation, and even the position of the wall_01 object, and when we reload the model, the material that was assigned to the wall_01 object will be the same. However, if you change the name of the object for something like Wall_01, just the fact that you used a capital letter will be enough to confuse Lumion, and the material will not be assigned.

See also

  • To save the materials assigned to the model, check the Saving materials recipe found in Chapter 6, Working With Lumion Materials

About the Author
  • Ciro Cardoso

    Ciro Cardoso is an experienced 3D artist and a trained author with an architectural background who started experimenting with creative software and 3D software back in 2000. In 2005, he was running his own small multimedia business and worked on projects as diverse as graphic designing, CAD services, and architectural visualization; more recently, he started using Lumion successfully for high-end projects in more than six countries. He is quite literate with software in general, with extensive expertise with Maya, 3ds Max, AutoCAD, Photoshop, Lumion, Unreal 4, and Bentley MicroStation. He is also the author of several books about Lumion and is now working in London.

    Browse publications by this author
Latest Reviews (1 reviews total)
Every Link results in a 404 error, I can't download anything, this is a sizable order...
Lumion 3D Cookbook
Unlock this book and the full library FREE for 7 days
Start now