Total Pageviews

Thursday, March 3, 2011

Grass realestic in max


GRASS MATERIAL

 
 
 
For this grass tutorial I assume you have a general knowledge of
3D Studio MAX.
In the bottom of the tutorial their is a glossary, where the buttons mentioned in the tutorial, is listed in alphabetic order.
"This tutorial is working with 3dsmax R2 and greater"
Please notice that this is a relative heavy tutorial, when you are finish, you will have a 
scene with about 520.000 faces.
 
 
-----------------------------------------------------
  1. Go to the "file/reset" and answer yes.
  2. Press the front window, and then "Min/Max Toggle"
  3. under "create/shapes/line", uncheck "optimize", set "steps" to 4, go to "keyboard entry" and under that menu, add points, in these coordinates: -3,0,0 and 3,0,0 and 0,200,0, when you have done that, press "close".
  4. Now press "Zoom extents", and then you should have a silhouette of a straw, seen from the front
  5. Now press "modify/edit mesh", You might have to press "more" under "modify", now you should have the straw with 13 faces. You can check that under "file/summary info..."
  6. Now select and rename your straw to "Straw01".
  7. Now press "hierarchy/affect pivot only" and then right click on the "select and move" buttom.
  8. Under Absolute:world, you type 0,0,0 and hit enter, then close the small window.
  9. Press the "hierarchy/affect pivot only" again, so its not activated any more.
  10. while you have your straw selected, press "array", set the array to move your object 200 units along the x axis, and set the array dimensions, to 1D and a count of 4
  11. Now press "Zoom extents", and then you should have four silhouettes of a straws, seen from the front
  12. Now select "Straw01" and add a "bend modifier". and set the bend angle to 20, the bend direction to 90, and the bend axis to "y"
  13. Now select "Straw02" add a "bend modifier". and set the bend angle to 40, the bend direction to 90, the bend axis to "y", check the "Limit effect", and set the "upper limit" to 150
  14. Now select "Straw03" add a "bend modifier". and set the bend angle to 70, the bend direction to 90, the bend axis to "y", check the "Limit effect", and set the "upper limit" to 150.
  15. Now select "Straw04" add a "bend modifier". and set the bend angle to 130, the bend direction to 90, and the bend axis to "y".
  16. Now go to the "material editor"
  17. And make four materials with the names "Mat-Straw01", "Mat-Straw02", "Mat-Straw03", "Mat-Straw04", give Mat-Straw01
  18. "Mat-Straw01" should have the RGB color value 50,130,50 in the diffuse setting, just press the color box right to the text "diffuse". Set "shininess" to 50 and the "shin. strengt" to 85, and check "2-sided".
  19. "Mat-Straw02" should have the RGB color value 110,150,0 in the diffuse setting. Set "shininess" to 50 and the "shin. strengt" to 85, and check "2-sided".
  20. "Mat-Straw03" should have the RGB color value 60,110,40 in the diffuse setting. Set "shininess" to 50 and the "shin. strengt" to 85, and check "2-sided".
  21. "Mat-Straw04" should have the RGB color value 70,140,70 in the diffuse setting. Set "shininess" to 50 and the "shin. strengt" to 85, and check "2-sided".
  22. Now select the object "Straw01" you could do this by pressing the key "h". In the material editor select the material called "Mat-Straw01" press "assign material to selection"
  23. Do the same for the rest of the objects, just give them the material corresponding to their name.
  24. Now close the material editor.
  25. Now press the key "t" and the view is changed to top-view.
  26. Press "create/geometry/box" and under "keyboard entry" type in the following: X=-200, Y=200, Z=0, Lenght=400, Width=400, Heigt=1.
  27. When the box is selected, rename it to "Ground"
  28. now select "Straw01"
  29. press "create/geometry/compound objects/scatter" and press "pick distribution object" and select the ground.
  30. Now set the following settings for scatter: Dublicates=10000, Base scale=10, Uncheck perpendicular, Distribution using=area, Rotation X=10, Y=360, Z=10. Scaling X=20, Y=20, Z=20 Under display options, check the "proxy" and set display to 10. And check the "hide distribution object".
  31. Under "load/save Presets", type in grass under "Preset name", and then prees save.
  32. Now select "Straw02" (try to press the key "h")
  33. when "Straw02" is selected press "create/geometry/compound objects/scatter" and press "pick distribution object" and select the ground. now go down to "load/save Presets" and select grass, and hit load. Then under "uniqueness/seed" type in 12346.
  34. now repeat this for "Straw03" and "Straw04" with the only exception that "Straw03" should have "uniqueness/seed" 12347. And "Straw04"should have the number 12348.
  35. Select the object, "ground" and right click on the "select and move" buttom. and type this in: -200,200,-7 and hit enter. And close the window.
  36. Now its time to open the material editor again. While the object, ground, is selected. Give it the material called"Mat-Straw01". After you have done this close the material editor again.
  37. Now we have to set up a camera. press "create/cameras/target" and then click and drag it at random place in the viewport.
  38. Now press the key "h" and select "camera01.target" and then right click on the "select and move" buttom. and type this in: -200,200,0 and hit enter.
  39. Then  press the key "h" again and select "camera01" and then right click on the "select and move" buttom. and type this in: -200,6,19 and hit enter.
  40. Then close the small window.
  41. With the "camera01" selected go to the "Modify" menu, and enter type 30 in the "lens" box
  42. Press the key "c" to see through the camera.
  43. We also need some light. press "create/lights/omni" and place it in the lower half of the viewpoint. With the omnilight selected right click on the "select and move" buttom. and type this in: 66,-140,150 and hit enter. And close the window.
  44. Press "modify" and now on the right side of the scene, you should see all the settings for the omni, go to the bottom, and find "shadow parameters" and check the "cast shadow", and change the "size" from 256 to 1024.
  45. To get this thing lit up, we need a one more light, press again "create/lights/omni" and place it in the lower half of the viewpoint. With the omnilight selected right click on the "select and move" buttom. and type this in: -220,17,7 and hit enter. And close the window.
  46. Now!! try to hit "render".

No comments:

Post a Comment