PDA

View Full Version : Making a field of corn will hills



MidlandVideo
10-11-2013, 01:19 PM
Hi I did a project for a client last year that had a flat field of corn in it. I made it by making a row of corn and then using instantiating to populate the rest of the field.

Now I have almost the same project but the client wants hills with corn on them. I can't figure out how to have the row of corn wrap around an uneven surface. and till use instantiating.
thanks

nickdigital
10-11-2013, 01:33 PM
Your hill should be the instance generator. Can you post a screen grab of the problem?

MidlandVideo
10-11-2013, 02:12 PM
The problem is that the row of corn won't bend with the hills. Is there a way to keep the corn in rows and also make them conform to the ground? Here are some stills of the original field setup.
117608117606
thanks

lertola2
10-11-2013, 02:18 PM
I am not sure I understand the problem. You could make points in a row that conform to your hill and instance individual plants onto the points.

nickdigital
10-11-2013, 02:55 PM
Is your row of corn a single object? Instead of instancing a single row...you want to instance a single stalk of corn. That's what you want to do. You can then add random rotation and scale so your row doesn't look like a bunch of exact clones. You could also instance different versions of your single stalk to further add variation.

MidlandVideo
10-11-2013, 03:02 PM
Thanks for the ideas.

I think the instance to points is what I would be looking for. I will try it and see if I can get that to work.

Do you know of any good video demos that show the point how to do it?

nickdigital
10-11-2013, 04:56 PM
https://www.lightwave3d.com/learn/article/lightwave-115-instancing-tutorial/
https://www.lightwave3d.com/learn/article/lightwave-controlling-instances-with-weight-maps/
http://www.youtube.com/results?search_query=lightwave+instancing+tutorial&oq=lightwave+in&gs_l=youtube.3.2.0l3.755.3168.0.5433.12.10.0.2.2.0 .131.957.5j5.10.0...0.0...1ac.1.11.youtube.s5hB_xN GgfQ

Hieron
10-11-2013, 05:59 PM
If you want specific rows of corn and not worry about the vertices of the actual hill object or worry about intricate instance placement:

-From topview in modeler, make points at the location of your cornstalks. You probably just make 1 point, "Array" it into a specific line/grid with a certain distance.
-Extrude the points in this grid along the y-axis to form lines
-Boolean intersect these lines with the hill object itself

-> rows of specific, editable, points matching the hill.

-Apply instances to these points.

prometheus
10-13-2013, 01:26 PM
should be doable if you instance the corn objects, using surface mode in the instancer, and 100 % weigth, activate the "t" texture for the weight and you should be able to use any texture or procedural to distribute the instances
in rows, depending wich procedural you find that works best, this lets you place as many instances you want based on instances amount, and distribution based on type of procedural you choose, I cant recall exactly..but I think dpont has a good one
for setting up rows with procedurals.
the procedural texture mode, should be set to a alpha to work properly.

Michael

prometheus
10-13-2013, 01:54 PM
after a second check, yes you can place instances as I mentioned in a variaty of patterns based on textures and procedurals and even gradients, but even so, it is hard to get them placed exactly in row, for that usin points might be better..I wonder
if it could be possible to do that with textures though, and avoid the randomness that still is there when using texture distribution of instances, it would be great.

the weaves and pipes procedurals can be tweaked to arrange instances in rows sort of, but theres always a slight offset variance between instances anyway.

Sensei
10-13-2013, 03:12 PM
Now I have almost the same project but the client wants hills with corn on them. I can't figure out how to have the row of corn wrap around an uneven surface. and till use instantiating.
thanks

TrueArt's Modeling Pack
http://modelingpack.trueart.eu
has interactive tool Push,
which can project geometry onto another geometry in background layer.
So you would need to make box with 10x1x10 cells, then remove polygons (leave points).
Project them to curved surface using Push.
And use points as instance source.
X and Z will be equal in distances, and Y will be nicely projected to curved ground.

Skonk
10-14-2013, 06:12 AM
He could also use the Heatshrink tool that comes free with lightwave.

MidlandVideo
10-14-2013, 08:39 AM
Thanks for all your help.

What I did was make a ground plane then copy it and kill the Pollys and removed ever other row of points. It seams to work somewhat.

I am getting some of the corn floating in the air. The ground plane and the points used for the instancing are at the same y height. So any ideas why the instances on the high points would be to higher?
117646
thanks

Surrealist.
10-14-2013, 09:33 AM
Just an idea. Does instancing to points work with morph targets or deformation such as bones or displacement? If it does you could start with a flat plane of points and deform it in Layout.

XswampyX
10-15-2013, 03:49 PM
http://i465.photobucket.com/albums/rr16/xXswampyXx/CornField_Instanced_zpsc8034865.jpg (http://s465.photobucket.com/user/xXswampyXx/media/CornField_Instanced_zpsc8034865.jpg.html)

You could try a gradient set by the x value then use step to get clear lines, and then set to repeat.