Rendering Desk Lamp in Vray

We’ll continue from the Desk Lamp model, focusing on the render part using Vray.

Download files.zip because you’ll need it (you have the model from where I started, the texture I applied and some setting you’ll use).

lamp1.png

RESOURCES

reference2.jpg

files.zip

STEP 1 – Settings

First we will load the Settings we are going to use for our studio shot. If you haven’t download Files.zip do it now and load Studio.visopt

render1.png

To increase or decrese the quality of the render, click the QMC Sampler tab and change the Treshold. For less treshold more quality and viceversa. I used 0.005 for my final render, but I use .05 for a very fast render in some sections and 0.01 or 0.02 for others.

STEP 2 – Illumination

Now we are going to set up the plane, the lights and the camera for our scene. These can be changed later but we need something to work with.

First, draw a like I do on my image. This is done so that we don’t see the separation between the floor and the wall.

render2.png

Now that Curve selection BothSides. This is going to be our plain

render3.png

Now we are going to set up the camera for our shot. This will probably change a little bit later on.
So, in the perspective view position the camera on how you want the shot. After that, we are going to save that view, so if we move in the perspective view we can always go back to that perpective we want for our shot.
Save your view with whatever name you want.

render4.png

Now we will make our lights. We will make 2 _ for our scene this time. When making this lights, you have to keep in mind that the size of the light, the distance from the object, and the multiplier will change your scene drastically. Here’s how I set up the 2 lights.

render5.png

We will change the color lights too. Go to Object Properties (F3), select one of your lights and click on Light in the Properties. Both light need to have No Decay unchecked. If you don’t do this, Vray won’t pay attention to where your light is. There you can change the color of the light, the intensity and stuff. In my scene, the big light has a multiplier of 4, and the little one a multiplier of 2 (that’s the intensity). For the colors, I have R:251 G:247 B:237 for the big one, and R:237 G:243 B:251 for the little one. Keep in mind that the multiplier will depend on how far is your light from the object and how big it is

render6.png

STEP 3 – Materials

Now the fun part. There are a couple of things you need to know about materials. We’ll have only reflective materials here so that’s what I’m going to explain

Each material has an Index Of Refraction (IOR) which could be find googling it. When that number is bigger, then the material will have more reflections. For a very reflective material you could apply an IOR of 16, while for a very unreflective material 1.4 for example.
The other value to keep in mind is the Reflection Glossiness. That will determine how sharp is your reflection. For a higher value you’ll get a more sharp reflection, and for a lower value you’ll get a more blurred reflection. These are some images from Vray Manual that you should download from their website

manual1.pngmanual2.pngmanual3.png

For the steel material, we’ll just import one. So import “steel_blurry.vismat” to the scene.

render7.png

Then select the objects you want the material into, and right click on steel_blurry and apply to object

render8.png

For the plastic, we’ll import one too but we’ll tweak it. Import “matte_plastic.vismat” and change it’s name for something you want. After applying to object and rendering, I found that it was too reflective, even if it said matte.
These are the settings I used, but you can make your own . Select that “matte_plastic” material or whatever you named it, and in the diffuse tab change it’s color. I used R:38 G:52 B:123 . I also changed the reflection. Next to Reflection there’s an M, click it and change the Fresnel IOR to whatever you think (i used 1.5). Remember, larger the number, more reflective it is. Also, change the Highligth Glossiness and the Reflection Glossiness to .65 to get more blurred reflections. These 2 values should be the same.

render9.pngrender10.png

Now Duplicate that material and we’ll make the black plastic.
Change the Diffuse color as you changed to blue to something near black. I used R:10 G:10 B:10 for mine, and change the Glossiness (both values) to 0.7

Duplicate that last material and we’ll use it for our button. Change Glossiness to 0.8

STEP 4 – Texturing

Now it’s time to texture the button. There are many ways of doing this, I’ll show you the one I think it’s best for this type of situation. While in the perspective view, orient your camera to the button’s surface.

render11.pngrender12.pngrender13.png

Print the screen so you can work with it in Illustrator, Photoshop or the program of you choice. Then open that image on that program. Make the circle and the line in black, and crop the image approximately to the edges of the purple button. Then make a white rectangle and position it below the circle and the line. Export this image as a .bmp. The reason why the image is black and white is because we are going to use this as a mask in Rhino.

render14.pngrender15.png

Back to rhino, select the button and apply to it the material we made before. In diffuse color, in transparency we need to load our texture image and make a new diffuse layer.

render16.png

To do this click the “M” besides transparency, put Bitmap as type and browse for the file. Click on Invert too because when we made our mask we did it the other way around, what’s black should have been white and what’s white should have been black. Or you can leave it this way and invert the Diffuse colors (you’ll see what I mean).
Add a Diffuse layer like on the image and use some the color you want the texture to be. I used a very bright gray, almost white.

Ok, now we need to position our texture. Select the button and slick F3 to see his properties. Click on texture mapping, show advanced UI, a put planar as the type of projection. Then click on show mapping.

render17.png

Rotate the mapping widget until you align it to the button. We are going to planar project on the mapping widget our texture for it to project it to the button.

render18.png

You can make also a material for the floor if you want to, i made an almost white diffuse color with no reflections in my scene.

STEP 5 – Rendering

Go to Named Views and look for that perspective we’ve saved in the begining of step 1 or save the one you are now so you can easily come back to the exact position.

Check the Treshold settings are low (0.01 or 0.005) and define the size you want in the Output tab.

Click Render and It’s done!

lamp2.png

Any questions or things you think should be changed, post them In the forum and I’ll look for it. I’m not a pro in this stuff so if you know a better way of doing things let me know

used 3 commands

, ,

19 Responses to “Rendering Desk Lamp in Vray”

  1. dunK says:

    nice tutorial. you make it all very simple to understand. More lighting and rendering tutorials please!

  2. Daftprod says:

    Where’s the light setting files? Can’t find the download

  3. technorama says:

    The tutorial was very easy to understand for beginners like myself, thank you very much! please do some more on lighting control and multiple layer materials

  4. jc1 says:

    Great tutorial. Please provide more…absolutely wonderful. For some reason, when I render, the resulting image is much darker than yours. I have tried several alternatives and cannot seem to get the rectangular lights to provide the same amount of illumination as yours. please help.
    THANK YOU.

  5. gery says:

    hmm, when you make the rectangular lights you need to know that their size and distance from the object will change the luminosity in your scene. Try making your light bigger and see the results. Also you can change the multiplier in the lights. Remember to UNCHECK the No Decay in the light properties, what that does is vray will take in count the distance between your lights and the object.

  6. Kriti says:

    this is just fabulous and so informative. Thanx a lot!!!!

  7. STU says:

    tried countless combos of the lights and settings and my renders are still dark grey. any chance of posting your file for DL to test out on my end?

  8. STU says:

    okay, i figured out that the light’s center line needs to be pointing in the direction you want the light to shine in.

  9. addict says:

    Cheers Gery. Thats a tutorial we need – easy to understand with some additional backround information how vray works. Can you maybe offer some more tutorials especially for interiors which is a pain in vfr. Would be great mate! Cheers

  10. angela says:

    u should write a book!!! u so good in explaining things….Nice work

  11. Her thanks for this tutorial ypu really helñped me a lot with the settings i wanted to achive =)

  12. Landon says:

    Is there an original file of this finished tutorial so some of us can break it down to see what exactly you did? Mine turn out looking very fuzzy and grainy. Mine don’t look even close to what you have done. It would be nice if this forum lets us attached a zip file so everyone can see what I did wrong.

  13. g.sahin says:

    Super!!! Thank you so much!! I had a great render and learned a lot. I m curious about exterior rendering with vray, I hope you ll add one tutorial about that:) vray is a bit confusing at the begining but you explained it very well. congratulations!

  14. Mick says:

    How do you make the resolution of the overall image ‘crisper’? Other than that, I thought the tutorial was great! ‘You’ have any more floatin’ around that ‘you’ have put out there? I like the way you work through this stuff….its easy to learn when you do it!

    Thanks!!!!

  15. Ivan says:

    If you are referring to the graininess on some of the materials, then all you need to do is go to Reflective layer of that material and increase Subdivs. But note that once you do it, your render time will increase proportionally. If you had 8, then changed to 16 render time will last twice as before.
    If you were referring to the image output dimensions (resolution) then you should go to vray options and under Output rollout you should change the image dimensions. And tick the Override viewport option

  16. Angus says:

    your tutorials are great man, this one especially helped me get over hours of frustration twidling vray settings to try and get decent renders, really usefull vray tutorial, cheers

  17. Zubin says:

    Great tutorial as usual. I’m getting pretty good at Rhino and Vray now. I have started making models all the time, of everything that I see around me. It’s a lot of fun and some of them are quite good. Thanks a lot for the tutorials.

  18. Zyo says:

    Thanks for the great tutorial. Yet is it possible for you to post the render finished file also?
    I want to compare if I’m doing it right…

Leave a Reply

You must be logged in to post a comment.