Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Photographic Rendering with V-Ray for SketchUp
Photographic Rendering with V-Ray for SketchUp

Photographic Rendering with V-Ray for SketchUp: Turn your 3D modeling into photographic realism with this superb guide for SketchUp users. Through concrete examples, screenshots, and images, you'll learn the practical side to photographic rendering using V-Ray.

eBook
$9.99 $32.99
Paperback
$54.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

Photographic Rendering with V-Ray for SketchUp

Chapter 1. Diving Straight into Photographic Rendering

What should the first chapter of a book looking at photographic rendering in V-Ray 2.0 for SketchUp be all about? That was the question I had to ponder as I started developing the material that would be included in this book.

Should we spend time looking at the current state of the art regarding photographic and photoreal rendering in the CG industry? Should we delve into a technical explanation of exactly what it is that people are referring to when they make use of the terms photographic and photoreal rendering?

What this chapter is all about


Well, after quite a bit of deliberation, much of which was shaped and brought into focus by the hands-on approach to learning that Packt Publishing themselves advocate, I decided to follow the advice of a well-worn axiom: dive right in at the deep end. In other words, develop an introductory exercise chapter that might typically be found at the end of a publication such as this one, often in the form of a "putting it all together" type exercise.

My reasons for opting to take this somewhat turned-around approach were three fold:

  • Firstly, as already noted, this approach suits the philosophy promoted by the publishers themselves, which is that learning ought to be as much of a hands-on experience as possible; one that engages and involves the student rather than one that is passive and possibly even tedious.

  • Secondly, it gives users, who are brand new to photographic rendering of any kind, the opportunity to see just how easy it can be once they have figured out how to work with the tools of the trade—in this case, SketchUp and V-Ray Version 2.0. My hope is that this chapter can help strip away the mysticism, the trepidation, and maybe even some of the frustration that can result from not understanding how something works.

  • And finally, for users who may already be familiar with the general principles of photographic rendering but who are new to V-Ray in SketchUp, this book will give them an opportunity to very quickly get an overview of the process, tools, and options that can be used in a V-Ray-specific pipeline.

    Tip

    If you are an experienced artist looking for an overview of how V-Ray works in SketchUp, be sure to work through the steps in this chapter rather than just skimming through them! The hands-on experience will stand you in good stead as you dig deeper into the V-Ray render engine.

So, with the general idea of what this particular chapter is all about made reasonably clear, let's go ahead and dive right in.

Good composition is the foundation of photographic rendering


Once the geometry populating a scene has been lovingly prepared, the thing that we as the render artist will be charged with is the task of turning plain scene models into a finalized, photo-realistic render. We can give ourselves a solid foundation on which to build by, first of all, giving consideration to the compositional quality of the shot (or render) that we have been tasked with creating.

In fact, when you start to give some serious thought to the subject, doesn't it stand to reason that in order to look like a photograph, a rendered image would need to be constructed in at least a similar manner as the photograph that it is seeking to mimic?

This is why compositional rules such as those listed in the following bullets need to be thought of as the foundation or starting point from which a photographic render can be constructed.

  • Thirds

  • Positive and negative space

  • Balance

  • Leading lines

  • Focal point

  • Symmetry and patterns

  • Point of view

  • Subject and background

  • Depth

  • Framing

As a computer artist, if we are not already familiar with the total accuracy of the statement Put garbage in and you will get garbage out, we will be very soon, because it is one of the most often citied and indeed accurate pieces of advice that you are likely to hear.

In other words, what we get out as the end result of a piece of work or project can only be as good as the materials, the time, and the effort that we put into it. If we start our rendering project with a weak or unstable foundation (such as poor composition), then it stands to reason that we are really going to struggle to produce any kind of high quality end result from it when all is said and done.

Of course, not all of the compositional rules listed can be applied to every single image that we will ever shoot or render. Still, it should be our aim to make good use of the ones that can be applied, so as to help create a composition that presents our work in the best possible manner.

Improving our opening scene

Let's jump into our quick start lesson by loading the Ch01_01_Start.skp file from the downloadable Exercise_Files folder into the SketchUp application. As you can see, what we have at this moment is a very uninteresting view of a simple interior scene, as shown in the following screenshot:

Tip

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Our first task is to immediately improve the visual engagement of our scene by finding some interesting Points Of View (POV) from which to take our renders. While setting these up, we will need to look for ways to apply as many of our rules of composition to the camera view as necessary in order to obtain a visually stronger and more engaging final shot.

One extremely important thing to bear in mind at this stage of the process, and something that I will be repeating throughout the pages of this book, is the fact that experimentation is really one of the keys to success! The more views or camera angles we try, the more likely we are to find something that not only evokes the feel or mood we want to convey, but also presents the scene in the manner we need.

As a skill-building exercise, let's use the start scene that we have already opened and find as many interesting POV as possible from which the environment can be rendered.

To help with this, we will need to make use of some key SketchUp tools. The major view finding options that are typically used are shown in the following figure:

Note

This figure shows the tools as they appear on the SketchUp Large Toolset toolbar rather than on the default Getting Started toolbar.

The following tools are represented by the numbers shown in the preceding figure:

  • Orbit (1)

  • Pan (2)

  • Zoom (3)

  • Zoom Extents (4)

  • Previous View (5)

  • Next View (6)

  • Position Camera (7)

  • Look Around (8)

  • Walk (9)

As we look around the scene using these tools, we will hopefully find a number of views that we like. As we do so, we will want to use the following steps to save each of those scene views so that we can return to them at any time we like and take renders from them:

  1. Left-click on the Window menu found at the top of the SketchUp user interface. In the drop-down list, left-click on the Scenes option.

  2. In the dialog box, click on the plus sign to add a new scene. Be sure to give each view a useful name and description.

    Tip

    If we need to make changes to our scene views at a later stage, be sure to hit the Update button in this dialog box once the alterations are complete so as to lock them into place.

Working with six new views

To see where my own view-finding experiments led me, open up the Ch01_02_Views.skp file from the Exercise_Files folder, where the views that are available should match the screenshots that follow.

Note

You can of course continue to work through this chapter, adding your own scene views if you prefer. Just be sure to save your work to a differently named scene file to avoid overwriting the provided one.

I eventually decided on six different views to produce my renders. Each one of them focuses on a different element or elements in the room, and each one of them employs one or more of the compositional rules listed earlier.

Another exercise you might want to try before going any further at this point would be to take down some notes regarding which of the previously listed compositional elements are visibly at work in each of the scene views that I have chosen here. The goal will be to develop your ability to observe and break down the compositional elements being used in any of the given images. Take your time to do this and then compare your own notes with the brief description that accompanies each of the scene view images.

Scene 1 makes use of a very specific focal point in the form of the circular window, using a somewhat unusual POV. The scene is given a sense of balance by placing both the window and corner of the room roughly on the vertical third lines, which of course helps us add to the figure's balance.

In Scene 2, the first deliberate choice made for the view was to use a wide shot for the POV. This lets us show everything in the room in one go, essentially making the environment itself a general focal point in the render.

We can also see both symmetry and balance at work. Both of these elements come about as a consequence of the initial choice for the POV. Looking straight down the center of the room gives us a natural sense of both symmetry and balance that hopefully feels unforced.

The fireplace and speakers both sit roughly on the lower horizontal third line, which helps draw our eyes to them naturally, creating a kind of secondary focal point that is a little more specific in nature. At the same time, having these elements placed around the lower third also adds to the sense of balance in the scene.

Note

As the table is the only fly in the ointment for both symmetry and balance in this view, it would be perfectly acceptable for us to do a little furniture rearranging here and place the table in a more central location. This relocation of elements in a view is typically referred to as Staging.

Our Scene 3 view makes use of a very specific focal point in the table, with the POV being deliberately chosen so as to give us the ability to create depth in the scene by means of foreground and background objects. The fact that this keeps the table placed on both the vertical and horizontal third lines reinforces its role as the main focal point.

Scene 4 gives us an unusual POV on the environment that, although a little gimmicky, is a device that can give an image a very unique feel when used well. In this instance, the choice of POV directly influences what we can use as a focal point in the scene, which becomes the fireplace and speakers in this case. We also, by default, get to make a good use of framing and depth as both are created automatically by the ceiling panels that we are sitting above.

Scene 5 is a deliberate attempt to make use of balance by forcing a diagonal line of visual interest through the image, starting at the table on the left, then travelling left to right through the speaker in the center, and on to the window in the upper right. The line you will notice travels through the vertical and horizontal thirds, creating visual connectivity. We also get a measure of depth in the shot as this POV gives us some natural foreground and background object separation.

Our sixth and final scene, Scene 6, is something I enjoy referring to as the cathedral shot. An extremely low POV causes everything in the scene to take on a presence that can make the viewer feel somewhat small and insignificant. By placing everything symmetrically in the view, we make use of framing to create a sense of balance that itself seems to add to the grandness of our view.

Matching viewport and render aspect ratios

One final thing that we need to do before we leave composition behind is to make certain that our actual V-Ray renders match more closely with what we are currently seeing in the SketchUp viewport. It would be a shame to have worked hard to create a good composition in our camera view only to find that our render doesn't frame up in the same way. In fact, to show that currently our viewport and the V-Ray frame buffer renders are out of sync, let's take our first render.

If you don't already have the V-Ray toolbars present in the interface, now would be a good time to bring those up. To do that, let's perform the given steps:

  1. On the main menu, navigate to View | Toolbars… and select the VfS: Main Toolbar and VfS: Lights options from the flyout menu.

  2. I would also suggest that you dock these at the top of the SketchUp user interface as I have. This will keep us on the same wavelength when I talk about going up to the V-Ray toolbars throughout the rest of this book!

To initiate a render in V-Ray, all that we need to do is hit the big R (for render) button on the main toolbar and V-Ray will begin to process the scene for us.

Note

If this takes a while, don't be alarmed. Depending on the complexity of your scene and the power available in your computer, this process can take anything from a few seconds to a few hours before our scene begins to render.

Once the render is complete, as you can see in the following screenshot, the framing we have in the V-Ray frame buffer window does not match that seen in the SketchUp viewport at all. This is because my SketchUp interface is currently set 1600 x 900 (currently giving us a viewport aspect ratio of 2.01:1), whereas V-Ray by default is rendering at 800 x 600 (which is a 1.333:1 ratio).

This obviously requires a bit of correction. To do that, we need to open up our V-Ray option editor by clicking on the O (for Option) button on the toolbar. Don't be intimidated by the sight of all the rollouts and parameters that confront us; we will become quite comfortable with these as we move through the various chapters in this book.

To align the framing of our renders a little more closely, let's perform the following steps:

  1. Click on the Output rollout to open it.

  2. Change the Width and Height settings to a resolution that uses something closer to a 2.01:1 ratio, such as 853 x 480, 1280 x 720, or 1920 x 1080.

    Note

    These standard HD resolutions use an aspect ratio of 1.777:1, which is close enough to help us. If the talk of aspect ratios here leaves you a little confused, don't worry. All you need to do for now is keep the preceding steps in mind and we will discuss the subject in more depth in Chapter 8, Composition and Cameras.

To keep things moving along quickly, I am going to employ a good workflow practice and render at a reduced, low-end HD resolution of 853 x 480. This approach to the testing phase means that we can make broad revisions without having to wait for full quality renders to finish. On average, an image rendered at half resolution will be completed four times faster than a full resolution render, which is logical since only one-fourth of the overall rendered content is being produced.

Lighting that sets the mood!

While a good composition gives us a solid foundation on which to build a photographic render, if we try to render a scene that has no lighting, well let's just say the end results will fall quite a way short of those desired.

The brilliant thing about lighting a scene with V-Ray in SketchUp is that a complete day-lighting system that consists of both the Sun and Sky elements is, by default, set up and ready to render with as soon as we start creating geometry in the scene. For newer users, this can obviously help tremendously when it comes to getting up and running with the software.

Controlling the placement of the Sun is extremely easy as we simply need to make use of SketchUp's built-in shadow controls, wherein we set the month of the year along with the time of day and time zone, and then we can render. What we instantly get is natural-looking daylight without having to do anything at all!

Better still is the fact that V-Ray also sets up a basic indirect (or global) illumination system for us automatically. This means we can even render interior Arch Viz shots right out of the box without having to do any extra set up work beyond, of course, getting our geometry created and then positioned in the scene.

Note

Global illumination is a general name for a group of algorithms used in 3D computer graphics that are meant to add more realistic lighting to 3D scenes. Such algorithms take into account not only the light which comes directly from a light source (direct illumination), but also subsequent cases in which light rays from the same source are reflected by other surfaces in the scene, reflective as well as non-reflective (indirect illumination). The source of this content is Wikipedia.

To look at the kind of renders we can get from V-Ray without doing any real lighting setup at all, either continue to work with your current scene or open up the Ch01_03_Lighting.skp file from your Exercise_Files folder, if you prefer to work with the same scene as I will be using.

Stepping through the render process

The scene or camera angle we are using here (Scene 2) has been deliberately chosen to help us properly evaluate the quality and level of lighting that we are getting in our scene. It can do this because it affords us a full view of the environment.

With our camera view set to Scene 2, let's take a render by clicking the render button on the V-Ray toolbar. Once the initial translation phase is complete, V-Ray opens up its own frame buffer window and starts the rendering phase.

Note

One of the very nice features of V-Ray Version 2.0 is the fact that translation times in scenes are now significantly faster (in the vast majority of cases) than rendering the same scene in V-Ray Version 1.49.

The first activity we see in the frame buffer window will be V-Ray's indirect illumination calculations. First of all, the light cache and then the irradiance mapping engines calculate the level of illumination and light bounce requirements for the scene. This is based on the parameters set up in the V-Ray option editor and the materials applied through the materials editor.

Note

Irradiance mapping and light cache are the two indirect illumination engines set up by default in V-Ray Version 2.0 for SketchUp.

The final part of this process is the rendering of the image itself. In this instance, what we get, as we no doubt could discern from the GI calculations, is way too dark for the type of bright and airy feel in the interior that we are looking for. This brings us to a critical aspect of lighting in V-Ray, exposure!

Using V-Ray's physical camera model

Another default aspect of the V-Ray setup in SketchUp is that it makes use of a physical camera model for rendering. This means that real-world parameters such as shutter speed, F numbers (or F stops), and ISO (or film speed) values are used to control various aspects of the render, such as exposure, motion blur, and depth of field.

Basically, if we understand how to control these elements on a real-world camera, be it film or digital, then we already have a big head start when it comes to rendering using the V-Ray physical camera model. To access the physical camera controls, we need to revisit the V-Ray toolbar and click on the option editor button once more.

Then, if we open the Camera rollout, you can see in the following screenshot that we now have access to a wealth of camera controls and parameters. As we have already noted that our render is quite a bit darker than desired, the controls we are interested in would be those capable of affecting the exposure levels, which would be as follows:

  • Shutter Speed

  • F Number

  • Film Speed (ISO)

As a general rule, I prefer to handle exposure levels using only the film speed value as much as I possibly can. This is due to the fact that it is the only one of the three controls in what is often referred to as the exposure triangle that isn't used to control some other aspect of the physical camera model. Shutter speed is also used to control motion blur while the F number (or F stop) value will typically be the control mechanism for any Depth of Field (DOF) effects in our render.

To get some nice brightness levels in this instance, let's adjust the film speed or ISO value and set it to 1200. Taking another render by hitting the render button on the far right of the V-Ray frame buffer's top toolbar will show us that our illumination levels are now much more appropriate for the bright, airy feel we want to create.

Tip

The higher the ISO number we use in a render, the more sensitive V-Ray becomes to light, thereby producing a brighter final image. Unlike the ISO setting on a digital camera, we can increase this value as much as we like in V-Ray without the fear of introducing artifacts or noise into our rendered images.

Global illumination controls

The next aspect of our lighting setup that needs a little attention is the quality of the indirect illumination solution. At this moment, we can see quite a bit of dark splotching on our nice clean geometry. This often happens when we work with scenes that present a little bit of a challenge to the indirect illumination engines, which, of course, interiors nearly always do. Couple this with the reasonably low-quality default settings that V-Ray sets up, and we get splotches or noise patches in our render.

To clean this up a little, let's perform the following steps:

  1. Jump into the Irradiance map rollout in the option editor, and in the Basic Parameters section, set the minimum and maximum rate values to -2 and -1 respectively.

  2. We can also increase the HSph. subdivs value to 125 and the Interp. samples value to 35.

  3. Next, we can jump into the Light cache rollout and increase the Subdivs (or subdivisions) value to 1200.

If we take another render by hitting the button on the toolbar, we should see a marked improvement in the level of splotchiness present in the image; not that every trace of it will be gone, mind you. When working with interior scenes, creating completely noise-free Global Illumination (GI) renders can prove to be quite costly in terms of the time it takes to render the final image.

What we often have to aim for then is a situation that would generally be considered free enough of noise to be called an acceptable final solution. One reason why we can often get away with this is the fact that once materials get applied to the geometry, any slight levels of splotchiness still found in the scene tend to oftentimes just blend into the materials themselves.

Tip

We do need to bear in mind that every increase in quality settings inside a render engine, such as those we have just applied to the indirect illumination controls, will result in a corresponding increase in the time it takes for the render to complete! This is typically referred to as the speed verses quality conundrum.

Materials that make us believe!


This, of course, leads us nicely onto the subject of creating believable materials for our models. Because this is just a quick start exercise and we will be devoting an entire chapter to the development of some very specific materials in V-Ray, we will deal with just two things here. First, we will demonstrate how to apply existing materials to various geometry elements in the scene. And second, we will walk through the creation of a new floor material just to get a feel of how the V-Ray standard material works.

To get started, we can either continue with our current file or open up the Ch01_04_Materials.skp file from the downloadable Exercise_Files folder. This file essentially picks up where our lighting tweaks have left off. Let's introduce ourselves straight away to the V-Ray material editor by going back to the V-Ray toolbar and clicking on the M (for material editor) button. This, of course, will open up the editor window for us.

Looking in the Materials List section, you can see that we have a material named Basic. This is the plain grey material currently assigned to all the geometry in the scene. As we want to alter this arrangement, we need to briefly cover the setup or current state of geometry in the scene.

What I am referring to is the fact that everything in our scene at this moment in time has been turned into either a group or a nested group. This, for those who may be unfamiliar with SketchUp, will affect how we go about applying materials to the geometry. For instance, with one of the shelf objects selected, I can right-click on Shelves material in the Materials List section and choose the Apply Material to Selection option.

The selected material is then applied to that geometry. However, if I select a geometry group such as the main building itself, those same steps will no longer work and the material application would fail.

To apply a material to this type of geometry, we need to perform the following steps:

  1. Double-click on the main building geometry to open up the group.

  2. In the Edit menu, use the Select All command.

  3. Right-click on a material in Materials List, such as Building Paint, and then choose the Apply Material to Selection option.

    Note

    Once a group is open, we close it by using the Close Group/Component command from the Edit menu.

We need to follow a similar process when working with nested groups. Applying a material directly to a nested group such as our table won't work. However, we can perform the following steps to attain the desired result:

  1. Double-click to open the nested hierarchy.

  2. Left-click to select one of the groups.

  3. Select a material from the Materials List section.

  4. Right-click and choose Apply Material to Selection.

The material should then apply just fine. If it doesn't, we will need to perform the following extra steps inside the nested group:

  1. Double-click on one of the nested groups.

  2. Use the Select All command from the Edit menu.

  3. Select a material from the Materials List section.

  4. Right-click and choose Apply Material to Selection.

This may seem like a clunky way to get things done, especially if we are coming to SketchUp from other 3D applications. However, once the process becomes familiar to us, it really does become second nature and flows quite freely.

Now that we understand the process of applying materials, go ahead and see if you can get the named textures in Materials List applied to their related scene objects. This is a good way to get some practice at working with the preceding outlined steps.

To keep ourselves moving forward, let's run through the creation of a material of our own. This is what we will use to texture the floor in our scene.

Tip

Do keep in mind that we already have a Floor Material in our Materials List that can be used as a reference at any point if you should get a little stuck.

Creating the floor material

To move forward, we can either continue with our current file or open the Ch01_05_FloorMat.skp file from our Exercise_Files folder.

The first thing we want to do here is create a new V-Ray standard material for ourselves. So, let's perform the following steps in Materials List:

  1. Right-click on either the Scene Materials label itself, or with the Scene Materials label selected, right-click on an empty area of the Material List panel.

  2. In the pop-up menu, hover over the Create Material option and select the Standard material from the flyout.

  3. Then, we need to locate the newly created label named DefaultMaterial in the Materials List.

  4. Right-click on it and choose the Rename Material option from the pop up.

  5. In the Rename Material window that opens up, call the new material My Floor and click on OK.

Of course, we will want to assign this material to the floor geometry straight away. Our new material is currently using grey for its diffuse color, making it the same as the already assigned basic material; we will avoid any potential confusion by changing our new material's diffuse color to something that will enable us to tell them apart.

To change this to something more recognizable, let us perform the following steps:

  1. In the Diffuse rollout of our My Floor material, click on the diffuse color swatch.

  2. In the Select Color dialog box, choose a color that would be very noticeable in the scene, such as the burnt orange I will create here. Let's use the HSV settings of HSV 12, 240, and 218.

  3. Then, enable the select tool from the Large Toolset toolbar.

  4. Triple-click on the floor geometry in the scene to ensure that it is all selected, or we could double-click and then use the Select All command from the Edit menu.

  5. Right-click on the My Floor material name in the editor and choose Apply Material to Selection from the pop up.

If our burnt orange color appears in the viewport, we know that we have successfully applied this new material to the geometry; not that we will leave it set at burnt orange of course. In fact, we won't actually use the diffuse color swatch at all. Instead, we will make use of a number of bitmap or image files to help give our floor material a little more visual interest. To do this, perform the following steps:

  1. Click on the map button (m) to the right of the diffuse color swatch.

  2. From the drop-down list that appears under the Preview button, select the TexBitmap option.

  3. In the Open Bitmap File dialogue box that appears, navigate to your downloaded Exercise_Files folder, and from the Textures subfolder, click to open the Floor.bmp file.

  4. Then, click on OK to close the texture editor window.

  5. And finally, let's lower the diffuse map's overall level of contribution by setting the spinner value to 0.25.

We should now see our bitmap texture appear in the SketchUp viewport. At this moment, however, the default UV mapping coordinates are causing the bitmap to tile way too much for my liking. To rectify this, we need to use the controls found in SketchUp's own Materials editor.

To access that, let's perform the following steps:

  1. Click on the Paint Bucket tool over on the SketchUp toolbar.

  2. In the SketchUp Materials editor window, click on the Edit tab.

  3. In the Edit tab, we have width and height controls that appear just below the image naming field. Click on the Lock/Unlock aspect ratio button that appears next to these fields.

    Note

    This will allow us to set different values for each of the dimensions.

  4. Enter values of 3.00 meters for the width and 2.30 meters for the height.

  5. Close the SketchUp Materials editor.

We should be able to see the difference this has made straight away in the viewport.

Adding surface properties

Next, we need to apply some parameter changes that will help us add some realism to our floor material. The first thing that we need are some reflections. To do this, we need to specifically add reflection controls to our V-Ray standard material.

Note

Although V-Ray Version 2.0 in SketchUp, just like other applications such as 3ds Max and Maya, now has a V-Ray Material that has all of the relevant parameter sections such as reflection and refraction set up and ready to work, there are some drawbacks to it that we will discuss in later chapters that preclude our use of it in this instance.

In the V-Ray material editor, let's perform the following steps:

  1. Right-click on the My Floor material.

  2. In the pop-up menu, hover over the Create Layer option, and from that flyout, choose the Reflection option.

  3. Next, in the General area of the Reflection rollout, set the spinner next to the reflection color swatch to a value of 0.25. (We can double-click and type the values in any of these fields if we want.)

    Then, we need to click on the map button (m) next to the reflection color swatch. In the texture editor parameters window that appears, click on the map button (m) for the Perpendicular controls.

  4. In the drop-down list below the Preview button, choose the TextBitmap option.

  5. And, in the Open Bitmap File dialog box that appears, navigate to Exercise_Files | Textures and once more choose the Floor.bmp file.

  6. Finally, click on OK in the two open dialogs to go back to the materials editor window.

Placing the bitmap in the perpendicular channel here will give us some nice variation in the reflection intensity, which will automatically make things feel a little more natural. Next, we need to add some breakup to those reflections. So, in the Reflection rollout of the My Floor material, go to the Glossiness section and set the Hilight and Reflect values to 0.85.

Then, as a finishing touch, we can add a bit of a textured feel to the floor along with extra breakup by adding a subtle bump map to the material. To do that, let's perform the following steps:

  1. Open up the Maps rollout at the bottom of the material controls.

  2. Put a check in the Bump option, and at the same time, set its spinner value to 0.1.

  3. To add a map for the bump effect, click on the map button and select the TextBitmap option from the drop-down list beneath the Preview button.

  4. In the Open Bitmap File window that appears, navigate to Exercise_Files | Textures and choose the Wall_Stucco_Bump.bmp file.

  5. In the UVW section at the bottom of the texture editor controls, set u and v Repeat values to 4 and then click on Ok to exit the editor.

We can now take a render and see how things are looking by coming up to the V-Ray toolbar and clicking on the render button. Hopefully, what you have should look just like the following render:

We are closing in on a decent quick start image here. However, before we go ahead and create our final output render settings, let's just see how we can tweak things a little, now that all of our materials are fixed in place.

Final setting tweaks!

One area that I will want to address are the super bright whites that we are currently getting inside the render. You can find these by right-clicking on the image inside the V-Ray frame buffer, which should pop up a Pixel information dialog that contains RGB data readouts for varying image bit depths.

Note

V-Ray can do this because, by default, renders inside the frame buffer are stored at the highest bit depth possible using floating point values.

The one we are specifically interested in would be the Color (float) option. Whenever all three numbers in this readout go above the value of 1, which is pure white in floating point terms, then we know that what we are looking at is one or more super bright pixels in the image.

Sometimes, we can use these to good effect in our renders, especially when it comes to using the new Lens Effects feature of V-Ray Version 2.0. At other times, however, the burnout these super bright pixels cause, particularly in areas where direct light falls on an already bright texture such as our white walls, can be extremely undesirable. This means that it will always be useful to know which V-Ray tools can be used to help deal with this. One set of such tools would be the color mapping controls.

However, before we go ahead and make any changes, I am going to open up the Ch01_06_Tweaks.skp file from the Exercise_Files folder, which again picks up from where we currently have the scene. (Again, feel free to continue on using the current file, if you prefer.)

To deal with our super brights, let's perform the following steps:

  1. Reopen the option editor by using the button on the V-Ray Main toolbar.

  2. Inside the dialog, we want to open up the Color Mapping rollout and select the Exponential option from the Type drop down.

  3. We also need to set Bright Multiplier here to a value of 1.0 instead of the default 0.8.

This simple change in the color mapping type will prevent any of the RGB values in our image from climbing above a value of 1. Another effect of this color mapping change is that our rendered image will become a little less bright and the RGB values of our extremely blown-out sky will drop to levels below 1, meaning that we can now see a little bit of blue in there!

Another lighting tweak we might want to make at this point is in connection with the current positioning of the direct sunlight in our view. At this moment in time, the sunlight coming through the skylights is creating one or two bright spots on the left side wall, which are looking a little messy and may need cleaning. We can do that by basically shifting the Sun a little in our scene. To do that, we need to perform the following steps:

  1. Open up SketchUp's Shadows control dialog from the Window menu.

  2. Then, set the time of day to 11.10 a.m. by using either the spinner or clicking in the text field and typing.

    Note

    In order to apply this change to all of the scene views, we will of course need to select each one of them in turn and repeat this step. Remember that in order to have this change fixed in the scene, we will need to right-click on the scene tabs and use the Update option.

With that done, we will not only eliminate those distracting highlights, but we will actually create another element of symmetry in the shot in which the spots of light now fall on either side of the window opening.

One element that seems to be a little bit lacking in the scene would be occlusion or contact shadows. We may particularly expect to see these in corner areas of the room, especially the shelving recesses. At this point, we ideally want to add them without creating an extra image element that would need to be composited in another application. In this instance, we will choose the easiest route available to accomplish this and enable V-Ray's ambient occlusion option by following the given steps:

  1. With the V-Ray Options dialog open, go to the Indirect Illumination rollout.

  2. In the Ambient Occlusion section, check the On box.

  3. Set the radius amount to 8.5.

  4. As we want the effect to be fairly subtle, let's set Amount to 0.35.

With our lighting tweaks in place, a final, slightly distracting element that we may want to tackle could be the material we have applied to the shelves in the scene. I am not entirely convinced that what we have created sits well in the scene. So, I would like to experiment a little and try applying the same material that we are using for our overhead panels.

To do that, follow the given steps:

  1. Select all of the shelf objects in the scene.

  2. Open up V-Ray material Editor.

  3. Right-click on the Overhead Panel material.

  4. From the pop up, choose the Apply Material to Selection option.

Render settings for final output


Now, it's time to set up our final render output settings. These should ideally be dealt with as the very last step in the production process because once these are in place, the time required to complete each of the renders will increase quite dramatically.

Note

Bear in mind that we are referring to image sampling and final resolution settings here. Important composition elements such as the final aspect ratio for our images would need to be set up much earlier in the process.

At this point, we could increase the quality of our indirect illumination solution by upping the parameter values that we worked with earlier. In this instance though, I am going to stick with what we have as they seem to be doing a fairly decent job for us.

Tip

It is, generally speaking, a bad idea to increase values just because we can. Unless there will be a visible improvement to the finished render, we will simply be increasing our render time for no apparent reason.

Let's go ahead and tackle our output image resolution first of all. In this instance, I am going to render out at full HD resolution, which means (at the time of writing) rendering is done at 1920 x 1080.

To set this up, we can perform the following steps:

  1. Open up the option editor by clicking on the button on the toolbar.

  2. Go into the Output rollout and set the width and height values to 1920 x 1080.

  3. In the Render Output section, put a check in the Save Output box. Then, using the output file button next to the naming field, browse to the location where you want to save your image, such as the Exercise_Files folder that we have been working with.

  4. Once there, set an appropriate file name such as Ch01_Final, which is what I will use.

  5. Set the save-as type drop down to OpenEXR image file and then click on Save.

The final step here would be to improve the overall quality of the render by adjusting the image sampling settings. To do this, let's perform the following steps:

  1. Open the Image sampler rollout in the option editor.

  2. Make sure that Adaptive DMC is set as the Image Sampling type.

  3. Set the Min Subdivs value to 1 and the Max Subdivs value to 16.

  4. Set the Antialiasing filter in the drop down to Triangle.

  5. And finally, in the DMC sampler rollout, set the noise threshold value to 0.005.

    Note

    Although we are moving very quickly over these important controls, rest assured that we will be returning to discuss them in Chapter 9, Quality Control.

With that, I think we are just about ready to take our final render for the chapter. So, let's visit the V-Ray toolbar one last time and click on the render button.

It is worth bearing in mind that the final settings that we have used here have the following functions:

  • They represent a good, high quality starting point for renders given that they balance both quality and speed in a fairly equal manner

  • They will need to be tweaked in order to suit the peculiarities of each scene on which we work

Once our image is rendered, what we end up with should hopefully look just like the render we have in the preceding screenshot, only much larger of course. Not too bad for a quick start exercise. Also, keep in mind that we haven't applied any post-production touches at all up to the final image.

Note

Please note that your downloadable Exercise_Files folder contains a Final Renders subfolder that houses finished 1280 x 720 HD renders for this chapter, one from each of the six scenes or camera views found in the file.

Be sure to cast a critical eye over them and look for the things that do and the things that do not work in your opinion. Better still, have a go at fixing any problems you spot and then rerender the scene so that you can do a side-by-side comparison and evaluation.

Summary


Let's summarize the elements of photographic rendering that we have very quickly touched in this chapter.

As with any construction project, the crafting of a photographic render requires that we start with a solid foundation. In this instance, that means getting our basic composition in the scene right before we move on to using the tools found in the render engine itself. Solid compositional principles such as thirds, leading lines, and points of view should be considered and possibly even tried out at this phase of the project.

Once we have that in place, we can then move onto using V-Ray tools to craft a lighting setup in the scene that creates an appropriate mood for us; then, build and apply materials to scene geometry that have believable physical properties associated with them.

Add to this mix global illumination, exposure control, and then finally our finished render and output quality control settings. Now, we have a recipe for successfully creating photographic renders with V-Ray.

Of course, in this introductory chapter, we have moved incredibly quickly through the basic process of rendering an image in V-Ray. What we need to do now is break down the key processes and tools in a little more depth so that we can fully understand both the power of the tools available as well as learn how to control them. Next up is lighting; specifically, a look at how we can go about lighting an interior daytime scene from the ground up.

Left arrow icon Right arrow icon
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Mar 09, 2014
Length: 328 pages
Edition :
Language : English
ISBN-13 : 9781849693226
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to United States

Economy delivery 10 - 13 business days

Free $6.95

Premium delivery 6 - 9 business days

$21.95
(Includes tracking information)

Product Details

Publication date : Mar 09, 2014
Length: 328 pages
Edition :
Language : English
ISBN-13 : 9781849693226
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 149.97
Photographic Rendering with V-Ray for SketchUp
$54.99
3D Printing with SketchUp
$39.99
SketchUp 2014 for Architectural Visualization
$54.99
Total $ 149.97 Stars icon
Banner background image

Table of Contents

10 Chapters
Diving Straight into Photographic Rendering Chevron down icon Chevron up icon
Lighting an Interior Daytime Scene Chevron down icon Chevron up icon
Lighting an Interior Nighttime Scene Using IES Lights Chevron down icon Chevron up icon
Lighting an Exterior Daylight Scene Chevron down icon Chevron up icon
Understanding the Principles of Light Behavior Chevron down icon Chevron up icon
Creating Believable Materials Chevron down icon Chevron up icon
Important Materials Theory Chevron down icon Chevron up icon
Composition and Cameras Chevron down icon Chevron up icon
Quality Control Chevron down icon Chevron up icon
Adding Photographic Touches in Post-production Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Half star icon Empty star icon 3.3
(13 Ratings)
5 star 30.8%
4 star 15.4%
3 star 15.4%
2 star 30.8%
1 star 7.7%
Filter icon Filter
Top Reviews

Filter reviews by




Jeffrey Yap Jun 18, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Very clear explanation of the processes involved especially if you follow the down loadable exercises. I strongly recommend this for anyone who wants to fully exploit the full potential of VRay for Sketchup.
Amazon Verified review Amazon
Amazon Customer Apr 09, 2015
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Brian Bradley has a really good way of teaching this subject, if you get the chance, watch his videos on Lynda.com.This book will teach you to do realistic renderings and also allow you to experiment with a solid foundation that this book gives you. Excellent
Amazon Verified review Amazon
Amazon Customer Dec 09, 2016
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Isn't only a good book, is a good tool for everyone interested in learn to use vray for sketchup.
Amazon Verified review Amazon
SuJo Jun 22, 2014
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Photographic Rendering with V-Ray for SketchUpAt first I was rather skeptical about this book, I was always interested CG rendering and 3D design and this book seemed like a good direction to take. I really enjoyed the hands on approach, make sure you download the code documents in order to follow along. While SketchUp is free for educational uses as mentioned on their website it is worthy to note it didn't feel limited in any way compared to the paid version. Setup was pretty easy under Windows 8 and everything went without a hiccup.Chapter 1 set the pace and I was already sold on this book, then I was wondering why are there so many chapters on lighting! Well from my experience with 3D game techniques it's really hard to mimic light! So for me the three chapters were needed but also very well written, from the daytime scene to night and final touch ups, what an awesome transformation. If you are not into math you should really get into it for this, light is very tricky and in order to understand it you will need some working level of math on a higher level. If you're anything like me that is very limited but your willing to keep pushing forward until you understand it, don't feel bad I had to go over this a few times. I did get my ah-ha moment though.I think it is extremely important to mention the quality control chapter, it has got to be one of the best things I've seen since toasted sliced bread! DO NOT SKIP IT, if you really want your work to shine take the extra steps to perfect it. No shock that you will be adjusting the lighting quality here again! I would give this book a 10/10 or 100/100 if I could, I know it isn't going to take my hand and walk me down the path of using SketchUp overnight, and that isn't why I purchased this book. I wanted to see what goes into the "behind the scenes" with CG level animations and rendering, this book didn't disappoint me. The material was covered well and I felt like I was making progress, don't feel bad if you tinker around with the settings and divert from the book. I find it sticks in my mind better if I go a bit off course!Publisher: [...]
Amazon Verified review Amazon
Ar.Nitin Sharma Jun 13, 2014
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The material is sufficiently detailed though not for beginners learning vray-SU. I would have rated this 5 stars if the images had been in colour instead of black & white. Though the colored versions are available for download from the book's website. Decent purchase!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela