Animation of this grass was provided in the form of a simple sine wave that takes in different frequencies based on the x and z coordinates of the patch. Also, the color changed slightly as the grass swayed from one direction to the other.The instancing method places the patches in a way to display the grass in the field of view while concealing the rest of the scene that is not in the field of view.
Using trigonometry is simple and elegant. The terrain contour was determined by the x and y coordinates. This is advantageous in that it is incredibly fast and smooth but it is deterministic.
No comments:
Post a Comment