Grass with 3ds max and V-Ray for flat grounds

Olivie Charbonneau 2009-10-12 09:29 tutorial  > 3ds MAX  > modeling

Tutorial by Olivie Charbonneau

A lot of tutorials out there are talking about how to make grass with 3ds max and V-Ray. Some are very poor and some are absolutely crazy good (see link) with everything in between. There are different techniques to create realistic grass including using displacement modifier / map, modeling and instancing, using V-Ray proxies, etc... The deal here is to create grass on a flat ground, which is good looking (and visually not repetitive), and not too heavy in the viewport / renderer. All this with the minimum effort :) I tried a few techniques and figured out that for me (so maybe for you) the most efficient way is using Vray proxies. It's a very powerful feature of V-Ray (Mental Ray have it too): it's very memory (RAM) efficient and render time (CPU) efficient, which are major advantages when creating CG grass. Plus it's light in the viewport. So here is my simple and (in my sense) efficient work-flow:

1: Modeling:

First of all you have to model or buy a square of grass. I have personally chosen 'Puzzle 12 AM63' from Evermotion (see puzzel 12 AM63) which for 15€ is a good time saver and delivers good results.

2: Export V-Ray proxy:

You have to prepare this square of grass into a V-Ray proxy. Check the size, material, pivot point and whatever of your square of grass, because it will be the foundation of all the next steps. I re-sized the square of grass for it to be 1 meter by 1 meter. I centered the pivot point at the basis of the grass and then placed the grass in the middle of the scene (coordinates 0,0,0). Now you can fine tune and test your grass material. Then to create a V-Ray proxy (.vrmesh file) you select your object and right-click and then 'V-Ray mesh export'. No specific export option required here.

3: Import V-Ray proxy:

Reset 3ds max to have a fresh scene. To import your V-Ray proxy (.vrmesh file) go to 'Create' then 'Geometry' then 'VRay' then 'VRayProxy' then 'Browse' then find your .vrmesh file. Your grass model will be imported as a proxy into your scene. At this point you need to change the display option of your proxy into 'Bounding box' because it will be instanced hundred times and will kill your computer if you leave the default 'Preview from file' display option. You have imported the mesh but not it's material so you have to import the material separately. To do so, go to the Material Editor and then 'Get material' and then 'Mtl library' and then 'Open' and then choose 'File type = .max' and then find your .max file (the one with the grass model and it's material ; the one of the step 2). Drag and drop the material from the Material/Map Browser into an available spot in the Material Editor. Then apply this material to the V-Ray proxy in the scene. Now you have your grass proxy with it's material assigned, ready to be instanced in order to create a field of grass.

4: Array:

Now you just need to use the Array tool of 3ds max to multiply your square of grass to create a field of grass. Using the 'Top' view is recommended for this step. Here are my settings for the Array tool : X = 99cm. Type = Instance (very important!). Count 1D = 60. Dimensions = check '2D'. Count 2D = 60. Incremental row offset : Y = 99cm. You can preview your array ; you can also undo and retry if needed. Basically the aim here is to obtain a 60x60 repetition of your original square of grass. I used a distance of 99cm instead of 100cm so that the squares slightly overlap on their edges to have a better continuity between them.
[adv]reklama[/adv]

5: Chaos!

In order to avoid visual repetition of your repeated grass squares you have to rotate them randomly, by increments of 90°. I used the 'Random Select' MaxScript for this. Free download here : http://www.cgplusplus.com/maxscript-en/random-select.html To use the 'Random Select' MaxScript you just have to drag and drop the downloaded .mse file into your 3ds max viewport. The script will appear in a pop-up menu. For the following process I recommend to set the rotation snap to 45°, and you need to set the rotate tool on 'Use pivot point center' mode (very important!). Using the 'Top' view is recommended for the next steps. Now you are ready to create some chaos in your field of grass : Deselect all. Random Select script : % = 25 then hit 'Select', then with the 'Rotate' tool of 3ds max manually rotate these squares of 90° (or enter '90' in the proper transformation field at the bottom of the screen). Then hide this selection. Random Select script : % = 33 then hit 'Select' then with the 'Rotate' tool of 3ds max rotate these squares of 180°. Then hide this selection. Random Select script : % = 50 then hit 'Select' then with the 'Rotate' tool of 3ds max rotate these squares of 270°. Then unhide all. Now a quarter of the grass proxies are not turned (original orientation), a quarter are turned of 90°, a quarter are turned of 180°, and a quarter are turned of 270°. This is quite enough to break the visual repetition of the rendered grass. To add more variation into your grass squares you can select one line out of two and decay this selection of 50cm on the left or right. At this point you have a nice 60x60m field of grass.

6: Grouping:

Select all and create a group. You now have a field of grass ready to be merged into any 3ds max scene / project.

7: Merge and rearrange:

Open the 3ds max project you want to add some grass in. Go to 'File' then 'Merge' and select the .max file containing your 60x60m field of grass. Import the grass group. It comes with it's material. You probably now have to rearrange the grass squares in order to fit your scene.
In this example I rearranged the grass to fit a swimming-pool, two walk-paths and a house. You can rotate and overlap grass squares, it's working nicely and this way you can shape your grass as you need. The only thing to avoid is having an empty spot between two squares of grass.

8: Render: with or without Global Illumination, that is the question:

a) If you want to render the grass with Global Illumination it's much simpler to setup and much longer to render. In V-Ray you just have to enable GI, change the render settings as you please, and hit render! Lighting the grass with a VRaySun + VRaySky works good (see the renders on top of the page). b) If you want a fast render (without Global Illumination) you have to prepare a few things. Select the grass group, then right-click, then 'V-Ray properties', then uncheck 'Generate GI' and 'Receive GI'. This way you have GI enabled for the rest of your scene but not for the grass. In this case you may need an additional light to properly illuminate the grass. This light should be quite parallel to the camera and should 'Exclude' everything in the scene except the grass. If you have problems with the shadows in the grass creating dark / black areas (the self-shadows of the grass) you just have to disable the 'Cast shadow' for the grass group, in the 'Exclude' menu of your main light source (your VRaySun for example). Here we are! I hope you enjoyed this tutorial ;) http://olivoist-design.com

Author: Olivie Charbonneau
Tags: v-ray grass
You may also like...
Vray 1.5 tutorials.

Vray 1.5 tutorials.

Hello. I'm Tomasz Wyszolmirski, and I work in Evermotion as 3D artist. This time I would like to present you new features of Vray 1.5 with some advices, tips and tutorials. So lets start. Below you can choose section that interest you.
×

LEAVE A COMMENT

You need to be logged in to leave a comment. Don't have account? Register now.
dollmaker10:13:19  |  13-10-2009
There are no images added.. only 1 image for whole tutorial.. if you are posting a tutorial consider it from the point of view of nobbs like me. sorry but i did not get what you said.. would be easy with images.. dispointed with this one..
blackbeard10:44:39  |  13-10-2009
thanks for effort but please put screen shots, tutorials are useful with lots of images showing how to do it. Thanks..
olli11:24:56  |  13-10-2009
What part of the tutorial you guys dont understand? i think its pretty well written and its basicly the same setup you find in a lot of grass tutorials recently. No offense, but if you dont know how to create vray proxies or how to use the array tool then you might want to take a look at the manual again... Here ist by the way a very similar tutorial using almost the same technique, maybe it makes it easier for you guys to understand the whole process: http://www.peterguthrie.net/blog/2009/03/vray-grass-tutorial-part-1/ http://www.peterguthrie.net/blog/2009/04/vray-grass-tutorial-part-2/
200220:05:05  |  13-10-2009
Thanks alot. This was really a great help. And for those who didnt understand, try to check out other "easier" tutorials about the same subject. thanks again!
dollmaker01:22:32  |  14-10-2009
no hard feelings.. but text tutorials are always useless.They should always comes with images. Dude how do you expect new users to understand the process without images? Whatever you wrote may be easy to understand from your point of view... it does not mean every other person would understand it. I think they added your tutorial only because you advertised their product in your tutorial. have a look around... dig some tutorials and you will see how they are crafted..
dollmaker01:25:07  |  14-10-2009
the links you provided are useless too.. as they require to buy vray scatter... no hard feelings :)
hleandre03:17:18  |  14-10-2009
Thanks a lot, but add more images please!
olli12:13:40  |  14-10-2009
Well you have to understand the technique behind this, you dont really need the vray sctter plugin. Basicly you simply create some small grass patches and then you scatter them around. you can do this by using max own scatter function, you could download a scatter script from scriptspot.com or you could even use the forest pack lite edition or you use the advance painter like in the tutorial and simply paint your grass on your surface... so many possibilities... ;)
daja00:15:57  |  15-10-2009
Fuck this reading poste video tut Thanx Man
dollmaker04:47:54  |  15-10-2009
thanks for the info... is there a plugin which can create grass for max 2009? I tried displacement method from the other video tutorial from evermotin.... all though it looks ok but i am not happy with it.. it does not look realastic.. your grass look good but too bad it is only for flat ground.
olli13:33:14  |  16-10-2009
If you are looking for a one click solution then google up "autograss vray", but you have to spend some $$$ on it. You could also try the grass o matic plugin which you can get a maxplugins.de. The problem with all the free scatter tools is that they dont work on elevations. You have to scatter them manually at slopes or again you have to spend some $$$ for a tool like vray scatter or forrest pro. Those two dont have any problems with elevations. About creating realistic looking grass i suggest the method of peter guthrie. Create yourself 2-3 different patches of grass (they should have different heights) and assign a VRay2Sided Material to them and then scatter them around. To avoid that all grass blades are looking the same you could create a multi-sub material with 3-4 slightly different grass textures and use the MaterialByElement Modifier to randomly assign the textures to your grass patch. If you want to get real fancy you also model a patch of clover and a patch of flowers which you can also scatter around.
dollmaker05:09:35  |  17-10-2009
olli thanks a lot for info.. I would also like to aologize if you found my previous comments rude.. Thanks for adding screens to tutorial. They are helpful.
mlamrabet14:27:20  |  16-12-2009
thanx mate, that changed the whole concept of my work, thanx again
Sakhib13:30:17  |  05-01-2010
Thanks.....
nakulchauhan11:50:40  |  26-02-2010
Hi, I designed a similar kind of grass and works really efficient. It's based on the tutorial by Peter Guthrie. You can try it out yourself. Here's the link to it: http://www.turbosquid.com/FullPreview/Index.cfm/ID/503880?referral=nakulchauhan
eugene13200306:17:05  |  18-05-2010
think, that VrayScatter faster and better for grass
dan3dnghiepdu07:57:48  |  04-12-2010
thanks
mohd14308:07:56  |  27-10-2011
awesome dude...

+ ADD A COMMENT

  • ul. Przedzalniana 8, 15-688 Bialystok, POLAND
  • ph.: +48 85 674 50 05