Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Working with VRaySun and VRaySky

From: V-Ray 2.0 for Maya Essential Training

Video: Working with VRaySun and VRaySky

When it comes to creating an environment that appears to be lit by natural sun and skylight, V-Ray for Maya offers an excellent high-quality set of tools that can really help us accomplish just that goal. The V-Ray Sun and V-Ray Sky are perhaps obviously enough developed to work together to recreate the real life sun and sky environment of planet earth. They are coded, so that scene lighting changes its appearance according to the direction and elevation of the V-Ray Sun object in the scene. To create these objects to create these light types in the scene, we want to come up to our Main toolbar, let's click on the Display Render Settings window icon.

Working with VRaySun and VRaySky

When it comes to creating an environment that appears to be lit by natural sun and skylight, V-Ray for Maya offers an excellent high-quality set of tools that can really help us accomplish just that goal. The V-Ray Sun and V-Ray Sky are perhaps obviously enough developed to work together to recreate the real life sun and sky environment of planet earth. They are coded, so that scene lighting changes its appearance according to the direction and elevation of the V-Ray Sun object in the scene. To create these objects to create these light types in the scene, we want to come up to our Main toolbar, let's click on the Display Render Settings window icon.

We want to come to the V-Ray tab and if we close the Image sampler rollout and come all the way down to the bottom, you can see we have these V-Ray Sun and Sky rollout. Creating these light types, adding them to the scene is as simple as clicking on the Create Sun button and the Create Sky button and now we have those options set up, ready to use. If we ever need to access them, you can see we have these node controls here and let's just move across so that we can see our Attribute Editor. And if we just select a piece of geometry in the scene, so that we have nothing to do with our V-Ray Sun and Sky inside of the Attribute Editor, you can see that we can quickly use these node options to select first of all the V-RaySun and if we just pull down, now you can see all of the V-RaySun's controls and parameters.

And we can select the V-RaySky, which seems to have only an Intensity multiplier associated with it. Except, if we come up to this V- RayGeoSun node and click on that, you can see how we have a whole extra set of controls. Now by default, the option is set up to use manual positioning in the scene for the V-Ray Sun, but if we uncheck it, you can see we have an entire daylight system that we can work with, we can set our positioning, our light positioning by Latitude and Longitude. We can set the Time off Year or we can set the Year, we can set Month, we can set Time of day, all sorts of options that can allow us to place lighting in the scene.

For now though, we are just going to work with Manual positioning, so let's just pull our Render Settings window back across here. Now, in this particular video, we are going to be for sake of speed, we are going to be working with some pre- rendered images just to show you how the changes that we are making will affect what we have going on in the scene. So if I just click on the Render View icon to pull that out, you can see here we have Render of the default settings in the scene, these are just Maya's default lines that have rendered the scene for us. So we can see that there are no extra lights added into the mix.

With the V-Ray Sun and Sky added however, as we have just walked you through that particular process and if we were to take a render, we would see that we would make this change to our scene, which clearly is not really a desirable end-result. You can see we have way too much illumination going on in here which is probably not surprising. As we have mentioned, the V-Ray Sun and Sky are designed to mimic the illumination levels of the real-world sun and sky. Something else we have to be aware of here is that we are actually only getting half of our scene lighting.

At this moment in time we don't have any GI systems enabled, so we are actually only getting lighting from our V-Ray Sun object. To make certain that we are seeing illumination from the sky as well because that is a GI effect, we need to come to our Indirect Illumination tab, we need to turn our GI systems on. Now with that change made, you can see that we would go from this to this, which is actually making things worse in terms of the exposure level in the scene. But now we actually have the full range of lighting, we have a completely physical real-world lighting setup in our scene with which to work.

Now at this point, one thing that we may try to do to try and bring our blowout under control, would be to use the V-Ray's Color mapping tools. Well, let's go into the V-Ray tab and try that. So if we come to our Color mapping rollout, you can see we are working with Linear multiply. Let's set our options here to HSV exponential and what we would get would be a change from this to this, which although very interesting from a stylized rendering point of view, still isn't really giving us anything that we would call a photographic look to our lighting and scene rendering.

To do that, we would need to work with exposure controls. Well, that's what we are going to be doing in our very next video. We are going to show you how to work with the V-Ray Physical camera. But at this moment in time, we just want to show you how the actual sun and sky system works inside of our scene. So what we are going to do is we are going to set our Color mapping back to Linear multiply and we are going to take a non-physical approach at this moment in time, we definitely would not recommend this as a way of controlling light levels in the scene. We are just going to show you that it can be done, so that we can demonstrate the workings of the V-Ray Sun and Sky to you.

So, let's go and grab our Render Settings window again. Let's come down to the V-Ray Sun and Sky rollout and let's click on our Sun node so we can select that. And what we want to do is set our Intensity multiplier down to a value, a very low value of .03, because of the intensity of light levels in the scene we really do have to drop this down quite a bit. And you can see in our Sample slot here, in our Sample swatch we actually have some coloration that we can see. We also want to select our sky, come to the V-RaySky node and we want to set that to the same value of .03.

And now if we just dismiss our Render Settings window, we would go from this to this particular look in our render, which gives us a fairly decent level of exposure in the scene. We can see the coloration, the gradation in the sky. We can see the coloration in the lighting and the shadows as well. Now one of the brilliant things about the V-Ray Sun and Sky system is that they can automatically simulate atmospheric changes. As the sun rises in the sky, we get bluer whiter light, as the sun lowers towards the horizon, we get orangey reds in our lighting.

Well, the V-Ray Sun and Sky can mimic that functionality. So let's just close up our Render View and we are just going to make a change in our viewport, let's come to a Front viewport. Again, actually what we wanted to was make certain that we had selected our Sun node, so we want that selected in the scene. Let's go and select our Move tool, and I am just going to use the A keyboard shortcut and then F to just frame up on the V-Ray Sun and we can see that we've got the object selected. Now all I want to do is just drop this particular object down.

I am just going to drop it well down below the horizon. This is this point here where the target of our V-Ray Sun is. It represents the horizon point. Once we drop the sun down in the sky, once we low it its elevation, let's just pull Render View back, not the Render Settings window, we want Render View. You can see what we'd go from is this to this. Very quickly, very easily we can completely change the mood, the feel of the lighting in our scene. So, the V-Ray Sun and Sky are fantastic tools for recreating the realistic day-lighting in our scene.

But we have really used a little bit of a hack to get usable lighting levels in here. We have lowered the values of our V-Ray Sun and Sky. In the real-world photographers who really cannot simply dial down the level of illumination coming from those light sources, they need to use exposure to create images that are not only technically correct, but also able to evoke a response in that audience. Well, as the V-Ray Physical camera has been designed to mimic the kinds of controls and effects available to real- world photographers and camera operators, including its exposure settings, it seems sensible that we're going to move on to looking at the V-Ray Physical camera in our very next video.

Show transcript

This video is part of

Image for V-Ray 2.0 for Maya Essential Training
V-Ray 2.0 for Maya Essential Training

54 video lessons · 2319 viewers

Brian Bradley
Author

 
Expand all | Collapse all
  1. 4m 28s
    1. Welcome
      59s
    2. What you should know before watching this course
      51s
    3. Exercise files
      40s
    4. Workflow recommendation
      1m 58s
  2. 11m 32s
    1. Installing V-Ray
      4m 25s
    2. Setting up V-Ray
      3m 14s
    3. Locating V-Ray's tools and features
      3m 53s
  3. 24m 41s
    1. Image sampling explained
      3m 19s
    2. Understanding subdivs
      3m 49s
    3. Using the DMC Sampler
      6m 54s
    4. Overview of color mapping
      4m 45s
    5. Understanding the color-mapping modes
      5m 54s
  4. 27m 55s
    1. Dealing with lighting problems
      9m 26s
    2. Adding a spherical fill light
      8m 50s
    3. Creating a mesh light
      2m 43s
    4. Creating a skylight effect
      3m 18s
    5. Working with the dome light
      3m 38s
  5. 44m 25s
    1. Global illumination (GI) explained
      3m 55s
    2. Understanding primary and secondary bounces
      3m 34s
    3. How irradiance mapping works
      5m 30s
    4. Using irradiance mapping, part 1
      4m 35s
    5. Using irradiance mapping, part 2
      5m 44s
    6. How light cache works
      3m 48s
    7. Using light cache
      7m 58s
    8. Understanding brute force GI
      2m 18s
    9. Using brute force GI
      7m 3s
  6. 40m 3s
    1. Introduction to V-Ray-specific materials
      2m 22s
    2. Creating diffuse color
      8m 31s
    3. Making reflective materials
      5m 40s
    4. Blurring reflections
      8m 31s
    5. Making clear and colored glass
      8m 49s
    6. Creating a translucency effect
      6m 10s
  7. 24m 15s
    1. Introduction to image sampling
      2m 56s
    2. Using the Fixed-Rate sampler
      5m 57s
    3. How to use the Adaptive DMC sampler
      5m 21s
    4. Working with the Adaptive Subdivision sampler
      7m 7s
    5. Comparing image-sampling renders
      2m 54s
  8. 17m 23s
    1. The physical workflow explained
      2m 37s
    2. Working with VRaySun and VRaySky
      7m 39s
    3. Controlling the VRayPhysicalCamera
      7m 7s
  9. 45m 0s
    1. Depth of field: VRayPhysicalCamera
      5m 45s
    2. Depth of field: perspective viewport
      5m 49s
    3. Creating a motion blur effect
      9m 30s
    4. Generating caustic effects
      7m 51s
    5. Using VRayFur
      6m 2s
    6. Setting up render-time displacement effects
      10m 3s
  10. 34m 17s
    1. Render elements workflow
      6m 47s
    2. Preparing to composite
      2m 22s
    3. Compositing V-Ray elements
      7m 8s
    4. Putting extra elements to work
      6m 20s
    5. Post-lighting a scene
      11m 40s
  11. 11m 47s
    1. Overview of V-Ray RT
      5m 27s
    2. Demonstrating the RT workflow
      6m 20s
  12. 1m 8s
    1. What's next?
      1m 8s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed V-Ray 2.0 for Maya Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.