|
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. |
|
| |
-----------------------------------------------------
- Go
to the "file/reset" and answer
yes.
-
Press the front window, and then
"Min/Max Toggle"
-
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".
-
Now press "Zoom extents", and
then you should have a
silhouette of a straw, seen from
the front
-
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..."
-
Now select and rename your straw
to "Straw01".
-
Now press "hierarchy/affect
pivot only" and then right click
on the "select and move" buttom.
-
Under Absolute:world, you type
0,0,0 and hit enter, then close
the small window.
-
Press the "hierarchy/affect
pivot only" again, so its not
activated any more.
-
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
-
Now press "Zoom extents", and
then you should have four
silhouettes of a straws, seen
from the front
-
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"
-
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
-
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.
-
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".
-
Now go to the "material editor"
-
And make four materials with the
names "Mat-Straw01",
"Mat-Straw02", "Mat-Straw03",
"Mat-Straw04", give Mat-Straw01
-
"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".
-
"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".
-
"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".
-
"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".
-
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"
- Do
the same for the rest of the
objects, just give them the
material corresponding to their
name.
-
Now close the material editor.
-
Now press the key "t" and the
view is changed to top-view.
-
Press "create/geometry/box" and
under "keyboard entry" type in
the following: X=-200, Y=200,
Z=0, Lenght=400, Width=400,
Heigt=1.
-
When the box is selected, rename
it to "Ground"
-
now select "Straw01"
-
press "create/geometry/compound
objects/scatter" and press "pick
distribution object" and select
the ground.
-
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".
-
Under "load/save Presets", type
in grass under "Preset name",
and then prees save.
-
Now select "Straw02" (try to
press the key "h")
-
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.
-
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.
-
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.
-
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.
-
Now we have to set up a camera.
press "create/cameras/target"
and then click and drag it at
random place in the viewport.
-
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.
-
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.
-
Then close the small window.
-
With the "camera01" selected go
to the "Modify" menu, and enter
type 30 in the "lens" box
-
Press the key "c" to see through
the camera.
- 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.
-
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.
- 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.
-
Now!! try to hit "render".
|
|
| |
|
-----------------------------------------------------
Glossary
|
Array |
|
 |
|
Cameras |
|
 |
|
Compound objects |
|
 |
|
Create |
|
 |
|
Geometry |
|
 |
|
Hierarchy |
|
 |
|
Lights |
|
 |
|
Material editor |
|
 |
|
Min/Max Toggle |
|
 |
|
Modify |
|
 |
|
Render |
|
 |
|
Select and move |
|
 |
|
Shapes |
|
 |
|
Zoom extents |
|
 |
|
|
| |
|
-----------------------------------------------------
Now when you
are done, and hopefully got a good
result, you can modify the
settings yourself, soo it will
meet your specific demands, this
tutorial is made on a single box,
but if you want to have more
details in your scene, it might be
necessary to add more objects to
duplicate the straws on. In my
Football scene as you can see in
my gallery, their is 3 duplication
objects, one box for the front, a
box for chalk line, and a box for
the background, for the scene you
can see below, it could be a good
idea to divide the box in two,
because you don't need that many
straws in the background, and
because of this you wouldn't get
soo many faces.
This
type of grass is limited to be
viewed as you where just above the
grass, if you for example need to
see the grass from the top, you
will need alot more straws, and
faces.
If you manage
to make some nice scenes from this
tutorial, please mail me some
images, because I would like see
if people actually can use this
for anything, and if you gave me
some respons, their would be a
greater chance to see more
tutorials from me.
This
tutorial is written by:
Thomas Suurland |
http://www.suurland.com/ |
thomas@suurland.com
|
|
| |
|
If you have
managed to follow the tutorial
correct, you should get a image
similar to this one! |
|
|
 |
|
|